summaryrefslogtreecommitdiff
path: root/exec
diff options
context:
space:
mode:
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 c88720b6..4c6873ad 100644
--- a/exec/Makefile
+++ b/exec/Makefile
@@ -1,6 +1,6 @@
-# Copyright (C) 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
+# Copyright (C) 1993, 94, 95, 96, 98 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
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
@@ -10,7 +10,7 @@
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with the GNU Hurd; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
@@ -25,13 +25,17 @@ OBJS = main.o hostarch.o exec.o hashexec.o \
gzip-objects = unzip.o util.o inflate.o
LCLHDRS = gzip.h crypt.h tailor.h priv.h execmutations.h
target = exec
+#targets = exec exec.static
DIST_FILES = core.c gcore.c elfcore.c exectrans.c
#OTHERLIBS = -lbfd -liberty
-HURDLIBS=trivfs threads shouldbeinlibc fshelp
+HURDLIBS=trivfs fshelp iohelp ports ihash threads shouldbeinlibc
exec-MIGSFLAGS = -imacros $(srcdir)/execmutations.h
+exec.static-LDFLAGS += -static
+
include ../Makeconf
CPPFLAGS += -DGZIP # -DBFD
+exec.static exec: $(OBJS) $(library_deps)