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

  1. #
  2. # Program:  DapApi.NLM
  3. #           This makefile rebuilds the DapApi NetWare Loadable Module
  4. #
  5. # Created:  Thu Mar 12 10:37:23 1992
  6. #
  7. # MAKEINIT defines many of the macros used herein
  8. # The following macros can be set via your environment:
  9. #   CCF386 : Set compile options
  10. #   QMKVER : Set to 'd' or 'p' to define VERSION
  11. #   SILENT : If defined, .SILENT will be set
  12.  
  13. !ifndef %dcdir
  14. dcdir = e:\nlm\dc
  15. !else
  16. dcdir = $(%dcdir)
  17. !endif
  18.  
  19.  
  20. srcdir=$(dcdir)\dap
  21. objdir=$(dcdir)\dap\dapa\nlm
  22.  
  23. libmgr=$(librarian)
  24.  
  25. d_linkopt = debug all debug novell
  26. p_linkopt = debug
  27. x_linkopt = $($(version)_linkopt)
  28.  
  29. debug = /dDEBUG=3    # use /dDEBUG to define DEBUG for C Preprocessor
  30.  
  31. !ifndef %ccf386
  32. d_wcc386opt = /w4 /e99 /zp1 /3s /d2 /zl $(debug)
  33. p_wcc386opt = /w4 /s /zp1 /3s /oax /zl
  34. x_wcc386opt = $($(version)_wcc386opt) /dNLMCLIENT /dDYNAMICMEM
  35. !else
  36. x_wcc386opt = $(%ccf386) /dNLMCLIENT /dDYNAMICMEM
  37. !endif
  38.  
  39. compiler_cmd = $(wcc386) $(x_wcc386opt) $[*.c
  40.  
  41. .BEFORE
  42.     echo $(build_msg)
  43.     set inc386=$(dcdir);$(inc_386)
  44.     set wcg386=$(code_386)
  45.  
  46. .c.obj:
  47.         $(compiler_cmd)
  48.  
  49. !include $(dcdir)\dap\dapa\makeclnt
  50.