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.

160 lines
2.8 KiB

  1. ## Relative Path to root of project
  2. RootPath=..\..
  3. DEBUG=ON
  4. !IF "$(DEBUG)" == "ON"
  5. OBJDIR=debug
  6. !ELSE
  7. OBJDIR=retail
  8. !ENDIF
  9. !IF "$(TGT)"=="WIN32"
  10. TargetEnvironment=WIN32
  11. LibMain=
  12. OBJfiles=\
  13. $(OBJDIR)\hre.obj \
  14. $(OBJDIR)\dorpl.obj \
  15. $(OBJDIR)\rpgen.obj \
  16. $(OBJDIR)\brushpat.obj \
  17. $(OBJDIR)\stllnent.obj \
  18. $(OBJDIR)\rplnee.obj \
  19. $(OBJDIR)\gdi32blt.obj \
  20. $(OBJDIR)\roptable.obj \
  21. $(OBJDIR)\bmrotate.obj \
  22. $(OBJDIR)\glyph.obj
  23. OBJDIR=ch$(OBJDIR)
  24. RESfile=$(OBJDIR)\wpsfaxre.res
  25. DEFfile=awresx32.def
  26. WIN4=ON
  27. LocalLibraries=awkrnl32.lib
  28. !IF "$(DEBUG)" == "ON"
  29. LocalLibraries=awkrnl32.lib
  30. !ENDIF
  31. EXEname=$(OBJDIR)\awresx32.dll
  32. !ELSE IF "$(TGT)"=="WFW"
  33. TargetEnvironment=WINPROC
  34. LocalCFLAGS=/DMARSHAL
  35. OBJfiles=\
  36. $(OBJDIR)\hre.obj \
  37. $(OBJDIR)\dorpl.obj \
  38. $(OBJDIR)\rpgen.obj \
  39. $(OBJDIR)\brushpat.obj \
  40. $(OBJDIR)\stllnent.obj \
  41. $(OBJDIR)\rplnee.obj \
  42. $(OBJDIR)\hreblt.obj \
  43. $(OBJDIR)\bitblt.obj \
  44. $(OBJDIR)\cblt.obj \
  45. $(OBJDIR)\fillscan.obj \
  46. $(OBJDIR)\rpbmver.obj \
  47. OBJDIR=wp$(OBJDIR)
  48. RESfile=$(OBJDIR)\wpsunire.res
  49. DEFfile=wpsunire.def
  50. LocalLibraries=ifbgproc
  51. EXEname=$(OBJDIR)\wpsunire.dll
  52. !ELSE
  53. TargetEnvironment=WINPROC
  54. OBJfiles=\
  55. $(OBJDIR)\hre.obj \
  56. $(OBJDIR)\dorpl.obj \
  57. $(OBJDIR)\rpgen.obj \
  58. $(OBJDIR)\brushpat.obj \
  59. $(OBJDIR)\stllnent.obj \
  60. $(OBJDIR)\rplnee.obj \
  61. $(OBJDIR)\hreblt.obj \
  62. $(OBJDIR)\bitblt.obj \
  63. $(OBJDIR)\cblt.obj \
  64. $(OBJDIR)\fillscan.obj \
  65. $(OBJDIR)\rpbmver.obj \
  66. $(OBJDIR)\glyph.obj
  67. OBJDIR=if$(OBJDIR)
  68. RESfile=$(OBJDIR)\wpsfaxre.res
  69. DEFfile=wpsfaxre.def
  70. LocalLibraries=ifbgproc
  71. EXEname=$(OBJDIR)\wpsfaxre.dll
  72. !ENDIF
  73. SRCfiles=\
  74. glyph.cpp \
  75. hre.c \
  76. dorpl.c \
  77. rpgen.c \
  78. brushpat.asm \
  79. stllnent.c \
  80. rplnee.c \
  81. bitblt.asm \
  82. cblt.asm \
  83. fillscan.asm \
  84. rpbmver.asm \
  85. roptable.c \
  86. # RESfile=$(OBJDIR)\foo.res
  87. LibType=dll
  88. TARGETS=$(EXEname)
  89. LocalCIncludePaths=$(RootPath)\ifaxdev\h
  90. LocalCCmdIncPaths=-I$(RootPath)\ifaxdev\h
  91. LocalAFLAGS=-DMASMFLAGS=08000h -D?QUIET -ML -W2 -T -ZD -ZI
  92. LocalAIncludePaths=
  93. MASM510=ON
  94. LocalLFLAGS=
  95. LocalLibPath=
  96. ##### ARULM: Disable /FARCALL optimizations #####
  97. LFLAG_NoFARCALL = 1
  98. !INCLUDE $(RootPath)\common\rules.mak
  99. !IF "$(TGT)"=="WIN32"
  100. WINhpath= $(TOOLS_PATH)\win4.168\sdk\inc32
  101. WINlibpath= $(TOOLS_PATH)\win4.168\sdk\lib32
  102. !ENDIF
  103. # List all the buildable targets which you want to be
  104. # public here
  105. help: StdHelp
  106. @echo Subproject targets:
  107. @echo.
  108. @echo all -- makes foo.exe
  109. cleanint: stdclint
  110. cleantgt: stdcltgt
  111. !INCLUDE depends.mak
  112. # Override default
  113. !IF "$(TGT)"!="WIN32"
  114. LIBRARIES=snocrtdw libw
  115. !ENDIF
  116. !INCLUDE $(RootPath)\common\targets.mak
  117. all: $(TARGETS)
  118. retail:
  119. nmake DEBUG=OFF all
  120. debug:
  121. nmake DEBUG=ON all