summaryrefslogtreecommitdiff
path: root/pkgtools/mtree/files
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/mtree/files')
-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