summaryrefslogtreecommitdiff
path: root/src/im_wmv.mak
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-18 03:08:16 +0000
committerscuri <scuri>2010-06-18 03:08:16 +0000
commit3398fd37a19b5eda77fc9feab59804137795f14a (patch)
treedf624a72acf2345713cae0698a0ee8f4e6a3fe44 /src/im_wmv.mak
parenta2d2bdbb8feb5620c620ddd7ad9eeb485908205c (diff)
*** empty log message ***
Diffstat (limited to 'src/im_wmv.mak')
-rw-r--r--src/im_wmv.mak36
1 files changed, 27 insertions, 9 deletions
diff --git a/src/im_wmv.mak b/src/im_wmv.mak
index fef3c40..d6e4cfc 100644
--- a/src/im_wmv.mak
+++ b/src/im_wmv.mak
@@ -3,20 +3,38 @@ LIBNAME = im_wmv
OPT = YES
SRC = im_format_wmv.cpp
-
-ifneq ($(findstring _64, $(TEC_UNAME)), )
- WMFSDK = d:/lng/wmfsdk95
- INCLUDES = $(WMFSDK)/include
+
+ifneq ($(findstring vc9, $(TEC_UNAME)), )
+ USE_WIN_SDK = Yes
+endif
+ifneq ($(findstring vc10, $(TEC_UNAME)), )
+ USE_WIN_SDK = Yes
+endif
+ifneq ($(findstring dll9, $(TEC_UNAME)), )
+ USE_WIN_SDK = Yes
+endif
+ifneq ($(findstring dll10, $(TEC_UNAME)), )
+ USE_WIN_SDK = Yes
+endif
+
+ifndef USE_WIN_SDK
+ #vc6-vc8 needs an external SDK
+ ifneq ($(findstring _64, $(TEC_UNAME)), )
+ WMFSDK = d:/lng/wmfsdk95
+ INCLUDES = $(WMFSDK)/include
+ else
+ # WMFSDK = d:/lng/wmfsdk11
+ # EXTRAINCS = $(WMFSDK)/include
+ WMFSDK = d:/lng/wmfsdk9
+ INCLUDES = $(WMFSDK)/include
+ endif
+ LDIR = $(WMFSDK)/lib
else
-# WMFSDK = d:/lng/wmfsdk11
-# EXTRAINCS = $(WMFSDK)/include
- WMFSDK = d:/lng/wmfsdk9
- INCLUDES = $(WMFSDK)/include
+ #vc9-vc10, wmf sdk is inside Windows SDK
endif
DEFINES = _CRT_NON_CONFORMING_SWPRINTFS
-LDIR = $(WMFSDK)/lib
LIBS = wmvcore
USE_IM = Yes