home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / gen_mw32.efw < prev    next >
Encoding:
Text File  |  1996-01-24  |  2.0 KB  |  64 lines

  1. :template
  2. # %Z% %I% %W% %G% %U% [%H% %T%]
  3.  
  4. #
  5. # COMPONENT_NAME: some
  6. #
  7. # ORIGINS: 27
  8. #
  9. #
  10. # 10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  11. # All Rights Reserved
  12. # Licensed Materials - Property of IBM
  13. # US Government Users Restricted Rights - Use, duplication or
  14. # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  15. #
  16.  
  17. # Makefile for: emit<classSourceFileStem>    [<timeStamp>]
  18. # Author: SOMObjects Emitter Framework
  19.  
  20. # We set SOMBASE to \\som by default, if your installation is
  21. # different and som has been installed elsewhere, then change the SOMBASE
  22. # variable.
  23. # SOMBASE     = \\som
  24. # To ensure that all other Makefiles generated by the newemit program have
  25. # this information then alter the template file in 
  26. # $(SOMBASE)\\include\\gen_mk32.efw to reflect this difference.
  27. DLLDEST     = $(SOMBASE)\\bin
  28. EFWDEST     = $(SOMBASE)\\include
  29. INCLUDEPATH = -I$(SOMBASE)\\include
  30. LIBPATH     = $(SOMBASE)\\lib
  31.  
  32. SRCS        = emit<classSourceFileStem>.c <classSourceFileStem>.c <classSourceFileStem>.efw <classSourceFileStem>.idl
  33. OBJS        = emit<classSourceFileStem>.obj <classSourceFileStem>.obj
  34. TARGET      = emit<classSourceFileStem>.dll
  35. CLEANFILES  = <classSourceFileStem>.h
  36.  
  37. SCFLAGS     = -p -sh;ih -m addstar
  38. CC          = cl
  39. CFLAGS      = /D_WIN32 /DWIN32 /D_MT /D_DLL /Od /G4 /Gs /Zp /Zi /c /H128
  40. LINKER      = link
  41. LDFLAGS     = /NOD /INCREMENTAL:NO /MACHINE:IX86
  42. LIBLIST     = $(LIBPATH)\\somtk.lib msvcrt.lib kernel32.lib
  43.  
  44. .SUFFIXES: .c .idl .ih .obj
  45.  
  46. .c.obj:
  47.     $(CC) -I. $(INCLUDEPATH) $(CFLAGS) $\<
  48.  
  49. .idl.ih:
  50.     sc $(SCFLAGS) $*.idl
  51.  
  52. $(TARGET): $(OBJS)
  53.     $(LINKER) $(LDFLAGS) /dll /DEF:$*.def /OUT:$(TARGET) $(OBJS) $(LIBLIST)
  54.  
  55. clean:
  56.     -del *.obj *.dll *.map *.ih $(CLEANFILES)
  57.  
  58. emit<classSourceFileStem>.obj: emit<classSourceFileStem>.c <classSourceFileStem>.ih
  59.  
  60. <classSourceFileStem>.obj: <classSourceFileStem>.c <classSourceFileStem>.ih
  61.  
  62. <classSourceFileStem>.ih: <classSourceFileStem>.idl
  63.  
  64.