2 ###############################
4 # ! Chris - WRONG FILE !
6 ###############################
9 CXXFLAGS_DEV = -g -O0 -Wall -Woverloaded-virtual -Wshadow -Werror -DDEV -D_GNU_SOURCE $(INCLUDES)
10 CXXFLAGS_REL = /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "NEW_DEMUXER" /nologo /EHsc /MD /GS /W3 /c /TP
11 LDFLAGS = /INCREMENTAL:NO /NOLOGO /NODEFAULTLIB /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /LIBPATH:"$(DXSDK_DIR)\Lib\x86"
13 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
15 LIBSLEGACY = gdiplus.lib
17 LIBSCURRENT = d3d10_1.lib d2d1.lib dwrite.lib windowscodecs.lib
24 OBJECTSWIN = winmain.o threadwin.o remotewin.o ledwin.o mtdwin.o videowin.o audiowin.o windowsosd.o dsallocator.o dssourcefilter.o dssourcepin.o wwinvideofilter.o wwinvideoh264filter.o wwinaudiofilter.o wwinmp3audiofilter.o wjpegsimple.o
27 OBJECTSWINLEGACY = osdvector.o surfacevector.o osdwinpixel.o surfacewin.o fonts/helvB24.o fonts/helvB18.o
29 OBJECTSWINCURRENT = osdvector.o surfacevector.o osdwinvector.o
33 OBJECTS = $(OBJECTS1) $(OBJECTSWIN)
35 #.PHONY: clean fresh all install strip
41 CXXFLAGS= /D "WINDOWS_LEGACY" $(CXXFLAGS_REL)
42 OBJECTS = $(OBJECTS) $(OBJECTSWINLEGACY)
43 LIBS = $(LIBS) $(LIBSLEGACY)
44 release:: vompclient-legacy.exe
47 vompclient-legacy.exe: $(OBJECTS) vompwin.res
48 link $(LDFLAGS) /OUT:"vompclient-legacy.exe" $(LIBS) $(OBJECTS) vompwin.res
53 CXXFLAGS= $(CXXFLAGS_REL)
54 OBJECTS = $(OBJECTS) $(OBJECTSWINCURRENT)
55 LIBS = $(LIBS) $(LIBSCURRENT)
56 release:: vompclient.exe
58 vompclient.exe: $(OBJECTS) vompwin.res
59 link $(LDFLAGS) /OUT:"vompclient.exe" $(LIBS) $(OBJECTS) vompwin.res
66 $(CXX) $(CXXFLAGS) /Fo$*.o $*.cc
69 vompwin.res:vompwin.rc
70 $(RC) /d WINDOWS_LEGACY /fo"vompwin.res" "vompwin.rc"
72 vompwin.res:vompwin.rc
73 $(RC) /fo"vompwin.res" "vompwin.rc"
79 del vompclient-legacy.exe