summaryrefslogtreecommitdiff
path: root/exec
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-07-17 15:57:42 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-01 18:58:02 +0200
commit5b512c949c76a0736f09be15af7070a78f60ab00 (patch)
tree05a1e5091b15c439c36da55e368e47aa2f01f52d /exec
parent55854e7f78177d9f67240a4afe76809947d3ff16 (diff)
Fix "make dist" in `exec'.
* exec/Makefile (SRCS): Refer to `$(gzip-sources)' and `$(bzip2-sources)' instead of listing files individually. (gzip-sources, bzip2-sources): New variable. (gzip-objects, bzip2-objects): Derive from the above variables.
Diffstat (limited to 'exec')
-rw-r--r--exec/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/exec/Makefile b/exec/Makefile
index 9b318e8a..e7050c10 100644
--- a/exec/Makefile
+++ b/exec/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1993,94,95,96,98,99,2000,01,02 Free Software Foundation, Inc.
+# Copyright (C) 1993,94,95,96,98,99,2000,01,02,10 Free Software Foundation, Inc.
# This file is part of the GNU Hurd.
#
# The GNU Hurd is free software; you can redistribute it and/or modify
@@ -18,12 +18,16 @@
dir := exec
makemode := server
-SRCS = exec.c main.c hashexec.c hostarch.c unzip.c util.c inflate.c
+SRCS = exec.c main.c hashexec.c hostarch.c \
+ $(gzip-sources) $(bzip2-sources)
OBJS = main.o hostarch.o exec.o hashexec.o \
execServer.o exec_startupServer.o \
$(gzip-objects) $(bzip2-objects)
-gzip-objects = unzip.o util.o inflate.o
-bzip2-objects = do-bunzip2.o
+gzip-sources = unzip.c util.c inflate.c
+gzip-objects = $(gzip-sources:%.c=%.o)
+bzip2-sources = do-bunzip2.c
+bzip2-objects = $(bzip2-sources:%.c=%.o)
+
LCLHDRS = gzip.h crypt.h tailor.h priv.h execmutations.h
target = exec
#targets = exec exec.static