5 top_srcdir
= @top_srcdir@
7 exec_prefix = @
exec_prefix@
10 includedir = @
includedir@
12 PACKAGE_NAME
= @PACKAGE_NAME@
13 PACKAGE_VERSION
= @PACKAGE_VERSION@
17 ### Installation programs and flags
19 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
-s
20 INSTALL_DATA
= @INSTALL_DATA@
24 ### Compiler and link options
29 -I
${top_srcdir}/compat \
38 VPATH
= @
srcdir@
:@top_srcdir@
/compat
:..
/listhash
41 ### Makefile rules - no user-servicable parts below
43 LIBTAR_OBJS
= append.o \
54 LIBTAR_HDRS
= ..
/config.h \
55 ${top_srcdir}/compat
/compat.h \
57 ${srcdir}/internal.h \
58 ..
/listhash
/libtar_listhash.h
59 LIBTAR_LIBS
= .
/libtar.a
62 DISTCLEANFILES
= ..
/listhash
/libtar_listhash.h \
63 ..
/listhash
/libtar_list.c \
64 ..
/listhash
/libtar_hash.c
69 .PHONY
: clean distclean install
71 libtar.a
: ${LIBTAR_OBJS} ${LIBOBJS}
72 ${AR} rc libtar.a
${LIBTAR_OBJS} ${LIBOBJS}
75 ${LIBTAR_OBJS}: ${LIBTAR_HDRS}
78 ${CC} ${CFLAGS} ${CPPFLAGS} -c
-o
$@
$<
81 rm -f
*~
*.o
${ALL} core
84 rm -f Makefile
${DISTCLEANFILES}
87 ${MKDIR} ${DESTDIR}${libdir}
88 ${INSTALL_DATA} libtar.a
${DESTDIR}${libdir}
89 ${MKDIR} ${DESTDIR}${includedir}
90 ${INSTALL_DATA} ${srcdir}/libtar.h
${DESTDIR}${includedir}
91 ${INSTALL_DATA} ..
/listhash
/libtar_listhash.h
${DESTDIR}${includedir}