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

  1. :template
  2. # @(#) somc/gen_mk32.efc 2.6 6/17/96 10:32:02 [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.  
  18. # Makefile for: emit<classSourceFileStem>    [<timeStamp>]
  19. # Author: SOMObjects Emitter Framework
  20.  
  21. # We set SOMBASE to \\som by default, if your installation is
  22. # different and som has been installed elsewhere, then change the SOMBASE
  23. # variable.
  24. # SOMBASE     = \\som
  25. # To ensure that all other Makefiles generated by the newemit program have
  26. # this information then alter the template file in 
  27. # $(SOMBASE)\\include\\gen_mk32.efw to reflect this difference.
  28. DLLDEST     = $(SOMBASE)\\lib
  29. EFWDEST     = $(SOMBASE)\\include
  30. INCLUDEPATH = -I$(SOMBASE)\\include
  31. LIBDIRPATH  = $(SOMBASE)\\lib
  32.  
  33. SRCS        = emit<classSourceFileStem>.c <classSourceFileStem>.c <classSourceFileStem>.efw <classSourceFileStem>.idl
  34. OBJS        = emit<classSourceFileStem>.obj <classSourceFileStem>.obj
  35. TARGET      = emit<classSourceFileStem>.dll
  36. CLEANFILES  = <classSourceFileStem>.h
  37.  
  38. SCFLAGS     = -D__PRIVATE__ -sh;ih -m noaddstar
  39. CC        = icc
  40. CFLAGS        = -I. -Q+ -W3 -D_OS2 -D__MIG_LIB__
  41. LINKER      = $(LINK)
  42. LDFLAGS     = /packd /packc /exepack /align:4 /noi /m $(LDEBUG) /nol /PM:VIO 
  43. LIBLIST     = $(LIBDIRPATH)\\somtk os2386 
  44.  
  45. .SUFFIXES: .c .idl .ih .obj
  46.  
  47. .c.obj:
  48.     $(CC) -I. $(INCLUDEPATH) $(CFLAGS) -Ge- -c $\<
  49.  
  50. .idl.ih:
  51.     cmd /c "sc $(SCFLAGS) $*.idl"
  52.  
  53. $(TARGET): $(OBJS)
  54.     $(LINKER) $(LDFLAGS) $(OBJS), \\
  55.     $*.dll, $* /m, $(LIBLIST), $*.def
  56.  
  57. clean:
  58.     -del *.obj *.dll *.map *.ih $(CLEANFILES)
  59.  
  60. emit<classSourceFileStem>.obj: emit<classSourceFileStem>.c <classSourceFileStem>.ih
  61.  
  62. <classSourceFileStem>.obj: <classSourceFileStem>.c <classSourceFileStem>.ih
  63.  
  64. <classSourceFileStem>.ih: <classSourceFileStem>.idl
  65.  
  66.