Advertisement
Guest User

Untitled

a guest
Mar 12th, 2013
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. include ../../arch/config/common.mk
  2.  
  3. ifeq ("$(VCINSTALLDIR)x","x")
  4. MSVCDir := $(VCINSTALLDIR)
  5. endif
  6.  
  7. ############################################################
  8. # Remember to reset DM_ROOT to your local configuration...
  9. ############################################################
  10. ifeq ("$(DM_ROOT)x","x")
  11. DM_ROOT = E:\Serena\Dimensions 12.2\CM
  12. endif
  13.  
  14.  
  15. CC = cl
  16. CCX = cl
  17. #
  18. # The use of INCLUDE may cause ADG include errors on some installations
  19. # Please change the value of the INCLUDE environment variable appropriately.
  20. #
  21. INCLUDES = /I"C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/include" /I"$(DM_ROOT)/pcms_api" \
  22. /I"../../common/include"
  23. CFLAGS = /Zi /Od /D "WIN32" /D "_CONSOLE" \
  24. /D "x86" /D "_WIN32" \
  25. /D "STRICT" /D "_CRT_SECURE_NO_WARNINGS" \
  26. /D "_MBCS" /D "PCMSDLL" \
  27. /nologo /Gm- /EHac /W3 /WX /Gy /GF /GS /RTCsu /Zc:forScope \
  28. -wd4995 -wd4100 -wd4127 -wd4244 -wd4516 -wd4512 -wd4511 \
  29. /D "_CRT_SECURE_NO_WARNINGS" /D "_CRT_NONSTDC_NO_DEPRECATE" \
  30. /D "_SCL_SECURE_NO_WARNINGS" /D "_CRT_SECURE_NO_DEPRECATE" \
  31. /c $(INCLUDES)
  32.  
  33. LIBTAG = m
  34.  
  35. ifndef PROG
  36. ifndef MBCS_NEEDED
  37. CFLAGS += /D "DM_UNICODE"
  38. ifdef DEBUG
  39. LIBTAG = uD
  40. else
  41. LIBTAG = u
  42. endif
  43. endif
  44. endif
  45.  
  46.  
  47. CHARSET_TAG = $(LIBTAG)
  48.  
  49. ifdef DEBUG
  50. CFLAGS += /D "DEBUG" /MDd
  51. ifdef PROG
  52. LIBTAG = mD
  53. endif
  54. endif
  55.  
  56. ifndef DEBUG
  57. CFLAGS += /MD
  58. endif
  59.  
  60. CCXFLAGS = $(CFLAGS)
  61. ADG_CCXFLAGS = $(CCXFLAGS)
  62. MT = mt.exe
  63. MTOUTFLAG = /nologo /outputresource:
  64.  
  65. MANIFESTFLAGS = /MANIFEST /MANIFESTFILE
  66. STRIP =
  67. LD = link
  68. LDSHARED = /dll /opt:ref /fixed:no /incremental:no /nologo
  69.  
  70. ifdef DEBUG
  71. LDSHARED += /debug
  72. endif
  73.  
  74. LDPROG = /nologo /subsystem:console /incremental:no /map /machine:I386
  75. ifdef DEBUG
  76. LDPROG += /debug
  77. endif
  78.  
  79. LDFLAGS =
  80. APILIB = "$(DM_ROOT)/pcms_api/pcms_api10$(LIBTAG).lib" \
  81. "$(DM_ROOT)/pcms_api/apiclient10$(LIBTAG).lib" \
  82. "$(DM_ROOT)/pcms_api/clientapi10$(LIBTAG).lib" \
  83. "$(DM_ROOT)/pcms_api/libnetclient10$(LIBTAG).lib" \
  84. "$(DM_ROOT)/pcms_api/libutil10$(LIBTAG).lib"
  85.  
  86.  
  87.  
  88. #LDAPLIB = $(DM_ROOT)/pcms_api/ldapsdk.lib
  89. EVENTLIB = $(APILIB)
  90. LIBS = $(APILIB) $(LDAPLIB) \
  91. kernel32.lib user32.lib gdi32.lib winspool.lib \
  92. comdlg32.lib advapi32.lib shell32.lib ole32.lib \
  93. oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
  94.  
  95. ifdef DEBUG
  96. LIBS += msvcrtd.lib msvcprtd.lib oleaut32.lib oledlg.lib
  97. endif
  98.  
  99. OBJSUF = obj
  100. SHLIBSUF = dll
  101. EXESUF = .exe
  102.  
  103. LDLIBS=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement