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.

45 lines
1.6 KiB

  1. # makefile.inc
  2. !if "$(DEBUG_GENTHUNK)" == "1"
  3. GENTHUNK_FLAGS=$(GENTHUNK_FLAGS) -d -w -G
  4. !else
  5. GENTHUNK_FLAGS=-w -G
  6. !endif
  7. !if "$(DEBUG_THUNKGEN)" == "1"
  8. SORTPP_FLAGS=$(SORTPP_FLAGS) -l
  9. !else
  10. SORTPP_FLAGS=$(SORTPP_FLAGS)
  11. !endif
  12. PPMFILE=$(FUSION_PATH)\cgen\$(O)\winincs.ppm
  13. PPMFILE_PRIVATE=$(FUSION_PATH)\cgen\$(O)\winincs_private.ppm
  14. TPL_FILES=winthrow.tpl winthrow_err.tpl winthrow_specialcases.tpl winthrow_names.tpl winthrow_yuck.tpl
  15. DASH_TPL_FILES=-t$(TPL_FILES: = -t)
  16. APILIST=apilist.txt
  17. DASH_APILIST=-E$(APILIST)
  18. THUNK_DEPS=$(THUNK_DEPS) $(PPMFILE) $(TPL_FILES) $(APILIST)
  19. GENTHUNK_FLAGS=-LessTrailingWhitespace $(GENTHUNK_FLAGS) $(DASH_TPL_FILES) $(DASH_APILIST)
  20. $(FUSION_PATH)\inc\$(O)\winthrow_private.h : $(O)\winthrow_private.h
  21. if not exist $@\.. mkdir $@\..
  22. copy $** $@
  23. $(FUSION_PATH)\inc\$(O)\winthrow.h : $(O)\winthrow.h
  24. if not exist $@\.. mkdir $@\..
  25. copy $** $@
  26. $(O)\winthrow_private.h: $(PPMFILE_PRIVATE) winthrow_private.tpl
  27. fusion_genthnk.exe -m$(PPMFILE_PRIVATE) $(GENTHUNK_FLAGS) -twinthrow_private.tpl -c$(@):winthrow_h
  28. $(O)\winthrow_private.cpp: $(THUNK_DEPS) winthrow_private.tpl
  29. fusion_genthnk.exe -m$(PPMFILE_PRIVATE) $(GENTHUNK_FLAGS) -twinthrow_private.tpl -c$(@):winthrow_cpp
  30. $(O)\winthrow.h: $(PPMFILE) $(THUNK_DEPS) winthrow_public.tpl
  31. fusion_genthnk.exe -m$(PPMFILE) $(GENTHUNK_FLAGS) -twinthrow_public.tpl -c$(@):winthrow_h
  32. $(O)\winthrow.cpp: $(PPMFILE) $(THUNK_DEPS) winthrow_public.tpl
  33. fusion_genthnk.exe -m$(PPMFILE) $(GENTHUNK_FLAGS) -twinthrow_public.tpl -c$(@):winthrow_cpp