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.

236 lines
5.5 KiB

  1. !IFDEF NTMAKEENV
  2. !INCLUDE $(NTMAKEENV)\makefile.def
  3. !ELSE
  4. # Makefile
  5. # Copyright 1992 Microsoft Corp.
  6. #
  7. ##
  8. ################
  9. ##
  10. ## Top level Makefile
  11. ##
  12. ################
  13. ################
  14. ##
  15. ## Defines for the environment
  16. ##
  17. ################
  18. !INCLUDE ..\globals.mak
  19. ################
  20. ##
  21. ## the Standard targets
  22. ##
  23. ################
  24. help: StdHelp
  25. -@type <<
  26. IFKERNEL targets:
  27. w16_r Win16, retail
  28. w16_d Win16, debug
  29. chicago_r Win95, retail
  30. chicago_d Win95, debug
  31. nashville_r Win95A, retail
  32. nashville_d Win95A, debug
  33. memphis_r Win96, retail
  34. memphis_d Win96, debug
  35. nt_r NT (Shell Update Release), retail
  36. nt_d NT (Shell Update Release), debug
  37. cairo_r Cairo, retail
  38. cairo_d Cairo, debug
  39. <<NOKEEP
  40. chicago_r:
  41. $(MAKE) DEBUG=OFF TGT=WIN32 os_t=WIN95 all
  42. nashville_r:
  43. $(MAKE) DEBUG=OFF TGT=WIN32 os_t=WIN96 all
  44. memphis_r:
  45. $(MAKE) DEBUG=OFF TGT=WIN32 os_t=WIN97 all
  46. chicago_d:
  47. $(MAKE) DEBUG=ON TGT=WIN32 os_t=WIN95 all
  48. nashville_d:
  49. $(MAKE) DEBUG=ON TGT=WIN32 os_t=WIN96 all
  50. memphis_d:
  51. $(MAKE) DEBUG=ON TGT=WIN32 os_t=WIN97 all
  52. nt_r:
  53. $(MAKE) DEBUG=OFF TGT=WIN32 os_t=NT_SUR all
  54. nt_d:
  55. $(MAKE) DEBUG=ON TGT=WIN32 os_t=NT_SUR all
  56. win16_r win16_d cairo_r cairo_d:
  57. @echo IFKERNEL build for $(cpu_t) on $(os_t) not ready yet.
  58. ### this must be set in all cases ###
  59. LibType=dll
  60. # Stub name of module
  61. !IF "$(TGT)" == "WIN32"
  62. STUBNAME=AWFXIO32
  63. !ELSE
  64. STUBNAME=AWFAXIO
  65. !ENDIF
  66. !IF ("$(TGT)" == "") || ("$(TGT)" == "WFW") || ("$(TGT)" == "WINPAD") || ("$(TGT)" == "WIN32")
  67. EXEname=$(OBJDIR)\$(STUBNAME).dll
  68. TARGETS=$(OBJDIR)\$(STUBNAME).dll
  69. !ENDIF
  70. # Used by depends to create the include file dependencies for
  71. # the source files
  72. SRCfiles= fdebug.c FCOM.c \
  73. filter.c \
  74. timeouts.c \
  75. modem.c \
  76. ncuparms.c \
  77. identify.c \
  78. registry.c
  79. # Used by the automatic linking rules to figure out what objs
  80. # to link in. Must have full path specified. Also used by
  81. # cleanint to delete all intermediate created objs. Must be
  82. # defined with pathe relative to $(OBJDIR)
  83. OBJfiles= $(OBJDIR)\fdebug.obj \
  84. $(OBJDIR)\FCOM.obj \
  85. $(OBJDIR)\filter.obj \
  86. $(OBJDIR)\timeouts.obj\
  87. $(OBJDIR)\modem.obj \
  88. $(OBJDIR)\ncuparms.obj\
  89. $(OBJDIR)\identify.obj\
  90. $(OBJDIR)\registry.obj
  91. !IF ("$(TGT)" == "") || ("$(TGT)" == "WFW") || ("$(TGT)" == "WINPAD") || ("$(TGT)" == "WIN32")
  92. DEFfile=$(OBJDIR)\awfaxio.DEF
  93. RESfile=$(OBJDIR)\FAXCOM.res
  94. !ELSE
  95. ## LocalCFLAGS= $(LocalCFLAGS) -W4
  96. !ENDIF
  97. ################
  98. ##
  99. ## Local compiler, masm, and link flags as well local include
  100. ## paths.
  101. ##
  102. ################
  103. ############ Add local compile Flags here as necessary
  104. # Use these to set local options like optimizations, generate
  105. # intermediate asm files, etc etc.
  106. # LocalCFLAGS= $(USE_HWND) $(TRACE) $(EXTRA) -Aw -GD -Fc -FR
  107. # LocalCFLAGS= -Aw -GD -FR $(DEFS)
  108. # LocalAFLAGS=
  109. # LocalLFLAGS=
  110. !IF ("$(FCOM_TEST_HOOKS)" == "ON") || ("$(TRANSPORT_TEST_HOOKS)" == "ON")
  111. LocalCFLAGS= $(LocalCFLAGS) -DFCOM_TEST_HOOKS
  112. !ENDIF
  113. ############ Add local include search path here as necessary
  114. ################
  115. ##
  116. ## Include the standard Rule and Macros file for this project.
  117. ##
  118. ################
  119. !INCLUDE $(RootPath)\common\rules.mak
  120. ################
  121. ##
  122. ## the Standard targets
  123. ##
  124. ################
  125. # List all the buildable targets which you want to be
  126. # public here
  127. help: StdHelp
  128. @echo Subproject targets:
  129. @echo.
  130. @echo all -- makes et30.dll
  131. # Leave as is for default intermediate file cleanup - else
  132. # add to it or replace with your own
  133. !include ..\clean.mak
  134. ################
  135. ##
  136. ## Include the Standard Targets File
  137. ##
  138. ################
  139. !IF "$(TGT)" == "WIN32"
  140. LocalLibraries= $(LocalLibraries) AWFXRN32.lib ADVAPI32.lib
  141. !ENDIF
  142. !INCLUDE $(RootPath)\common\targets.mak
  143. ################
  144. ##
  145. ## the targets for this sub-project
  146. ##
  147. ################
  148. objs: $(OBJfiles)
  149. # all: $(OBJfiles)
  150. # mylink
  151. clean: cleantgt cleanint
  152. FCOM: $(OBJDIR)\FCOM.obj
  153. filter: $(OBJDIR)\filter.obj
  154. fdebug: $(OBJDIR)\fdebug.obj
  155. timeouts: $(OBJDIR)\timeouts.obj
  156. modem: $(OBJDIR)\modem.obj
  157. ncuparms: $(OBJDIR)\ncuparms.obj
  158. identify: $(OBJDIR)\identify.obj
  159. registry: $(OBJDIR)\registry.obj
  160. identify.c: awmodem.h
  161. awmodem.h: awmodem.xxx awmodem.awk
  162. $(AWK) -f awmodem.awk < awmodem.xxx > $@
  163. awmodem.xxx: awmodem.inf awmodem.sed
  164. $(SED) -f awmodem.sed < awmodem.inf > $@
  165. !IF ("$(TGT)" == "") || ("$(TGT)" == "WFW") || ("$(TGT)" == "WINPAD") || ("$(TGT)" == "WIN32")
  166. all: $(TARGETS)
  167. $(OBJDIR)\awfaxio.def: awfaxio.def ..\globals.mak ..\common\h\defs.h
  168. !include ..\def.mak
  169. !include ..\imp.mak
  170. !ELSE
  171. all: objs
  172. !ENDIF
  173. !if exist (depends.mak)
  174. ! include depends.mak
  175. !endif
  176. !ENDIF