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.

109 lines
2.5 KiB

  1. !if 0
  2. Copyright (c) 1996 Microsoft Corporation
  3. !endif
  4. !ifndef FULL_DEBUG
  5. FULL_DEBUG=0
  6. !endif
  7. ROOT=$(MAKEDIR)
  8. !include $(ROOT)\common.inc
  9. CHECKED_ALT_DIR=1
  10. !ifdef WIN16
  11. TARGETNAME=tdc16
  12. TARGETPATHLIB=obj
  13. DLLDEF=tdc16.def
  14. !else
  15. TARGETNAME=tdc
  16. TARGETEXT=ocx
  17. DLLDEF=tdc.def
  18. !endif
  19. TARGETPATH=obj
  20. TARGETTYPE=DYNLINK
  21. DLLBASE=0x60000000
  22. DLLENTRY=_DllMainCRTStartup
  23. !ifdef WIN16
  24. INCLUDES=inc16;$(BASEDIR)\public\sdk\inc16\atl;$(BASEDIR)\public\sdk\inc16
  25. !else
  26. USE_ATL=1
  27. USE_MSVCRT=1
  28. PASS0_SOURCEDIR=$(O)
  29. PASS0_HEADERDIR=$(O)
  30. MIDL_TLBDIR=$(O)
  31. INCLUDES=$(INCLUDES);$(O)
  32. !undef USE_NOLIBS
  33. LINKER_FLAGS = $(LINKER_FLAGS) /merge:.CRT=.data
  34. PRECOMPILED_INCLUDE=stdafx.h
  35. PRECOMPILED_CXX=1
  36. PRECOMPILED_SOURCEFILE=stdafx.cpp
  37. !endif
  38. MSC_WARNING_LEVEL=/W3 /WX
  39. SOURCES= tdc.idl \
  40. tdcctl.cpp \
  41. tdcarr.cpp \
  42. tdcparse.cpp \
  43. notify.cpp \
  44. wch.cpp \
  45. tdc.cpp \
  46. tdc.rc
  47. SOURCES_WIN16= $(SOURCES) \
  48. tdcctl2.cpp \
  49. atlctl.cpp \
  50. w32apis.cxx \
  51. atlimpl.cpp \
  52. uuid16.cpp
  53. !ifdef WIN16
  54. NTTARGETFILES=
  55. MAKEDLL=1
  56. WLINKER_FLAGS=op el op HEAPSIZE=1024 option MODNAME=tdc16 export WEP=_WEP \
  57. export DllCanUnloadNow \
  58. export DllGetClassObject \
  59. export DllRegisterServer \
  60. export DllUnregisterServer
  61. !endif
  62. ####
  63. !ifndef WIN16
  64. TARGETLIBS= \
  65. $(SDK_LIB_PATH)\wininet.lib \
  66. $(SDK_LIB_PATH)\urlmon.lib \
  67. $(SDK_LIB_PATH)\ole32.lib \
  68. $(SDK_LIB_PATH)\oleaut32.lib \
  69. $(SDK_LIB_PATH)\uuid.lib \
  70. $(SHELL_LIB_PATH)\shlwapip.lib \
  71. $(SDK_LIB_PATH)\user32.lib \
  72. $(SDK_LIB_PATH)\gdi32.lib \
  73. $(SDK_LIB_PATH)\kernel32.lib \
  74. $(SDK_LIB_PATH)\advapi32.lib
  75. !else
  76. TARGETLIBS = \
  77. $(SDK_LIB_PATH)\urlmon16.lib \
  78. $(SDK_LIB_PATH)\comctlie.lib \
  79. $(SDK_LIB_PATH)\windows.lib \
  80. $(SDK_LIB_PATH)\win16x.lib \
  81. $(SDK_LIB_PATH)\clibl.lib \
  82. $(SDK_LIB_PATH)\mathl.lib \
  83. $(SDK_LIB_PATH)\math87l.lib \
  84. $(SDK_LIB_PATH)\plibl.lib \
  85. $(SDK_LIB_PATH)\ole2.lib \
  86. $(SDK_LIB_PATH)\ole2disp.lib \
  87. $(SDK_LIB_PATH)\ole2nls.lib \
  88. $(SDK_LIB_PATH)\olecli.lib \
  89. $(SDK_LIB_PATH)\olesvr.lib \
  90. $(SDK_LIB_PATH)\typelib.lib \
  91. $(SDK_LIB_PATH)\shell.lib \
  92. $(SDK_LIB_PATH)\commdlg.lib \
  93. $(SDK_LIB_PATH)\mmsystem.lib \
  94. $(SDK_LIB_PATH)\mlang16.lib \
  95. $(SDK_LIB_PATH)\compobj.lib \
  96. $(SDK_LIB_PATH)\uuid16ex.lib \
  97. $(SDK_LIB_PATH)\uuid16.lib
  98. !endif