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

Windows Kernel

Development Platform:

Visual C++

  1. # This makefile has been generated automatically by mwgenmakeC for
  2. # compiling C++ application.
  3. COMPONENT = SHELL
  4. PRODUCT = STOCKLIB
  5. CUSTOM_RULES = ${MWROOT}/ie4/shell.template
  6. NO_BROWSER_FILE=1
  7. # Generated files will go here
  8. DIR_GENERATED = ${O}
  9. SOURCES_FILE =  sources
  10. SOURCES_IMPORTS = TARGETTYPE TARGETNAME
  11. WLIB = stocklib
  12. LIB = lib${WLIB}.a # target static library
  13. ## you may define variables specific to this sub-directory/target using PROJECT_XXX
  14. ##
  15. WIN32_WINNT = -D_WIN32_WINNT=0x0400
  16. PROJECT_CFLAGS = -I.. -DWINDOWS_ME -DWINNT -DFE_IME -DDBCS 
  17.  -DULTRAPRIVATE  -DUSE_PRIVATE_VERSION_NUMBER
  18. __cplusplus = true
  19. include $(MWHOME)/make.rules.simple
  20. ## shstra.cpp and shstrw.cpp are being generated from shstr.cpp
  21. ${O}/shstra.cpp: shstr.cpp
  22. rm -f $@
  23. echo "#ifdef UNICODE" >  $@
  24. echo "#undef UNICODE" >> $@
  25. echo "#endif"         >> $@
  26. cat   $<              >> $@
  27. ${O}/shstrw.cpp: shstr.cpp
  28. rm -f $@
  29. echo "#ifndef UNICODE" >  $@
  30. echo "#define UNICODE" >> $@
  31. echo "#endif"          >> $@       
  32. cat   $<               >> $@
  33. ## dkaa.cpp and dkaw.cpp are being generated from dka.cpp
  34. ${O}/dkaa.cpp: dka.cpp
  35. rm -f $@
  36. echo "#ifdef UNICODE" >  $@
  37. echo "#undef UNICODE" >> $@
  38. echo "#endif"         >> $@
  39. cat   $<              >> $@
  40. ${O}/dkaw.cpp: dka.cpp
  41. rm -f $@
  42. echo "#ifndef UNICODE" >  $@
  43. echo "#define UNICODE" >> $@
  44. echo "#endif"          >> $@
  45. cat   $<               >> $@
  46. ## nativea.c and nativew.c are being generated from native.c
  47. ${O}/nativea.cpp: native.cpp
  48. rm -f $@
  49. echo "#ifdef UNICODE" >  $@
  50. echo "#undef UNICODE" >> $@
  51. echo "#endif"         >> $@
  52. cat   $<              >> $@
  53. ${O}/nativew.cpp: native.cpp
  54. rm -f $@
  55. echo "#ifndef UNICODE" >  $@
  56. echo "#define UNICODE" >> $@
  57. echo "#endif"          >> $@
  58. cat   $<               >> $@