summaryrefslogtreecommitdiff
path: root/iup/srcview/config.mak
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
committerPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
commiteed0eb6a476d54ce19aeff137984aa981d9e3976 (patch)
tree807891636efd2f87dcbd261e971216269973ae07 /iup/srcview/config.mak
parentccc8261e4d48de89da4ddfe7b55e378ae0cd6f47 (diff)
Upgrading to iup 3.1
Diffstat (limited to 'iup/srcview/config.mak')
-rwxr-xr-xiup/srcview/config.mak29
1 files changed, 16 insertions, 13 deletions
diff --git a/iup/srcview/config.mak b/iup/srcview/config.mak
index 4967582..9d03f3e 100755
--- a/iup/srcview/config.mak
+++ b/iup/srcview/config.mak
@@ -12,18 +12,17 @@ USE_CD = Yes
USE_IUPCONTROLS = Yes
USE_IUP3 = Yes
-# ifdef USE_GTK
-# ifndef GTK_DEFAULT
-# # Build GTK version in IRIX,SunOS,AIX,Win32
-# APPNAME = iupviewgtk
-# endif
-# else
-# ifdef GTK_DEFAULT
-# # Build Motif version in Linux,Darwin,FreeBSD
-# USE_MOTIF = Yes
-# APPNAME = iupviewmot
-# endif
-# endif
+ifdef GTK_DEFAULT
+ ifdef USE_MOTIF
+ # Build Motif version in Linux,Darwin,FreeBSD
+ APPNAME = iupviewmot
+ endif
+else
+ ifdef USE_GTK
+ # Build GTK version in IRIX,SunOS,AIX,Win32
+ APPNAME = iupviewgtk
+ endif
+endif
ifeq "$(TEC_UNAME)" "SunOS510x86"
DEFINES = USE_NO_OPENGL
@@ -37,7 +36,11 @@ ifdef USE_IM
ifneq ($(findstring Win, $(TEC_SYSNAME)), )
LIBS = iupim iupimglib
else
- IUPLIB = $(IUP)/lib/$(TEC_UNAME)
+ ifdef DBG_DIR
+ IUPLIB = $(IUP)/lib/$(TEC_UNAME)d
+ else
+ IUPLIB = $(IUP)/lib/$(TEC_UNAME)
+ endif
SLIB = $(IUPLIB)/libiupim.a $(IUPLIB)/libiupimglib.a
endif
endif