Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include ../../arch/config/common.mk
- ifeq ("$(VCINSTALLDIR)x","x")
- MSVCDir := $(VCINSTALLDIR)
- endif
- ############################################################
- # Remember to reset DM_ROOT to your local configuration...
- ############################################################
- ifeq ("$(DM_ROOT)x","x")
- DM_ROOT = E:\Serena\Dimensions 12.2\CM
- endif
- CC = cl
- CCX = cl
- #
- # The use of INCLUDE may cause ADG include errors on some installations
- # Please change the value of the INCLUDE environment variable appropriately.
- #
- INCLUDES = /I"C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/include" /I"$(DM_ROOT)/pcms_api" \
- /I"../../common/include"
- CFLAGS = /Zi /Od /D "WIN32" /D "_CONSOLE" \
- /D "x86" /D "_WIN32" \
- /D "STRICT" /D "_CRT_SECURE_NO_WARNINGS" \
- /D "_MBCS" /D "PCMSDLL" \
- /nologo /Gm- /EHac /W3 /WX /Gy /GF /GS /RTCsu /Zc:forScope \
- -wd4995 -wd4100 -wd4127 -wd4244 -wd4516 -wd4512 -wd4511 \
- /D "_CRT_SECURE_NO_WARNINGS" /D "_CRT_NONSTDC_NO_DEPRECATE" \
- /D "_SCL_SECURE_NO_WARNINGS" /D "_CRT_SECURE_NO_DEPRECATE" \
- /c $(INCLUDES)
- LIBTAG = m
- ifndef PROG
- ifndef MBCS_NEEDED
- CFLAGS += /D "DM_UNICODE"
- ifdef DEBUG
- LIBTAG = uD
- else
- LIBTAG = u
- endif
- endif
- endif
- CHARSET_TAG = $(LIBTAG)
- ifdef DEBUG
- CFLAGS += /D "DEBUG" /MDd
- ifdef PROG
- LIBTAG = mD
- endif
- endif
- ifndef DEBUG
- CFLAGS += /MD
- endif
- CCXFLAGS = $(CFLAGS)
- ADG_CCXFLAGS = $(CCXFLAGS)
- MT = mt.exe
- MTOUTFLAG = /nologo /outputresource:
- MANIFESTFLAGS = /MANIFEST /MANIFESTFILE
- STRIP =
- LD = link
- LDSHARED = /dll /opt:ref /fixed:no /incremental:no /nologo
- ifdef DEBUG
- LDSHARED += /debug
- endif
- LDPROG = /nologo /subsystem:console /incremental:no /map /machine:I386
- ifdef DEBUG
- LDPROG += /debug
- endif
- LDFLAGS =
- APILIB = "$(DM_ROOT)/pcms_api/pcms_api10$(LIBTAG).lib" \
- "$(DM_ROOT)/pcms_api/apiclient10$(LIBTAG).lib" \
- "$(DM_ROOT)/pcms_api/clientapi10$(LIBTAG).lib" \
- "$(DM_ROOT)/pcms_api/libnetclient10$(LIBTAG).lib" \
- "$(DM_ROOT)/pcms_api/libutil10$(LIBTAG).lib"
- #LDAPLIB = $(DM_ROOT)/pcms_api/ldapsdk.lib
- EVENTLIB = $(APILIB)
- LIBS = $(APILIB) $(LDAPLIB) \
- kernel32.lib user32.lib gdi32.lib winspool.lib \
- comdlg32.lib advapi32.lib shell32.lib ole32.lib \
- oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
- ifdef DEBUG
- LIBS += msvcrtd.lib msvcprtd.lib oleaut32.lib oledlg.lib
- endif
- OBJSUF = obj
- SHLIBSUF = dll
- EXESUF = .exe
- LDLIBS=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement