home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / dax1.exe / DAP / DAPA / DOS / MAKEFILE
Text File  |  1992-07-15  |  1KB  |  50 lines

  1. #
  2. # Program:  DapApi.LIB
  3. #           This makefile rebuilds the DapApi Library
  4. #
  5. # Created:  Tue Feb 25 08:22:28 1992
  6. #
  7. # MAKEINIT defines many of the macros used herein
  8. # The following macros can be set via your environment:
  9. #   CCFDOS : Set compile options
  10. #   MMODEL : Set memory model 'smclh'
  11. #   QMKVER : Set to 'd' or 'p' to define VERSION
  12. #   SILENT : If defined, .SILENT will be set
  13.  
  14. !ifndef %dcdir
  15. dcdir = e:\nlm\dc
  16. !else
  17. dcdir = $(%dcdir)
  18. !endif
  19.  
  20.  
  21. srcdir=$(dcdir)\dap
  22. objdir=$(dcdir)\dap\dapa\dos
  23.  
  24. libmgr=$(librarian)
  25. libswi=/l
  26. concha=              # don't need this for DOS, just leave empty.
  27.  
  28. debug = /dDEBUG      # use /dDEBUG to define DEBUG for C Preprocessor
  29.  
  30. !ifndef %ccfdos
  31. d_wccopt = /m$(model) /w4 /e99 /zp1 /d2 $(debug)
  32. p_wccopt = /m$(model) /w4 /s /zp1 /oax
  33. x_wccopt = $($(version)_wccopt) /dDOSCLIENT
  34. !else
  35. x_wccopt = $(%ccfdos) /dDOSCLIENT
  36. !endif
  37.  
  38. compiler_cmd = $(wcc) $(x_wccopt) $[*.c
  39.  
  40. .BEFORE
  41.     echo $(build_msg)
  42.     set include=$(dcdir);$(inc_dir)
  43.     set lib=$(lib_dir)
  44.     set wcg=$(code_gen)
  45.  
  46. .c.obj:
  47.         $(compiler_cmd)
  48.  
  49. !include $(srcdir)\dapa\makeclnt
  50.