summaryrefslogtreecommitdiff
path: root/exec/Makefile
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-04-30 11:02:32 +0000
committerThomas Bushnell <thomas@gnu.org>1999-04-30 11:02:32 +0000
commita59ce6f6bdbce22e19857d0604143227f0956ee9 (patch)
tree4df3e6f2629878d3899f4837bc631f0d4c5ffe8e /exec/Makefile
parent81307fafba754e3438cd78b4bb77bdf474105f80 (diff)
1998-09-05 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* 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.
Diffstat (limited to 'exec/Makefile')
-rw-r--r--exec/Makefile5
1 files changed, 3 insertions, 2 deletions
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)