summaryrefslogtreecommitdiff
path: root/src/im_wmv.mak
blob: d6e4cfc6eb5173544930d75dc1bd5b9e312bd368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
PROJNAME = im
LIBNAME = im_wmv
OPT = YES

SRC = im_format_wmv.cpp

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
  #vc9-vc10, wmf sdk is inside Windows SDK
endif
  
DEFINES = _CRT_NON_CONFORMING_SWPRINTFS                                     

LIBS = wmvcore

USE_IM = Yes
IM = ..