From eed0eb6a476d54ce19aeff137984aa981d9e3976 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 15 Jun 2010 00:59:57 -0700 Subject: Upgrading to iup 3.1 --- iup/srcview/config.mak | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'iup/srcview/config.mak') 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 -- cgit v1.2.3