makefile.inc
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 2k
Category:

Windows Kernel

Development Platform:

Visual C++

  1. ..shstra.cpp: ..shstr.cpp
  2.     echo #ifdef UNICODE > $@
  3.     echo #undef UNICODE >> $@
  4.     echo #endif >> $@
  5.     type $** >> $@
  6. ..shstrw.cpp: ..shstr.cpp
  7.     echo #ifndef UNICODE > $@
  8.     echo #define UNICODE >> $@
  9.     echo #endif >> $@
  10.     type $** >> $@
  11. ..dkaa.cpp: ..dka.cpp
  12.     echo #ifdef UNICODE > $@
  13.     echo #undef UNICODE >> $@
  14.     echo #endif >> $@
  15.     type $** >> $@
  16. ..dkaw.cpp: ..dka.cpp
  17.     echo #ifndef UNICODE > $@
  18.     echo #define UNICODE >> $@
  19.     echo #endif >> $@
  20.     type $** >> $@
  21. ..nativea.cpp: ..native.cpp
  22.     echo #ifdef UNICODE > $@
  23.     echo #undef UNICODE >> $@
  24.     echo #endif >> $@
  25.     type $** >> $@
  26. ..nativew.cpp: ..native.cpp
  27.     echo #ifndef UNICODE > $@
  28.     echo #define UNICODE >> $@
  29.     echo #endif >> $@
  30.     type $** >> $@
  31. LIBOBJ          = $(CCSHELL_DIR)lib$O
  32. clean:
  33.     -del $(NTTARGETFILE0)
  34.     -del $(NTTARGETFILES)
  35. #
  36. # Copy stocklib to shelllibobj*
  37. #
  38. $(LIBOBJ)stocklib.lib: $(TARGETPATH)$(TARGET_DIRECTORY)stocklib.lib
  39.     if not exist $(TARGETPATH)nul md $(TARGETPATH)
  40.     if not exist $(LIBOBJ)nul md $(LIBOBJ)
  41.     copy $** $@
  42. ## webcheck includes rpc headers. Not here as I dont think they
  43. ##  will affect guids that we need.
  44. $(O)shguid.obj: ..shguid.c 
  45.         $(BASEDIR)publicsdkincshlguid.h 
  46.         $(BASEDIR)publicsdkincisguids.h
  47.     @type <<$(ECHO_RSP)
  48. $(ECHO_MSG_P)
  49. <<NOKEEP
  50.     @$(C_COMPILER_NAME) @<<$(CL_RSP) -Fo$(MAKEDIR)$@ $(USECXX_FLAG) $(MAKEDIR)..shguid.c
  51. $(NP_COMPILER_FLAGS: =
  52. )
  53. <<NOKEEP
  54. $(LIBOBJ)shguid.lib: $(O)shguid.obj
  55.     if not exist $(LIBOBJ)nul md $(LIBOBJ)
  56.     copy $** $@
  57. $(O)shguidp.obj: ..shguidp.c 
  58.         $(BASEDIR)privateincshlguidp.h 
  59.         $(CCSHELL_DIR)incshguidp.h 
  60.         $(CCSHELL_DIR)incshdguid.h 
  61.         $(CCSHELL_DIR)incsfview.h 
  62.         $(CCSHELL_DIR)incdvocx.h 
  63.         $(BASEDIR)publicsdkincadoid.h 
  64.         $(PRIVATE_INC_PATH)shlobjp.h
  65.     @type <<$(ECHO_RSP)
  66. $(ECHO_MSG_P)
  67. <<NOKEEP
  68.     @$(C_COMPILER_NAME) @<<$(CL_RSP) -Fo$(MAKEDIR)$@ $(USECXX_FLAG) $(MAKEDIR)..shguidp.c
  69. $(NP_COMPILER_FLAGS: =
  70. )
  71. <<NOKEEP
  72. $(LIBOBJ)shguidp.lib: $(O)shguidp.obj
  73.     copy $** $@