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.

46 lines
1.3 KiB

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