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.

123 lines
2.7 KiB

  1. # This makefile has been generated automatically by mwgenmakeC for
  2. # compiling MFC application.
  3. APOGEE = 1
  4. SOURCES = \
  5. autonum.c \
  6. break.c \
  7. chnutils.c \
  8. dispmain.c \
  9. dispmisc.c \
  10. disptext.c \
  11. dispul.c \
  12. dnutils.c \
  13. enumcore.c \
  14. hih.c \
  15. lnutils.c \
  16. lscontxt.c \
  17. lscrline.c \
  18. lscrsubl.c \
  19. lsdnfin.c \
  20. lsdnset.c \
  21. lsdntext.c \
  22. lsdsply.c \
  23. lsdssubl.c \
  24. lsensubl.c \
  25. lsenum.c \
  26. lsfetch.c \
  27. lsqcore.c \
  28. lsqline.c \
  29. lsqsubl.c \
  30. lssetdoc.c \
  31. lsstring.c \
  32. lssubset.c \
  33. lstfset.c \
  34. lstxtbr1.c \
  35. lstxtbrk.c \
  36. lstxtbrs.c \
  37. lstxtcmp.c \
  38. lstxtfmt.c \
  39. lstxtglf.c \
  40. lstxtini.c \
  41. lstxtjst.c \
  42. lstxtmap.c \
  43. lstxtmod.c \
  44. lstxtnti.c \
  45. lstxtqry.c \
  46. lstxtscl.c \
  47. lstxttab.c \
  48. lstxtwrd.c \
  49. ntiman.c \
  50. objhelp.c \
  51. prepdisp.c \
  52. qheap.c \
  53. robj.c \
  54. ruby.c \
  55. sobjhelp.c \
  56. sublutil.c \
  57. tabutils.c \
  58. tatenak.c \
  59. textenum.c \
  60. warichu.c \
  61. zqfromza.c \
  62. unixfunctions.c
  63. # Warning: DLL based on MFC (compiled with _USRDLL flag) is not supported yet.
  64. # This makefile is just for demo purpose.
  65. ## Original Windows DLL name:
  66. WDLL = msls3
  67. ## Target Unix shared library:
  68. DLL = lib${WDLL}.${MW_SHARED_LIBRARY_SUFFIX}
  69. CPP_OBJS = ${SOURCES:%.C=%.o}
  70. DLLOBJS = ${CPP_OBJS:%.c=%.o}
  71. DLL-EXPORTS = msls3.def
  72. SRCS=${SOURCES}
  73. WRESOURCE = msls.rc # Windows resource
  74. TRESOURCE = ${WDLL}.rxt # Target X resource (must match DLL name)
  75. ## you may define the following variables
  76. ## RUN.dir : the directory where you want the executables to go
  77. ## APP_CFLAGS : additional compilation flags for C compiler
  78. ## APP_CCPPFLAGS: additional compilation flags for C++ compiler
  79. ## APP_DLLFLAGS : additional link flags
  80. ## MWINIT_DEFINES : list of -D<symbols> used to initialize
  81. ## Mainwin in certain specific ways
  82. ##
  83. __cplusplus = true
  84. ifndef COMPILE_OPTION
  85. COMPILE_OPTION = debug
  86. endif
  87. ifeq (${COMPILE_OPTION},debug)
  88. DEBUG_CFLAGS = -DDEBUG
  89. endif
  90. BINARY_RESOURCES = 1
  91. RUN.dir = /vobs/ie4/drop/${MWCONFIG_NAME}_${COMPILE_OPTION}
  92. APP_DLLFLAGS = -L${RUN.dir} -lole32 -loleaut32
  93. APP_CFLAGS = ${DEBUG_CFLAGS} -DUNIX -DNOOBJECT -DMW_MSCOMPATIBLE_STRUCTS \
  94. -DUNICODE -I${_NTROOT}/private/windows/inc -I. -I../inci -I../lsinc \
  95. -Di386=1 -DSTD_CAL -DCONDITION_HANDLING=1 -DNT_UP=1 \
  96. -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0400 \
  97. -DWINVER=0x0400 -D_WIN32_IE=0x0300 -DWIN32_LEAN_AND_MEAN=1 -DDBG=1 \
  98. -DDEVL=1 -DFPO=0 -D_DLL=1 -D_MT=1 -FId:\nt\public\sdk\inc\warning.h -UWINVER
  99. include $(MWHOME)/make.rules.simple
  100. CUSTOM_ALL_TARGET = check_config
  101. check_config:
  102. @if [ "${MWTECHNO}" != 32 ]; then \
  103. echo "An MFC400 application must be compiled in MW32 mode."; \
  104. exit 1; \
  105. fi
  106. ifeq (${MW_CLEARMAKE},no)
  107. include depend-$(MWCONFIG_NAME)
  108. endif