summaryrefslogtreecommitdiff
path: root/iup/srccontrols/config.mak
blob: 10f11e12aedff7e15b0c06387c799fb1d7eb0113 (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
PROJNAME = iup
LIBNAME = iupcontrols
OPT = YES

INCLUDES = ../include ../src .

SRCCOLOR = iup_colorbrowser.c iup_colorhsi.c iup_colorbrowserdlg.c
SRCCOLOR := $(addprefix color/, $(SRCCOLOR))

SRCMATRIX = iupmat_key.c iupmat_mark.c iupmat_aux.c iupmat_mem.c iupmat_mouse.c iupmat_numlc.c \
            iupmat_colres.c iupmat_draw.c iupmat_focus.c iupmat_getset.c iupmatrix.c \
            iupmat_scroll.c iupmat_edit.c
SRCMATRIX := $(addprefix matrix/, $(SRCMATRIX))

SRC = iup_cdutil.c iup_gauge.c iup_cells.c iup_colorbar.c iup_controls.c \
      iup_dial.c iup_oldmask.c \
      $(SRCCOLOR) $(SRCMATRIX)

LIBS = iup iupcd
LDIR = ../lib/$(TEC_UNAME)
USE_CD = Yes

# force the definition of math functions using float
# Some compilers do not define them
ifeq ($(TEC_UNAME), dll)
  DEFINES += IUP_DEFMATHFLOAT
endif         
ifeq ($(TEC_UNAME), vc6)
  DEFINES += IUP_DEFMATHFLOAT
endif         
ifeq ($(TEC_UNAME), dll7)
  DEFINES += IUP_DEFMATHFLOAT
endif         
ifeq ($(TEC_UNAME), vc7)
  DEFINES += IUP_DEFMATHFLOAT
endif         
ifneq ($(findstring ow, $(TEC_UNAME)), )
  DEFINES += IUP_DEFMATHFLOAT
endif         
ifneq ($(findstring bc, $(TEC_UNAME)), )
  DEFINES += IUP_DEFMATHFLOAT
endif
ifneq ($(findstring AIX, $(TEC_UNAME)), )
  DEFINES += IUP_DEFMATHFLOAT
endif
ifneq ($(findstring SunOS, $(TEC_UNAME)), )
  DEFINES += IUP_DEFMATHFLOAT
endif