From a59ce6f6bdbce22e19857d0604143227f0956ee9 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Fri, 30 Apr 1999 11:02:32 +0000 Subject: 1998-09-05 OKUJI Yoshinori * do-bunzip2.c: New file. * exec.c (check_bzip2): New function. (BZIP2): New cpp symbol. If defined, bunzip2 engine is enabled. * Makefile (bzip2-objects): New variable. (OBJS): Add bzip2-objects. (CPPFLAGS): Add -DBZIP2. --- exec/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'exec/Makefile') diff --git a/exec/Makefile b/exec/Makefile index 4c6873ad..bd3f58ad 100644 --- a/exec/Makefile +++ b/exec/Makefile @@ -21,8 +21,9 @@ makemode := server SRCS = exec.c main.c hashexec.c hostarch.c unzip.c util.c inflate.c OBJS = main.o hostarch.o exec.o hashexec.o \ execServer.o exec_startupServer.o \ - $(gzip-objects) + $(gzip-objects) $(bzip2-objects) gzip-objects = unzip.o util.o inflate.o +bzip2-objects = do-bunzip2.o LCLHDRS = gzip.h crypt.h tailor.h priv.h execmutations.h target = exec #targets = exec exec.static @@ -36,6 +37,6 @@ exec.static-LDFLAGS += -static include ../Makeconf -CPPFLAGS += -DGZIP # -DBFD +CPPFLAGS += -DGZIP -DBZIP2 # -DBFD exec.static exec: $(OBJS) $(library_deps) -- cgit v1.2.3