From 3622e91a1d50508cf527b40bde1ee5e3b3742d31 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 24 May 2009 18:31:07 -0700 Subject: Enabling libucl depending on the environment. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index da2bf4c..eb398a9 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,10 @@ ifeq ($(MACHINE),x86_64) ifeq ($(DISTRIB),Debian) #LDFLAGS_READLINE=/usr/lib32/libreadline.a /usr/lib32/libncurses.a endif +ifeq ($(DISTRIB),Debian) +HAVES = -DHAVE_UCL +LDFLAGS = -lucl +else endif SHARED_FLAGS=-shared SHARED_EXT=so @@ -47,7 +51,7 @@ INCLUDES = \ -I /usr/include/oracle/11.1.0.1/client/ \ -I ../PSX-Bundle/includes -HAVES = -DHAVE_VSSCANF -DHAVE_LIBJPEG -DHAVE_FCNTL -DHAVE_MYSQL -DHAVE_UNISTD_H -DHAVE_FORK -DHAVE_PIPE -DHAVE_FSYNC -DHAVE_MALLOC_H -DHAVE_ASPRINTF -DHAVE_BYTESWAP_H +HAVES += -DHAVE_VSSCANF -DHAVE_LIBJPEG -DHAVE_FCNTL -DHAVE_MYSQL -DHAVE_UNISTD_H -DHAVE_FORK -DHAVE_PIPE -DHAVE_FSYNC -DHAVE_MALLOC_H -DHAVE_ASPRINTF -DHAVE_BYTESWAP_H LIBS += -lz -ldl -lpthread -- cgit v1.2.3