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
30 -I
${top_srcdir}/compat \
41 ### Makefile rules - no user-servicable parts below
43 LIBTAR_OBJS
= libtar.o
44 LIBTAR_HDRS
= ..
/config.h \
45 ${top_srcdir}/compat
/compat.h \
46 ${top_srcdir}/lib
/libtar.h \
47 ..
/listhash
/libtar_listhash.h
48 LIBTAR_LIBS
= ..
/lib
/libtar.a
54 .PHONY
: clean distclean install
56 libtar
: ${LIBTAR_OBJS} ${LIBTAR_LIBS} ${LIBTAR_HDRS}
57 ${CC} ${CFLAGS} ${LDFLAGS} -o libtar libtar.o
${LIBTAR_LIBS} ${LIBS}
59 ${LIBTAR_OBJS}: ${LIBTAR_HDRS}
62 ${CC} ${CFLAGS} ${CPPFLAGS} -c
-o
$@
$<
65 rm -f
*~
*.o
${ALL} core
71 ${MKDIR} ${DESTDIR}${bindir}
72 ${INSTALL_PROGRAM} libtar
${DESTDIR}${bindir}