diff options
author | scuri <scuri> | 2010-06-10 20:17:50 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-06-10 20:17:50 +0000 |
commit | 2fb345fc972465ade03cc1d527ad3c8db3438ac5 (patch) | |
tree | 3fd9b1f7e2b12fd79c2000c0f305e8ef7763364a /src/config.mak | |
parent | c5f7b4e29afdd70a0f05d8785619585a45916b27 (diff) |
*** empty log message ***
Diffstat (limited to 'src/config.mak')
-rw-r--r-- | src/config.mak | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/config.mak b/src/config.mak index ec852fb..d9af743 100644 --- a/src/config.mak +++ b/src/config.mak @@ -41,7 +41,7 @@ SRC = $(SRCCOMM) $(SRCSVG) $(SRCINTCGM) $(SRCDRV) $(SRCSIM) ifneq ($(findstring Win, $(TEC_SYSNAME)), ) ifdef USE_GDK SRC += $(SRCGDK) $(SRCNULL) $(SRCCAIRO) - LIBNAME := cdgdk + LIBNAME := $(LIBNAME)gdk USE_GTK = Yes LIBS += cairo else @@ -51,10 +51,17 @@ ifneq ($(findstring Win, $(TEC_SYSNAME)), ) else ifdef USE_GDK SRC += $(SRCGDK) $(SRCCAIRO) - LIBNAME := cdgdk USE_GTK = Yes LIBS += cairo + ifndef GTK_DEFAULT + # Build GDK version in IRIX,SunOS,AIX,Win32 + LIBNAME := $(LIBNAME)gdk + endif else + ifdef GTK_DEFAULT + # Build X11 version in Linux,Darwin,FreeBSD + LIBNAME := $(LIBNAME)x11 + endif SRC += $(SRCX11) USE_X11 = Yes endif |