summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-04-09 05:28:46 +0000
committerRoland McGrath <roland@gnu.org>1995-04-09 05:28:46 +0000
commit89e43c69ec30c598c9ae2e41b4e443d82175f835 (patch)
tree12cb2d2c8931c6cce39b432bfa6d28cb546551d9
parent9c78bfae389d7af47381463c37552949e30f4154 (diff)
(vpath lib%.a): Add search path.
(exec): Depend on -lbfd and -liberty. (CPPFLAGS): Append -DBFD; omit -DA_OUT_H=... (bfdexec): Target removed.
-rw-r--r--exec/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/exec/Makefile b/exec/Makefile
index 0e593211..5b05f682 100644
--- a/exec/Makefile
+++ b/exec/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+# Copyright (C) 1993, 1994, 1995 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
@@ -25,14 +25,16 @@ LCLHDRS = a.out.h a.out.gnu.h gzip.h crypt.h tailor.h
target = exec
DIST_FILES = core.c gcore.c hashexec.c
-include ../Makeconf
+all:
+
+vpath lib%.a $(crossdir)/lib
+exec: -lbfd -liberty
-CFLAGS += -DA_OUT_H=\"./a.out.h\"
+include ../Makeconf
-exec.o bfdexec.o: fsys_S.h notify_S.h exec_S.h
+CPPFLAGS += -DBFD # -DA_OUT_H=\"./a.out.h\"
+exec.o: exec.c fsys_S.h notify_S.h exec_S.h
exec.o hostarch.o: a.out.h a.out.gnu.h
-bfdexec: bfdhostarch.o -lbfd
-
unzip.o util.o inflate.o: gzip.h crypt.h tailor.h