diff options
author | Pixel <pixel@nobis-crew.org> | 2009-05-24 18:31:07 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-05-24 18:31:07 -0700 |
commit | 3622e91a1d50508cf527b40bde1ee5e3b3742d31 (patch) | |
tree | 70cdc8bd0b4a5777aec42f6b1c30f6a9acca3b78 /Makefile | |
parent | df4d257ad292a5d43706078c54bc11c20c733371 (diff) |
Enabling libucl depending on the environment.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |