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.

20 lines
796 B

  1. # We don't want all that SXS_MANIFEST_IN_RESOURCES implies.
  2. # This doesn't work completely, we still get extra rc_temp files, but their contents
  3. # are ok.
  4. !if "$(NUMBER_OF_MANIFESTS)" != "0" && "$(NUMBER_OF_MANIFESTS)" != "1"
  5. !undef RC_FORCE_INCLUDE_STRING
  6. !undef RC_FORCE_INCLUDE_FILES
  7. RC_FORCE_INCLUDE_FILES_CMD=echo.
  8. !endif
  9. .SUFFIXES: .mansrc .man
  10. {}.mansrc{$(O)\}.man:
  11. $(CXX_COMPILER_NAME) $(SXS_MANIFEST_DEFINES) $(CXX_COMPILER_FLAGS) -EP $(USE_FC) $< | perl <<$(O)\cleanup_rgs.pl > $@
  12. $$file = join("", <>); # read all the lines into one string
  13. $$file =~ s/^#.+$$//gm; # remove preprocessor directives
  14. $$file =~ s/\n+/\n/gms; # remove empty lines
  15. print($$file); # and print it all back out
  16. <<KEEP
  17. $(O)\sxstest_lib.obj: ..\..\sxstest.cpp