home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
zfamily.zip
/
zfamily
/
ZHPFUNCS
/
DEVEL
/
ZHPCLONE.MAK
next >
Wrap
Text File
|
1993-09-01
|
3KB
|
74 lines
#
# /----------------------------------------------------------------------\
# | IBM Z Family Reusable Libraries/2 (5641-504) |
# |----------------------------------------------------------------------|
# | (C) Copyright International Business Machines Corporation 1993, 1994 |
# |----------------------------------------------------------------------|
# | DISCLAIMER OF WARRANTIES |
# | ------------------------ |
# | The following code is sample code created by IBM Corporation. |
# | Such a code is provided to you solely for the purpose of assisting |
# | you in the development of your applications. The code is provided |
# | "AS IS", without warranty of any kind. IBM shall not be liable for |
# | any damages arising out of your use of the following code, even if |
# | they have been advised of the possibility of such damages. | *
# \----------------------------------------------------------------------/
#
# Module : ZHPCLONE.MAK
# Author : Luca Miccoli (MICCOLI at ROMEPPC)
# Reviewer : Dario de Judicibus (DEJUDICI at ROMEPPC)
# Created : 06 Apr 1993
# Reviewed : 27 Aug 1993
# Version : 2.12
# Content : Make File for Z Family/2 Clones
#
# ------------------------------------------------------------------------------
#
# NOTE : This is a SAMPLE makefile. You may need to modify it to satisfy your
# specific needs. You may also want to include it in a larger MAKE file
# which is used to generate your application. In any case, read carefully
# the comments below and the "User's Guide", to understand what you can
# change, and what should be used as is.
# ------------------------------------------------------------------------------
#
# User provided name of the .DLL (to be filled)
#
USRNAME = ________
STBNAME = zhpstub
INTNAME = zhpfuncs
#
# Do not change OPTIONS unless really needed. They SHOULD match the original ones.
#
OPTIONS = /Ge- /Kb /Gd- /Gm+ /Ss /Ms /I.\ /Tx+
LINKOPT = /NOI
#
# MAKE file generates a DLL and the corresponding IMPORT library having the
# name specified as USRNAME above.
#
all: $(USRNAME).dll $(USRNAME).lib
#
# STUB should be compiled by using the same options used for Z Family/2 DLL
#
$(STBNAME).obj: $(STBNAME).c
icc /C+ $(OPTIONS) $(STBNAME).c
#
# Use STUB and Z Family/2 OBJECT library to generate the User's Cloned DLL
# Use $(INTNAME).def to make your $(USRNAME).def, changing the name after
# LIBRARY (first instruction of the definition file).
#
$(USRNAME).dll: $(STBNAME).obj $(INTNAME).lib $(USRNAME).def
link386 $(LINKOPT) $(STBNAME).obj,$(USRNAME).dll,,$(INTNAME).lib,$(USRNAME).def ;
#
# Use the User's Cloned DLL to generate the corresponding IMPORT library
#
$(USRNAME).lib: $(USRNAME).dll $(USRNAME).def
implib $(USRNAME).lib $(USRNAME).def