summaryrefslogtreecommitdiff
path: root/pkgtools/mtree
diff options
context:
space:
mode:
authorgrant <grant>2003-04-01 03:48:52 +0000
committergrant <grant>2003-04-01 03:48:52 +0000
commit8dc885c716dd070043532cf6a0d123cd659e0c9d (patch)
tree4b2b2a7de9e490f0ee134fba950c8246abd36e85 /pkgtools/mtree
parent07d17665f5c341c9cac485874467f2312fc94aa2 (diff)
downloadpkgsrc-8dc885c716dd070043532cf6a0d123cd659e0c9d.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