home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / MISC / SQDEV200.ZIP / SRC / MAKEFILE < prev    next >
Text File  |  1994-05-23  |  5KB  |  171 lines

  1. #########################################################################
  2. # Memory Model
  3. #########################################################################
  4.  
  5. # This defines the memory model used for the 16-bit DOS versions of the
  6. # MsgAPI.
  7.  
  8. # If you are using Microsoft C, this should be either
  9. # "S", "M", "C" or "L", for the small, medium, compact, or large
  10. # memory models, respectively.  Note that the model character
  11. # must be uppercase when compiling with a Microsoft compiler.
  12. #
  13. # If you are using any other compiler, this should be either
  14. # "s", "m", "c" or "l", again for the small, medium, compact
  15. # or large memory models.  Note that the model character must
  16. # be lowercase when using a non-Microsoft compiler.
  17.  
  18. MODEL = l
  19.  
  20. #########################################################################
  21. # OS/2 Compilers
  22. #########################################################################
  23.  
  24. #
  25. # OS/2 - WATCOM C/16
  26. #
  27.  
  28. CC              = wcc /dOS_2 /2 /j/zp1/oaxte100/zu/r/bd/ml/zq/w4/zp1/I=..\h
  29. ASC             = masm /t /Mx /Zi /dOS_2
  30. LD              = wlink @msgapi16
  31. LIB             = wlib msgapi16.lib -+msgapi.dll
  32. OBJTARGET       = msgapi.dll
  33. FINALTARGET     = msgapi16.lib
  34. COMPOBJ         = wc_misc.obj
  35.  
  36. #
  37. # OS/2 - WATCOM C/32
  38. #
  39. #
  40. #CC             = wcc386 /dOS_2 /j/zp1/4/fp3/onmaxte100/bd/mf/zq/w4/zp1/I=..\h
  41. #ASC            = masm /t /Mx /Zi /dOS_2 /d__FLAT__
  42. #LD             = wlink @msgapi32
  43. #LIB            = wlib msgapi32.lib -+msgapi32.dll
  44. #OBJTARGET      = msgapi32.dll
  45. #FINALTARGET    = msgapi32.lib
  46. #COMPOBJ        = w3_misc.obj
  47.  
  48. #
  49. # OS/2 - Microsft C
  50. #
  51. #
  52. #CC              = cl /nologo /DOS_2 /c /Oaxzr /W4 /Gs /Gr /Zi /ML /AL /I..\h
  53. #ASC             = masm /t /Mx /Zi /dOS_2
  54. #LD              = link @link.lst,msgapi.dll,nul,,msgapi.def
  55. #LIB             = implib msgapi.lib msgapi.dll
  56. #OBJTARGET       = msgapi.dll
  57. #FINALTARGET     = msgapi16.lib
  58. #COMPOBJ         = mc_misc.obj
  59.  
  60.  
  61. #########################################################################
  62. # DOS Compilers
  63. #########################################################################
  64.  
  65. #
  66. # DOS - Microsoft C
  67. #
  68. #
  69. #CC              = cl /nologo /c /Oaxzr /W4 /Gs /Gr /Zi /A$(MODEL) /I..\h
  70. #ASC             = masm /t /Mx /Zi
  71. #LD              = lib msgapi.lib -+mc_misc @liball.lst
  72. #LIB             = asdf
  73. #OBJTARGET       = msgapi.lib
  74. #FINALTARGET     = msgapi.lib
  75. #COMPOBJ         = mc_misc.obj
  76.  
  77.  
  78. #
  79. # DOS - WATCOM C/16
  80. #
  81. #
  82. #CC             = wcc /oals/s/j/zp1/m$(MODEL)/zq/w4/zp1/I=..\h
  83. #ASC            = masm /t /Mx /Zi
  84. #LD             = wlib msgapi.lib @lib1.lst @lib2.lst @lib3.lst @lib4.lst @lib5.lst @lib6.lst @lib7.lst -+wc_misc
  85. #LIB            = asdf
  86. #OBJTARGET      = msgapi.lib
  87. #FINALTARGET    = msgapi.lib
  88. #COMPOBJ        = wc_misc.obj
  89.  
  90.  
  91. #
  92. # DOS - WATCOM C/32
  93. #
  94. #
  95. #CC             = wcc386 /j/zp1/4/fp3/onmaxte100/mf/zq/w4/zp1/I=..\h
  96. #ASC            = masm /t /Mx /Zi /d__FLAT__
  97. #LD             = wlib msgapi.lib @lib1.lst @lib2.lst @lib3.lst @lib4.lst @lib5.lst @lib6.lst @lib7.lst -+w3_misc
  98. #LIB            = asdf
  99. #OBJTARGET      = msgapi.lib
  100. #FINALTARGET    = msgapi.lib
  101. #COMPOBJ        = w3_misc.obj
  102.  
  103. #
  104. # DOS - Turbo C
  105. #
  106. #CC             = tcc -c -d- -G- -p -v -I..\h -m$(MODEL)
  107. #ASC            = tasm /t /Mx /Zi
  108. #LD             = tlib msgapi.lib @lib1.lst @lib2.lst @lib3.lst @lib4.lst @lib5.lst @lib6.lst @lib7.lst -+tc_misc
  109. #LIB            = asdf
  110. #OBJTARGET      = msgapi.lib
  111. #FINALTARGET    = msgapi.lib
  112. #COMPOBJ        = tc_misc.obj
  113.  
  114. #
  115. # DOS - Borland C
  116. #
  117. #CC             = bcc -c -d- -G- -p -v -I..\h -m$(MODEL)
  118. #ASC            = tasm /t /Mx /Zi
  119. #LD             = tlib msgapi.lib @lib1.lst @lib2.lst @lib3.lst @lib4.lst @lib5.lst @lib6.lst @lib7.lst -+bc_misc
  120. #LIB            = asdf
  121. #OBJTARGET      = msgapi.lib
  122. #FINALTARGET    = msgapi.lib
  123. #COMPOBJ        = bc_misc.obj
  124.  
  125.  
  126. #########################################################################
  127. # Object files in the MsgAPI build
  128. #########################################################################
  129.  
  130. OBJS =  api_sdm.obj     bld.obj         msgapi.obj      sq_area.obj     \
  131.         sq_help.obj     sq_idx.obj      sq_kill.obj     sq_lock.obj     \
  132.         sq_misc.obj     sq_msg.obj      sq_read.obj     sq_uid.obj      \
  133.         sq_write.obj    sqasm.obj
  134.  
  135. SLIB =  1stchar.obj     cvtdate.obj     date2bin.obj    dosdate.obj     \
  136.         fexist.obj      ffind.obj       flush.obj       months.obj      \
  137.         parsenn.obj     qksort.obj      stristr.obj     strocpy.obj     \
  138.         trail.obj       _ctype.obj      nopen.obj       setfsize.obj    \
  139.         tdelay.obj      strftim.obj     months.obj      ffinda.obj      \
  140.         weekday.obj     share.obj       $(COMPOBJ)
  141.  
  142. #########################################################################
  143. # Make commands
  144. #########################################################################
  145.  
  146.  
  147. all: $(FINALTARGET)
  148.         -echo Done >all
  149.  
  150. $(OBJTARGET):   $(OBJS) $(SLIB)
  151.         $(LD)
  152.  
  153. msgapi16.lib: msgapi.dll
  154.         $(LIB)
  155.  
  156. msgapi32.lib: msgapi32.dll
  157.         $(LIB)
  158.  
  159. .c.obj:
  160.         $(CC) $<
  161.  
  162. .asm.obj:
  163.         $(ASC) $<;
  164.  
  165. clean:
  166.         -del *.obj
  167.         -del *.lib
  168.         -del *.dll
  169.         -del *.map
  170.  
  171.