home *** CD-ROM | disk | FTP | other *** search
- :template
- # %Z% %I% %W% %G% %U% [%H% %T%]
-
- #
- # COMPONENT_NAME: some
- #
- # ORIGINS: 27
- #
- #
- # 10H9767, 10H9769 (C) COPYRIGHT International Business Machines Corp. 1992,1994
- # All Rights Reserved
- # Licensed Materials - Property of IBM
- # US Government Users Restricted Rights - Use, duplication or
- # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- #
-
- # Makefile for: emit<classSourceFileStem> [<timeStamp>]
- # Author: SOMObjects Emitter Framework
-
- # We set SOMBASE to \\som by default, if your installation is
- # different and som has been installed elsewhere, then change the SOMBASE
- # variable.
- # SOMBASE = \\som
- # To ensure that all other Makefiles generated by the newemit program have
- # this information then alter the template file in
- # $(SOMBASE)\\include\\gen_mk32.efw to reflect this difference.
- DLLDEST = $(SOMBASE)\\bin
- EFWDEST = $(SOMBASE)\\include
- INCLUDEPATH = -I$(SOMBASE)\\include
- LIBPATH = $(SOMBASE)\\lib
-
- SRCS = emit<classSourceFileStem>.c <classSourceFileStem>.c <classSourceFileStem>.efw <classSourceFileStem>.idl
- OBJS = emit<classSourceFileStem>.obj <classSourceFileStem>.obj
- TARGET = emit<classSourceFileStem>.dll
- CLEANFILES = <classSourceFileStem>.h
-
- SCFLAGS = -p -sh;ih -m addstar
- CC = cl
- CFLAGS = /D_WIN32 /DWIN32 /D_MT /D_DLL /Od /G4 /Gs /Zp /Zi /c /H128
- LINKER = link
- LDFLAGS = /NOD /INCREMENTAL:NO /MACHINE:IX86
- LIBLIST = $(LIBPATH)\\somtk.lib msvcrt.lib kernel32.lib
-
- .SUFFIXES: .c .idl .ih .obj
-
- .c.obj:
- $(CC) -I. $(INCLUDEPATH) $(CFLAGS) $\<
-
- .idl.ih:
- sc $(SCFLAGS) $*.idl
-
- $(TARGET): $(OBJS)
- $(LINKER) $(LDFLAGS) /dll /DEF:$*.def /OUT:$(TARGET) $(OBJS) $(LIBLIST)
-
- clean:
- -del *.obj *.dll *.map *.ih $(CLEANFILES)
-
- emit<classSourceFileStem>.obj: emit<classSourceFileStem>.c <classSourceFileStem>.ih
-
- <classSourceFileStem>.obj: <classSourceFileStem>.c <classSourceFileStem>.ih
-
- <classSourceFileStem>.ih: <classSourceFileStem>.idl
-
-