From 5a422aba704c375a307a902bafe658342e209906 Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 17 Oct 2008 06:10:15 +0000 Subject: First commit - moving from LuaForge to SourceForge --- src/im_capture.mak | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 src/im_capture.mak (limited to 'src/im_capture.mak') diff --git a/src/im_capture.mak b/src/im_capture.mak new file mode 100644 index 0000000..b08c610 --- /dev/null +++ b/src/im_capture.mak @@ -0,0 +1,67 @@ +PROJNAME = im +LIBNAME = im_capture +OPT = YES + +INCLUDES = ../include + +# New Direct X does not includes Direct Show +# Direct Show is included in latest Platform SDK, but depends on Direct X... +DXSDK = d:/lng/dxsdk +WINSDK = d:/lng/winsdk + +ifeq ($(TEC_UNAME), vc6) + #Use old Direct X with Direct Show + #But do NOT use the VC6 strmiids.lib + PLATSDK = d:/lng/vc7/PlatformSDK +endif + +ifeq ($(TEC_UNAME), dll) + #Use old Direct X with Direct Show + PLATSDK = d:/lng/vc7/PlatformSDK + LDIR = ../lib/$(TEC_UNAME) +endif + +ifeq ($(TEC_UNAME), vc8) + INCLUDES += $(WINSDK)/include + LDIR = $(WINSDK)/lib +endif + +ifeq ($(TEC_UNAME), dll8) + INCLUDES += $(WINSDK)/include + LDIR = $(WINSDK)/lib +endif + +ifeq ($(TEC_UNAME), vc8_64) + INCLUDES += $(WINSDK)/include + LDIR = $(WINSDK)/lib/amd64 +endif + +ifeq ($(TEC_UNAME), dll8_64) + INCLUDES += $(WINSDK)/include + LDIR = $(WINSDK)/lib/amd64 +endif + +ifneq ($(findstring Win, $(TEC_SYSNAME)), ) + INCLUDES += $(DXSDK)/include + SRC = im_capture_dx.cpp +endif + +#ifneq ($(findstring Linux, $(TEC_UNAME)), ) +# SRC = im_capture_v4l.cpp +#endif + +LIBS = strmiids + +mingw3-dll: + @echo Importing MingW stub library + @cd ../lib/dll + @dlltool -d im_capture.def -D im_capture.dll -l ../lib/mingw3/libim_capture.a + @cd ../src + +bc56-dll: + @echo Importing Bcc stub library + @d:/lng/cbuilderx/bin/implib -a ../lib/bc56/im_capture.lib ../lib/dll/im_capture.dll + +#owc1-dll: +# @wlib -b -c -n -q -fo -io ../lib/owc1/im_capture.lib @im_capture.wlib +# TEST @wlib -b -c -n -q -fo -io ../lib/owc1/im_capture.lib +../lib/dll/im_capture.dll -- cgit v1.2.3