OBJ2 = version.o list.o names.o diffarch.o port.o fnmatch.o getopt.o @MALLOC@
OBJ3 = getopt1.o regex.o getdate.o $(RTAPELIB)
OBJS = $(OBJ1) $(OBJ2) $(OBJ3)
-AUX = README INSTALL COPYING ChangeLog Makefile.in makefile.pc \
+AUX = README INSTALL NEWS COPYING ChangeLog Makefile.in makefile.pc \
configure configure.in \
tar.h fnmatch.h pathmax.h port.h open3.h getopt.h regex.h \
rmt.h rmt.c rtapelib.c alloca.c \
level-0 level-1 backup-specs testpad.c getpagesize.h
# tar.texinfo tar.info* texinfo.tex \
-all: @PROGS@ # tar.info
+all: @PROGS@
+# tar.info
.c.o:
$(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -I$(srcdir) -I. $<
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
rmt: rmt.c
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(srcdir)/rmt.c
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(srcdir)/rmt.c $(LIBS)
tar.info: tar.texinfo
makeinfo $(srcdir)/tar.texinfo
install: all
$(INSTALL_PROGRAM) tar $(bindir)/$(binprefix)tar
-test ! -f rmt || $(INSTALL_PROGRAM) rmt $(libdir)/rmt
- for file in $(srcdir)/tar.info*; \
- do $(INSTALL_DATA) $$file $(infodir)/$$file; \
- done
+# for file in $(srcdir)/tar.info*; \
+# do $(INSTALL_DATA) $$file $(infodir)/$$file; \
+# done
uninstall:
rm -f $(bindir)/$(binprefix)tar $(infodir)/tar.info*
regex.o buffer.o tar.o: regex.h
tar.o fnmatch.o: fnmatch.h
+getdate.c: getdate.y
+ yacc getdate.y
+ mv y.tab.c getdate.c
# getdate.y has 8 shift/reduce conflicts.
testpad.h: testpad