# $NetBSD: Makefile.in,v 1.9 2005/12/01 03:00:01 minskim Exp $ srcdir= @srcdir@ prefix= @prefix@ exec_prefix= @exec_prefix@ bindir= @bindir@ mandir= @mandir@ man1dir= $(mandir)/man1 cat1dir= $(mandir)/cat1 CC= @CC@ CCLD= $(CC) LIBS= @LIBS@ CPPFLAGS= @CPPFLAGS@ -I. -I$(srcdir) DEFS= @DEFS@ CFLAGS= @CFLAGS@ LDFLAGS= @LDFLAGS@ INSTALL= @INSTALL@ PROG= pax OBJS= ar_io.o ar_subs.o buf_subs.o file_subs.o ftree.o \ gen_subs.o getoldopt.o options.o pat_rep.o pax.o sel_subs.o tables.o \ tar.o tty_subs.o \ getid.o spec.o misc.o stat_flags.o pack_dev.o cpio.o all: $(PROG) .c.o: $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c $< $(PROG): $(OBJS) $(CCLD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) clean: rm -f $(OBJS) $(PROG) distclean: clean rm -f Makefile config.cache config.h config.status rm -f configure.lineno config.log install: $(INSTALL) -m 755 -d $(bindir) $(INSTALL) -m 755 -d $(man1dir) $(INSTALL) -m 755 -d $(cat1dir) $(INSTALL) $(PROG) $(bindir) ln -f $(bindir)/$(PROG) $(bindir)/cpio ln -f $(bindir)/$(PROG) $(bindir)/tar $(INSTALL) -m 444 $(PROG).1 $(man1dir)/$(PROG).1 $(INSTALL) -m 444 $(PROG).cat1 $(cat1dir)/$(PROG).0 $(INSTALL) -m 444 cpio.1 $(man1dir)/cpio.1 $(INSTALL) -m 444 cpio.cat1 $(cat1dir)/cpio.0 $(INSTALL) -m 444 tar.1 $(man1dir)/tar.1 $(INSTALL) -m 444 tar.cat1 $(cat1dir)/tar.0