1 CXXFLAGS_DEV = -g -O0 -Wall -Woverloaded-virtual -Wshadow -Werror -DDEV -D_GNU_SOURCE $(INCLUDES)
2 CXXFLAGS_REL = /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "NEW_DEMUXER" /nologo /EHsc /MD /GS /W3 /c /TP
3 LDFLAGS = /INCREMENTAL:NO /NOLOGO /NODEFAULTLIB /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /LIBPATH:"$(DXSDK_DIR)\Lib\x86"
5 LIBS = Msvcrt.lib Ws2_32.lib shlwapi.lib d3d9.lib Iphlpapi.lib Strmiids.lib Mfuuid.lib winmm.lib MSVCPRT.lib kernel32.lib user32.lib gdi32.lib ole32.lib uuid.lib oleaut32.lib
7 LIBSLEGACY = gdiplus.lib
9 LIBSCURRENT = d3d10_1.lib d2d1.lib dwrite.lib windowscodecs.lib
15 OBJECTS = $(OBJ_COMMON) $(OBJ_WINDOWS)
17 #.PHONY: clean fresh all install strip
23 CXXFLAGS= /D "WINDOWS_LEGACY" $(CXXFLAGS_REL)
24 OBJECTS = $(OBJECTS) $(OBJ_WINLEGACY)
25 LIBS = $(LIBS) $(LIBSLEGACY)
26 release:: vompclient-legacy.exe
29 vompclient-legacy.exe: $(OBJECTS) vompwin.res
30 link $(LDFLAGS) /OUT:"vompclient-legacy.exe" $(LIBS) $(OBJECTS) vompwin.res
35 CXXFLAGS= $(CXXFLAGS_REL)
36 OBJECTS = $(OBJECTS) $(OBJ_WINCURRENT)
37 LIBS = $(LIBS) $(LIBSCURRENT)
38 release:: vompclient.exe
40 vompclient.exe: $(OBJECTS) vompwin.res
41 link $(LDFLAGS) /OUT:"vompclient.exe" $(LIBS) $(OBJECTS) vompwin.res
48 $(CXX) $(CXXFLAGS) /Fo$*.o $*.cc
51 vompwin.res:vompwin.rc
52 $(RC) /d WINDOWS_LEGACY /fo"vompwin.res" "vompwin.rc"
54 vompwin.res:vompwin.rc
55 $(RC) /fo"vompwin.res" "vompwin.rc"
61 del vompclient-legacy.exe