From 25e85e1b809ec58ecac0f2e8fe48f74836f8e131 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 15 Jun 2010 00:18:43 -0700 Subject: Upgrading to CD 5.3 --- cd/src/config.mak | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'cd/src/config.mak') diff --git a/cd/src/config.mak b/cd/src/config.mak index 93c45de..f3c8bb1 100755 --- a/cd/src/config.mak +++ b/cd/src/config.mak @@ -27,14 +27,27 @@ SRCNULL := $(addprefix drv/, $(SRCNULL)) SRCCOMM = cd.c wd.c wdhdcpy.c rgb2map.c cd_vectortext.c cd_active.c \ cd_attributes.c cd_bitmap.c cd_image.c cd_primitives.c cd_text.c cd_util.c -SRC = $(SRCCOMM) $(SRCINTCGM) $(SRCDRV) $(SRCSIM) +SRC = $(SRCCOMM) $(SRCSVG) $(SRCINTCGM) $(SRCDRV) $(SRCSIM) ifneq ($(findstring Win, $(TEC_SYSNAME)), ) - SRC += $(SRCWIN32) + ifdef USE_GDK + SRC += $(SRCGDK) $(SRCNULL) + LIBNAME := cdgdk + USE_GTK = Yes + else + SRC += $(SRCWIN32) + endif LIBS = freetype6 else - SRC += $(SRCNULL) $(SRCX11) - USE_X11 = Yes + ifdef USE_GDK + SRC += $(SRCGDK) + LIBNAME := cdgdk + USE_GTK = Yes + else + SRC += $(SRCX11) + USE_X11 = Yes + endif + SRC += $(SRCNULL) LIBS = freetype endif -- cgit v1.2.3