From d577d991b97ae2b5ee1af23641bcffc3f83af5b2 Mon Sep 17 00:00:00 2001 From: Pixel Date: Wed, 4 Nov 2009 11:56:41 -0800 Subject: Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux. --- iup/srccontrols/config.mak | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100755 iup/srccontrols/config.mak (limited to 'iup/srccontrols/config.mak') 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 -- cgit v1.2.3