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/test/config.mak | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100755 iup/test/config.mak (limited to 'iup/test/config.mak') diff --git a/iup/test/config.mak b/iup/test/config.mak new file mode 100755 index 0000000..2764e6c --- /dev/null +++ b/iup/test/config.mak @@ -0,0 +1,115 @@ +APPNAME = iuptest +APPTYPE = CONSOLE + +INCLUDES = ../include + +ifdef USE_GTK + ifndef GTK_DEFAULT + # Build GTK version in IRIX,SunOS,AIX,Win32 + APPNAME = iuptestgtk + endif +else + ifdef GTK_DEFAULT + # Build Motif version in Linux,Darwin,FreeBSD + USE_MOTIF = Yes + APPNAME = iuptestmot + endif +endif + +USE_IUP3 = Yes +USE_STATIC = Yes +IUP = .. + +#TEC_UNAME_DIR = Win32.$(TEC_UNAME) +#DBG = Yes + +# 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 + + +#ifneq ($(findstring Win, $(TEC_SYSNAME)), ) +# LIBS += iupimglib +#else +# SLIB += $(IUP)/lib/$(TEC_UNAME)/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 += $(IUP)/lib/$(TEC_UNAME)/libiup_pplot.a +# SLIB += $(CD)/lib/$(TEC_UNAME)/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 -- cgit v1.2.3