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.

42 lines
1.3 KiB

  1. !include $(NTMAKEENV)\makefile.plt
  2. !IFNDEF BUILDMSG
  3. BUILDMSG=
  4. !ENDIF
  5. ########## Path definition so we find 16 bit tools ##########
  6. # Also works around stupid bug in RC 3.1 that doesn't allow rcpp.err to be
  7. # in a directory that is greater than 128 chars down the path, even if
  8. # rc 3.1 is running as an OS/2 app.
  9. PATH = $(BASEDIR)\tools\tools16;$(PATH)
  10. .SUFFIXES:
  11. .SUFFIXES: .c .obj .lst .exe .exc .exs .com .sal .cod .sil .inc .skl .cla .cl1 .ctl .asm .idx .msg
  12. MAKE =nmake
  13. asm =masm386
  14. awarn =-W1
  15. aflags =-Mx -t $(awarn) $(extasw)
  16. ainc =-Imessages\$(ALT_PROJECT) -I. -I$(SDK_INC_PATH) -I$(BASEDIR)\base\mvdm\inc
  17. DEST=$(ALT_PROJECT)\$(O)
  18. all: $(DEST)\mscdexnt.exe
  19. -binplace -o $(ALT_PROJECT_TARGET) $(DEST)\mscdexnt.exe
  20. clean: cleanup all
  21. cleanup:
  22. cd $(DEST)
  23. if exist *.obj del *.obj
  24. if exist *.exe del *.exe
  25. if exist *.map del *.map
  26. if exist *.sym del *.sym
  27. if exist messages.inc del messages.inc
  28. cd ..\..\..
  29. $(DEST)\mscdexnt.obj: mscdexnt.asm mscdexnt.inc messages\$(ALT_PROJECT)\messages.inc
  30. $(asm) $(ainc) $(aflags) mscdexnt,$(DEST)\mscdexnt;
  31. $(DEST)\mscdexnt.exe: $(DEST)\mscdexnt.obj
  32. link16 /CP:1 $(DEST)\mscdexnt.obj, $(DEST)\mscdexnt;