Source code of Windows XP (NT5)
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.

102 lines
3.1 KiB

  1. # wfwnet.drv makefile
  2. #
  3. # Copyright (c) 1991-1993 Microsoft Corporation
  4. #
  5. # History:
  6. # Created 25-Mar-1993 Chuck Y. Chan (ChuckC)
  7. #
  8. !INCLUDE ..\makefile.inc
  9. !ifdef INCLUDE
  10. INCS =
  11. !else
  12. INCS =
  13. INCSX =.;..\inc;..\..\inc;$(SDK_INC_PATH)
  14. !endif
  15. DEFINES = -DWOW $(MVDMFLAGS) -DBUILDDLL
  16. DEFINES=$(DEFINES) $(DBCS_FLAGS)
  17. .asm{$(DEST)}.obj:
  18. $(ASM) $(AOBJ) $(@B).asm, $*.obj;
  19. .c{$(DEST)}.obj:
  20. $(CL) -c -nologo $(CW16) -Fo$*.obj $(@B).c
  21. {$(DEST)}.map{$(DEST)}.sym:
  22. mapsym -o $*.sym $*
  23. .rc{$(DEST)\}.res:
  24. $(RC) $(INCS) -r -fo$*.res $(@B).rc
  25. AOBJ = -Ml -t $(DEFINES) $(INCS)
  26. CW16 = -AS -G2sw -Os -W3 -Zp $(DEFINES) $(INCS)
  27. CW16B = $(CW16) -B1 c1l.exe -B2 c2l.exe -B3 c3l.exe
  28. !if !$(FREEBUILD)
  29. AOBJ = $(AOBJ) -Zd
  30. CW16 = $(CW16) /Od /Oi /Zd
  31. !endif
  32. W16LIBS = ..\lib\snocrtd.lib
  33. all: set_include $(DEST)\wfwnet.drv $(DEST)\wfwnet.sym
  34. -binplace -o $(ALT_PROJECT_TARGET) $(DEST)\wfwnet.drv $(DEST)\wfwnet.sym $(DEST)\wfwnet.map
  35. clean: cleanup all
  36. cleanup:
  37. if exist $(DEST)\*.lrf del $(DEST)\*.lrf
  38. if exist $(DEST)\*.obj del $(DEST)\*.obj
  39. if exist $(DEST)\*.exe del $(DEST)\*.exe
  40. if exist $(DEST)\*.dll del $(DEST)\*.dll
  41. if exist $(DEST)\*.map del $(DEST)\*.map
  42. if exist $(DEST)\*.sym del $(DEST)\*.sym
  43. if exist $(DEST)\*.drv del $(DEST)\*.drv
  44. if exist $(DEST)\*.res del $(DEST)\*.res
  45. set_include:
  46. set include=$(INCSX)
  47. $(DEST)\wfwnet.obj: wfwnet.c ..\..\inc\wow.inc ..\inc\winnet.h ..\inc\wfwnet.h \
  48. .\locals.h .\bseerr.h
  49. $(CL) -c -nologo $(CW16) -Fo$*.obj $(@B).c
  50. $(DEST)\print.obj: print.c ..\..\inc\wow.inc ..\inc\winnet.h ..\inc\wfwnet.h \
  51. ..\inc\spl_wnt.h .\locals.h .\bseerr.h
  52. $(CL) -c -nologo $(CW16) -Fo$*.obj $(@B).c
  53. $(DEST)\misc.obj: misc.c ..\..\inc\wow.inc ..\inc\winnet.h ..\inc\wfwnet.h \
  54. .\locals.h .\bseerr.h
  55. $(CL) -c -nologo $(CW16) -Fo$*.obj $(@B).c
  56. $(DEST)\to32.obj: to32.c ..\..\inc\wow.inc ..\inc\winnet.h ..\inc\wfwnet.h \
  57. .\locals.h .\bseerr.h
  58. $(CL) -c -nologo $(CW16) -Fo$*.obj $(@B).c
  59. $(DEST)\lfn.obj: lfn.c ..\..\inc\wow.inc ..\inc\winnet.h ..\inc\wfwnet.h \
  60. .\locals.h .\bseerr.h
  61. $(CL) -c -nologo $(CW16) -Fo$*.obj $(@B).c
  62. $(DEST)\wfwnet.lrf: makefile.sub
  63. echo $(DEST)\wfwnet.obj+ >$(DEST)\wfwnet.lrf
  64. echo $(DEST)\to32.obj+ >>$(DEST)\wfwnet.lrf
  65. echo $(DEST)\print.obj+ >>$(DEST)\wfwnet.lrf
  66. echo $(DEST)\misc.obj+ >>$(DEST)\wfwnet.lrf
  67. echo $(DEST)\lfn.obj+ >>$(DEST)\wfwnet.lrf
  68. echo $(DEST)\libentry.obj+ >>$(DEST)\wfwnet.lrf
  69. echo $(DEST)\ints.obj >>$(DEST)\wfwnet.lrf
  70. echo $(DEST)\wfwnet.drv>>$(DEST)\wfwnet.lrf
  71. echo $(DEST)\wfwnet $(LINKOPTS)>>$(DEST)\wfwnet.lrf
  72. echo ..\lib\$(ALT_PROJECT)\libw.lib /nod>>$(DEST)\wfwnet.lrf
  73. echo wfwnet;>>$(DEST)\wfwnet.lrf
  74. $(DEST)\wfwnet.res: wfwnet.rc wfwnet.rcv ..\inc\common.ver
  75. $(DEST)\wfwnet.drv: $(DEST)\ints.obj $(DEST)\libentry.obj $(DEST)\wfwnet.obj $(DEST)\to32.obj $(DEST)\lfn.obj $(DEST)\print.obj $(DEST)\misc.obj $(DEST)\wfwnet.lrf wfwnet.def $(DEST)\wfwnet.res
  76. $(LINK) @$(DEST)\wfwnet.lrf;
  77. $(RC) -t $(DEST)\wfwnet.res $(DEST)\wfwnet.drv