home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / som30tk.zip / som30os2.zip / include / gen_mk32.efs < prev    next >
Text File  |  1996-12-24  |  2KB  |  65 lines

  1. :template
  2. # @(#) somc/gen_mk32.efs 2.6 6/17/96 10:32:03 [12/24/96 07:39:07]
  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)\\lib
  28. EFWDEST     = $(SOMBASE)\\include
  29. INCLUDEPATH = -I$(SOMBASE)\\include
  30. LIBDIRPATH  = $(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     = -D__PRIVATE__ -sh;ih -m addstar
  38. CC        = icc
  39. CFLAGS        = -I. -Q+ -W3 -D_OS2 -D__MIG_LIB__
  40. LINKER      = $(LINK)
  41. LDFLAGS     = /packd /packc /exepack /align:4 /noi /m $(LDEBUG) /nol /PM:VIO 
  42. LIBLIST     = $(LIBDIRPATH)\\somtk os2386 
  43.  
  44. .SUFFIXES: .c .idl .ih .obj
  45.  
  46. .c.obj:
  47.     $(CC) -I. $(INCLUDEPATH) $(CFLAGS) -Ge- -c $\<
  48.  
  49. .idl.ih:
  50.     cmd /c "sc $(SCFLAGS) $*.idl"
  51.  
  52. $(TARGET): $(OBJS)
  53.     $(LINKER) $(LDFLAGS) $(OBJS), \\
  54.     $*.dll, $* /m, $(LIBLIST), $*.def
  55.  
  56. clean:
  57.     -del *.obj *.dll *.map *.ih $(CLEANFILES)
  58.  
  59. emit<classSourceFileStem>.obj: emit<classSourceFileStem>.c <classSourceFileStem>.ih
  60.  
  61. <classSourceFileStem>.obj: <classSourceFileStem>.c <classSourceFileStem>.ih
  62.  
  63. <classSourceFileStem>.ih: <classSourceFileStem>.idl
  64.  
  65.