blob: 9d03f3e6576a56e1ea4b75a6dc58e814b28f3ca9 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
PROJNAME = iup
APPNAME = iupview
OPT = YES
SRC = iup_view.c
IUP := ..
LINKER = $(CPPC)
USE_CD = Yes
USE_IUPCONTROLS = Yes
USE_IUP3 = Yes
ifdef GTK_DEFAULT
ifdef USE_MOTIF
# Build Motif version in Linux,Darwin,FreeBSD
APPNAME = iupviewmot
endif
else
ifdef USE_GTK
# Build GTK version in IRIX,SunOS,AIX,Win32
APPNAME = iupviewgtk
endif
endif
ifeq "$(TEC_UNAME)" "SunOS510x86"
DEFINES = USE_NO_OPENGL
else
USE_OPENGL = Yes
endif
USE_IM = Yes
ifdef USE_IM
DEFINES += USE_IM
ifneq ($(findstring Win, $(TEC_SYSNAME)), )
LIBS = iupim iupimglib
else
ifdef DBG_DIR
IUPLIB = $(IUP)/lib/$(TEC_UNAME)d
else
IUPLIB = $(IUP)/lib/$(TEC_UNAME)
endif
SLIB = $(IUPLIB)/libiupim.a $(IUPLIB)/libiupimglib.a
endif
endif
USE_STATIC = Yes
ifneq ($(findstring Win, $(TEC_SYSNAME)), )
SRC += ../etc/iup.rc
endif
INCLUDES = ../src
ifeq ($(TEC_UNAME), vc8)
ifdef DBG
#debug info not working for vc8 linker
define DBG
endef
endif
endif
|