summaryrefslogtreecommitdiff
path: root/pkgtools/mtree
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-04-01 03:48:52 +0000
committergrant <grant@pkgsrc.org>2003-04-01 03:48:52 +0000
commitaebecdb1236c5147c48bbb8b3148058eac48b75e (patch)
tree4b2b2a7de9e490f0ee134fba950c8246abd36e85 /pkgtools/mtree
parent92386fdc7306f07b810ea8fae20b93c0c3c9d8f0 (diff)
downloadpkgsrc-aebecdb1236c5147c48bbb8b3148058eac48b75e.tar.gz
tidy this up a bit, consistently use parens.
Diffstat (limited to 'pkgtools/mtree')
-rw-r--r--pkgtools/mtree/files/Makefile.in30
1 files changed, 14 insertions, 16 deletions
diff --git a/pkgtools/mtree/files/Makefile.in b/pkgtools/mtree/files/Makefile.in
index 353478b0ea0..e6d8e90110c 100644
--- a/pkgtools/mtree/files/Makefile.in
+++ b/pkgtools/mtree/files/Makefile.in
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.in,v 1.1.1.1 2003/03/31 08:51:32 grant Exp $
+# $NetBSD: Makefile.in,v 1.2 2003/04/01 03:48:52 grant Exp $
srcdir = @srcdir@
prefix = @prefix@
@@ -7,39 +7,37 @@ SHELL = /bin/sh
CC = @CC@
CCLD = $(CC)
-CFLAGS = -I${srcdir} -I. -I${prefix}/include/libnbcompat @INCLUDES@ @CFLAGS@
+CFLAGS = -I$(srcdir) -I. -I$(prefix)/include/libnbcompat @INCLUDES@ @CFLAGS@
CPPFLAGS= @CPPFLAGS@
DEFS = @DEFS@
INSTALL = @INSTALL@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@ -lnbcompat
-mandir= ${prefix}/man
-mandircat8= ${mandir}/cat8
+LINK= $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@
+COMPILE=$(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS)
-all: mtree
+mandir= $(prefix)/man
+mandircat8= $(mandir)/cat8
PROG= mtree
-MAN=
OBJS= compare.o crc.o create.o excludes.o mtree.o verify.o
-LINK= $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@
-COMPILE= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS)
+all: $(PROG)
-all: ${PROG}
-
-${PROG}: ${OBJS}
- ${LINK} ${OBJS} ${LIBS}
+$(PROG): $(OBJS)
+ $(LINK) $(OBJS) $(LIBS)
.c.o:
$(COMPILE) -c $< -o $@
clean:
- rm -f ${OBJS} ${PROG}
+ rm -f $(OBJS) $(PROG)
distclean: clean
- rm -f Makefile config.h config.status configure.lineno config.log
+ rm -f Makefile config.cache config.h config.status
+ rm -f configure.lineno config.log
install:
- ${INSTALL} ${PROG} ${PREFIX}/sbin
- ${INSTALL} -m 444 ${PROG}.cat8 ${mandircat8}/${PROG}.0
+ $(INSTALL) $(PROG) $(PREFIX)/sbin
+ $(INSTALL) -m 444 $(PROG).cat8 $(mandircat8)/$(PROG).0