8 |
# Requires GNU Make because of shell expansion performed at a bad time with |
# Requires GNU Make because of shell expansion performed at a bad time with |
9 |
# other make programs (even using := variable assignments) |
# other make programs (even using := variable assignments) |
10 |
# |
# |
11 |
# $Id: Makefile,v 1.3 2004-07-20 12:18:44 suxen_drol Exp $ |
# $Id: Makefile,v 1.7 2008-11-27 11:57:51 Isibaar Exp $ |
12 |
############################################################################## |
############################################################################## |
13 |
|
|
14 |
include sources.inc |
include sources.inc |
19 |
# if a release prior to "directx v9.0 sdk update (summer 2003)" is installed, |
# if a release prior to "directx v9.0 sdk update (summer 2003)" is installed, |
20 |
# uncomment the DXBASECLASSES=$(DXTREE)/Samples/MultiMedia/DirectShow/BaseClasses |
# uncomment the DXBASECLASSES=$(DXTREE)/Samples/MultiMedia/DirectShow/BaseClasses |
21 |
############################################################################## |
############################################################################## |
22 |
DXTREE=/c/DX9VCSDK |
DXTREE=/c/DX90SDK |
23 |
|
# DXTREE=/c/DXVCSDK |
24 |
DXBASECLASSES=$(DXTREE)/Samples/C++/DirectShow/BaseClasses |
DXBASECLASSES=$(DXTREE)/Samples/C++/DirectShow/BaseClasses |
25 |
# DXBASECLASSES=$(DXTREE)/Samples/MultiMedia/DirectShow/BaseClasses |
# DXBASECLASSES=$(DXTREE)/Samples/MultiMedia/DirectShow/BaseClasses |
26 |
|
|
35 |
# The `mingw-runtime` package is required when building with -mno-cygwin |
# The `mingw-runtime` package is required when building with -mno-cygwin |
36 |
CFLAGS += -mthreads |
CFLAGS += -mthreads |
37 |
CFLAGS += -I$(SRC_DIR)/w32api -I$(LOCAL_XVID_SRCTREE) |
CFLAGS += -I$(SRC_DIR)/w32api -I$(LOCAL_XVID_SRCTREE) |
|
CFLAGS += -D_WIN32_IE=0x0500 |
|
38 |
CFLAGS += -mno-cygwin |
CFLAGS += -mno-cygwin |
39 |
|
|
40 |
CXXFLAGS +=-mthreads |
CXXFLAGS +=-mthreads |
54 |
CFLAGS += -fstrength-reduce |
CFLAGS += -fstrength-reduce |
55 |
CFLAGS += -finline-functions |
CFLAGS += -finline-functions |
56 |
CFLAGS += -fgcse |
CFLAGS += -fgcse |
|
CFLAGS += -freduce-all-givs |
|
57 |
CFLAGS += -ffast-math |
CFLAGS += -ffast-math |
58 |
|
|
59 |
CXXFLAGS += -O2 |
CXXFLAGS += -O2 |
114 |
$(DXBASECLASSES)/strmbase.lib \ |
$(DXBASECLASSES)/strmbase.lib \ |
115 |
-luuid -lwinmm -lole32 -loleaut32 -lcomctl32 -lstdc++ |
-luuid -lwinmm -lole32 -loleaut32 -lcomctl32 -lstdc++ |
116 |
|
|
|
|
|
117 |
clean: |
clean: |
118 |
@echo " Cl: Object files and target lib" |
@echo " Cl: Object files and target lib" |
119 |
@$(RM) $(BUILD_DIR) |
@$(RM) $(BUILD_DIR) |