5 top_srcdir
= @top_srcdir@
7 exec_prefix = @
exec_prefix@
10 includedir = @
includedir@
11 datarootdir
= @datarootdir@
13 PACKAGE_NAME
= @PACKAGE_NAME@
14 PACKAGE_VERSION
= @PACKAGE_VERSION@
18 ### Installation programs and flags
20 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
-s
21 INSTALL_DATA
= @INSTALL_DATA@
25 ### Compiler and link options
30 -I
${top_srcdir}/compat \
39 VPATH
= @
srcdir@
:@top_srcdir@
/compat
:..
/listhash
42 ### Makefile rules - no user-servicable parts below
44 LIBTAR_OBJS
= append.o \
55 LIBTAR_HDRS
= ..
/config.h \
56 ${top_srcdir}/compat
/compat.h \
58 ${srcdir}/internal.h \
59 ..
/listhash
/libtar_listhash.h
60 LIBTAR_LIBS
= .
/libtar.a
63 DISTCLEANFILES
= ..
/listhash
/libtar_listhash.h \
64 ..
/listhash
/libtar_list.c \
65 ..
/listhash
/libtar_hash.c
70 .PHONY
: clean distclean install
72 libtar.a
: ${LIBTAR_OBJS} ${LIBOBJS}
73 ${AR} rc libtar.a
${LIBTAR_OBJS} ${LIBOBJS}
76 ${LIBTAR_OBJS}: ${LIBTAR_HDRS}
79 ${CC} ${CFLAGS} ${CPPFLAGS} -c
-o
$@
$<
82 rm -f
*~
*.o
${ALL} core
85 rm -f Makefile
${DISTCLEANFILES}
88 ${MKDIR} ${DESTDIR}${libdir}
89 ${INSTALL_DATA} libtar.a
${DESTDIR}${libdir}
90 ${MKDIR} ${DESTDIR}${includedir}
91 ${INSTALL_DATA} ${srcdir}/libtar.h
${DESTDIR}${includedir}
92 ${INSTALL_DATA} ..
/listhash
/libtar_listhash.h
${DESTDIR}${includedir}