diff options
author | Pixel <pixel@nobis-crew.org> | 2010-06-15 00:59:57 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2010-06-15 00:59:57 -0700 |
commit | eed0eb6a476d54ce19aeff137984aa981d9e3976 (patch) | |
tree | 807891636efd2f87dcbd261e971216269973ae07 /iup/test/config.mak | |
parent | ccc8261e4d48de89da4ddfe7b55e378ae0cd6f47 (diff) |
Upgrading to iup 3.1
Diffstat (limited to 'iup/test/config.mak')
-rwxr-xr-x | iup/test/config.mak | 42 |
1 files changed, 27 insertions, 15 deletions
diff --git a/iup/test/config.mak b/iup/test/config.mak index 2764e6c..b97ae83 100755 --- a/iup/test/config.mak +++ b/iup/test/config.mak @@ -1,27 +1,38 @@ +PROJNAME = iup 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 +ifdef GTK_DEFAULT + ifdef USE_MOTIF # Build Motif version in Linux,Darwin,FreeBSD - USE_MOTIF = Yes 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 = .. -#TEC_UNAME_DIR = Win32.$(TEC_UNAME) -#DBG = Yes +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 @@ -58,12 +69,13 @@ SRC += zbox.c SRC += scanf.c SRC += sbox.c SRC += clipboard.c +SRC += split.c #ifneq ($(findstring Win, $(TEC_SYSNAME)), ) # LIBS += iupimglib #else -# SLIB += $(IUP)/lib/$(TEC_UNAME)/libiupimglib.a +# SLIB += $(IUPLIB)/libiupimglib.a #endif USE_CD = Yes @@ -96,8 +108,8 @@ ifneq ($(findstring Win, $(TEC_SYSNAME)), ) # LIBS += cdpdflib # LDIR += $(IUP)/lib/$(TEC_UNAME) else - SLIB += $(IUP)/lib/$(TEC_UNAME)/libiup_pplot.a -# SLIB += $(CD)/lib/$(TEC_UNAME)/libcdpdflib.a + SLIB += $(IUPLIB)/libiup_pplot.a +# SLIB += $(CDLIB)/libcdpdflib.a endif ifneq ($(findstring Win, $(TEC_SYSNAME)), ) |