# $NetBSD: Makefile.in,v 1.1.1.1 2003/06/23 11:45:22 grant Exp $ srcdir = @srcdir@ prefix = @prefix@ VPATH = @srcdir@ SHELL = /bin/sh CC = @CC@ CCLD = $(CC) CFLAGS = -I$(srcdir) -I. -I$(prefix)/include/libnbcompat @INCLUDES@ @CFLAGS@ CPPFLAGS= @CPPFLAGS@ DEFS = @DEFS@ INSTALL = @INSTALL@ LDFLAGS = @LDFLAGS@ -L$(prefix)/lib LIBS = @LIBS@ -lnbcompat LINK= $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@ COMPILE=$(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) mandir= $(prefix)/man mandircat1= $(mandir)/cat1 mandirman1= $(mandir)/man1 PROG= pax OBJS= ar_io.o ar_subs.o buf_subs.o cpio.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 all: $(PROG) $(PROG): $(OBJS) $(LINK) $(OBJS) $(LIBS) .c.o: $(COMPILE) -c $< -o $@ clean: rm -f $(OBJS) $(PROG) distclean: clean rm -f Makefile config.cache config.h config.status rm -f configure.lineno config.log install: $(INSTALL) $(PROG) $(PREFIX)/sbin # don't install man pages for now # $(INSTALL) -m 444 $(PROG).1 $(mandirman1) # $(INSTALL) -m 444 $(PROG).cat1 $(mandircat1)/$(PROG).0 # $(INSTALL) -m 444 cpio.1 $(mandirman1) # $(INSTALL) -m 444 cpio.cat1 $(mandircat1)/cpio.0 # $(INSTALL) -m 444 tar.1 $(mandirman1)/tar.1 # $(INSTALL) -m 444 tar.cat1 $(mandircat1)/tar.0