summaryrefslogtreecommitdiff
path: root/iup/srccontrols/config.mak
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-11-04 11:56:41 -0800
committerPixel <pixel@nobis-crew.org>2009-11-04 11:59:33 -0800
commitd577d991b97ae2b5ee1af23641bcffc3f83af5b2 (patch)
tree590639d50205d1bcfaff2a7d2dc6ebf3f373c7ed /iup/srccontrols/config.mak
Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux.
Diffstat (limited to 'iup/srccontrols/config.mak')
-rwxr-xr-xiup/srccontrols/config.mak48
1 files changed, 48 insertions, 0 deletions
diff --git a/iup/srccontrols/config.mak b/iup/srccontrols/config.mak
new file mode 100755
index 0000000..394d607
--- /dev/null
+++ b/iup/srccontrols/config.mak
@@ -0,0 +1,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_oldtabs.c iup_oldval.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