summaryrefslogtreecommitdiff
path: root/iup/srcview/config.mak
diff options
context:
space:
mode:
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