home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / dax1.exe / DAP / DAPA / WIN / MAKEFILE next >
Text File  |  1992-07-15  |  1KB  |  49 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\win
  23.  
  24. libmgr=$(librarian)
  25. libswi=/C
  26. concha=&             # don't remove this comment, & is continuation for WMAKE!
  27.  
  28. debug = -DDEBUG=3    # use /dDEBUG to define DEBUG for C Preprocessor
  29.  
  30. !ifndef %ccfdos
  31. d_wccopt = -m$(model) -WS -K -y -v -c $(debug)
  32. p_wccopt = -m$(model) -WS -K -G- -c
  33. x_wccopt = $($(version)_wccopt) -DWINCLIENT
  34. !else
  35. x_wccopt = $(%ccfdos) -DWINCLIENT
  36. !endif
  37.  
  38. compiler_cmd = $(wcc) $(x_wccopt) $[*.c
  39.  
  40. .BEFORE
  41.     echo $(build_msg)
  42.     echo -I$(%dcdir);$(ccpath)\include;$(nwpath)\include     >turboc.cfg
  43.     echo -L$(%dcdir);$(ccpath)\lib                          >>turboc.cfg
  44.  
  45. .c.obj:
  46.         $(compiler_cmd)
  47.  
  48. !include $(srcdir)\dapa\makeclnt
  49.