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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
PROJNAME = iup
APPNAME = iuptest
APPTYPE = CONSOLE
ifdef GTK_DEFAULT
ifdef USE_MOTIF
# Build Motif version in Linux,Darwin,FreeBSD
APPNAME = iuptestmot
endif
else
ifdef USE_GTK
# Build GTK version in IRIX,SunOS,AIX,Win32
APPNAME = iuptestgtk
endif
endif
ifdef USE_GDK
APPNAME = iuptestgdk
endif
INCLUDES = ../include
USE_IUP3 = Yes
USE_STATIC = Yes
IUP = ..
ifdef DBG_DIR
IUPLIB = $(IUP)/lib/$(TEC_UNAME)d
CDLIB = $(CD)/lib/$(TEC_UNAME)d
IMLIB = $(IM)/lib/$(TEC_UNAME)d
else
IUPLIB = $(IUP)/lib/$(TEC_UNAME)
CDLIB = $(CD)/lib/$(TEC_UNAME)
IMLIB = $(IM)/lib/$(TEC_UNAME)
endif
# Must uncomment all SRC lines
DEFINES = BIG_TEST
SRC += bigtest.c
SRC += tray.c
SRC += dialog.c
SRC += predialogs.c
SRC += timer.c
SRC += label.c
SRC += canvas.c
SRC += frame.c
SRC += idle.c
SRC += button.c
SRC += toggle.c
SRC += vbox.c
SRC += hbox.c
SRC += progressbar.c
SRC += text.c
SRC += val.c
SRC += tabs.c
SRC += sample.c
SRC += menu.c
SRC += spin.c
SRC += text_spin.c
SRC += list.c
SRC += sysinfo.c
SRC += mdi.c
SRC += getparam.c
SRC += getcolor.c
SRC += class_conf.c
SRC += tree.c
SRC += zbox.c
SRC += scanf.c
SRC += sbox.c
SRC += clipboard.c
SRC += split.c
#ifneq ($(findstring Win, $(TEC_SYSNAME)), )
# LIBS += iupimglib
#else
# SLIB += $(IUPLIB)/libiupimglib.a
#endif
USE_CD = Yes
SRC += canvas_scrollbar.c
SRC += canvas_cddbuffer.c
SRC += canvas_cdsimple.c
USE_OPENGL = Yes
DEFINES += USE_OPENGL
SRC += glcanvas.c
SRC += glcanvas_cube.c
USE_IUPCONTROLS = Yes
SRC += colorbrowser.c
SRC += dial.c
SRC += colorbar.c
SRC += cells_numbering.c
SRC += cells_degrade.c
SRC += cells_checkboard.c
SRC += gauge.c
SRC += matrix.c
SRC += matrix_cbs.c
SRC += matrix_cbmode.c
LINKER = g++
DEFINES += PPLOT_TEST
SRC += pplot.c
ifneq ($(findstring Win, $(TEC_SYSNAME)), )
LIBS += iup_pplot
# LIBS += cdpdflib
# LDIR += $(IUP)/lib/$(TEC_UNAME)
else
SLIB += $(IUPLIB)/libiup_pplot.a
# SLIB += $(CDLIB)/libcdpdflib.a
endif
ifneq ($(findstring Win, $(TEC_SYSNAME)), )
SRC += iuptest.rc
else
ifneq ($(findstring cygw, $(TEC_UNAME)), )
SRC += iuptest.rc
endif
endif
#ifneq ($(findstring Win, $(TEC_SYSNAME)), )
# USE_GDIPLUS=Yes
#else
# USE_XRENDER=Yes
#endif
|