Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.6 KiB

  1. # @@ COPY_RIGHT_HERE
  2. # @@ ROADMAP :: The Makefile for the Winnet Binaries
  3. UI=..\..
  4. !include rules.mk
  5. !ifdef NTMAKEENV
  6. !include $(NTMAKEENV)\makefile.def
  7. !else # NTMAKEENV
  8. !if 0
  9. # following needs to be redone for windows
  10. # library segment def files
  11. LIB_SEG_DEF = $(UILIBS:.lib=.def)
  12. # individual project segment def files
  13. PROJ_SEG_DEF=
  14. ##### the real meat starts here
  15. all:: win
  16. win: $(ACLEDIT) $(LANMAN_LIB)
  17. $(ACLEDIT): $(WIN_OBJS) $(WINNET_RES) $(LANMAN_DEF) $(LIBS) $(UILIBS) makefile rules.mk ..\rules.mk
  18. $(LINK) $(LINKFLAGS) @<<$(LANMAN_LNK), $(LANMAN_DEF)
  19. $(WIN_OBJS: =+^
  20. )
  21. $*.drv
  22. $*.map /MAP
  23. $(LIBS: =+^
  24. )+
  25. $(UILIBS: =+^
  26. )
  27. <<KEEP
  28. $(MAPSYM) $(LANMAN_MAP)
  29. - del $(LANMAN_SYM)
  30. $(MV) $(LANMAN_BASE).sym $(LANMAN_SYM)
  31. $(RCWIN3) $(WINNET_RES) $@
  32. $(LANMAN_LIB): $(LANMAN_DEF)
  33. $(IMPLIB) $(LANMAN_LIB) $(LANMAN_DEF)
  34. chmode -r $(UI_LIB)\$(LANMAN_BASE).lib
  35. copy $(LANMAN_LIB) $(UI_LIB) || exit
  36. $(LANMAN_DEF) : $(LANMAN_DEF_SED) lanmanx.def $(LIB_SEG_DEF) $(PROJ_SEG_DEF)
  37. $(SED) -f $(LANMAN_DEF_SED) lanmanx.def > $(LANMAN_DEF)
  38. !IF ("$(LIB_SEG_DEF)" != "")
  39. -$(CAT) $(LIB_SEG_DEF) >> $(LANMAN_DEF)
  40. !ENDIF
  41. !IF ("$(PROJ_SEG_DEF)" != "")
  42. -$(CAT) $(PROJ_SEG_DEF) >> $(LANMAN_DEF)
  43. !ENDIF
  44. clean:
  45. -del $(LANMAN_MAP) $(LANMAN_LNK) $(LANMAN_DEF)
  46. clobber: clean
  47. -del $(ACLEDIT) $(LANMAN_LIB) $(LANMAN_SYM)
  48. tree:
  49. $(CP) $(ACLEDIT) $(DIST)\lm.enh\netprog
  50. $(CP) $(LANMAN_SYM) $(DIST)\lm.enh\netprog
  51. $(CP) $(WIN30HELP) $(DIST)\lm.enh\netprog
  52. $(CP) $(WIN31HELP) $(DIST)\lm.enh\netprog
  53. depend:
  54. @echo No DEPEND.MK
  55. !endif 0
  56. !endif # NTMAKEENV