# lib/Makefile. Generated from Makefile.in by configure.
### Path settings
srcdir = .
top_srcdir = ..
prefix =
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
libdir = ${exec_prefix}/lib
includedir = ${prefix}/include
PACKAGE_NAME = libtar
PACKAGE_VERSION = 1.2.11
### Installation programs and flags
INSTALL = /usr/bin/install -c -o root -g wheel
INSTALL_PROGRAM = install -s -o root -g wheel -m 555 -s
INSTALL_DATA = install -o root -g wheel -m 444
LN_S = ln -s
MKDIR = mkdir -p -m 755
### Compiler and link options
CC = cc
CPPFLAGS = -I. \
-I.. \
-I${srcdir} \
-I${top_srcdir}/compat \
-I../listhash \
CFLAGS = -fno-common
LDFLAGS =
LIBS = -lz
LIBOBJS =
RANLIB = ranlib
VPATH = ../compat:../listhash
### Makefile rules - no user-servicable parts below
LIBTAR_OBJS = append.o \
block.o \
decode.o \
encode.o \
extract.o \
handle.o \
libtar_hash.o \
libtar_list.o \
output.o \
util.o \
wrapper.o
LIBTAR_HDRS = ../config.h \
${top_srcdir}/compat/compat.h \
${srcdir}/libtar.h \
${srcdir}/internal.h \
../listhash/libtar_listhash.h
LIBTAR_LIBS = ./libtar.a
SHARED_LIB = libtar.so
SHARED_LIB_VER = $(SHARED_LIB).0
ALL = libtar.a $(SHARED_LIB_VER)
DISTCLEANFILES = ../listhash/libtar_listhash.h \
../listhash/libtar_list.c \
../listhash/libtar_hash.c
all: ${ALL}
.PHONY: clean distclean install
libtar.a: ${LIBTAR_OBJS} ${LIBOBJS}
${AR} rc libtar.a ${LIBTAR_OBJS} ${LIBOBJS}
${RANLIB} libtar.a
${SHARED_LIB_VER}: libtar.a ${LIBTAR_OBJS} ${LIBOBJS}
${CC} ${CFLAGS} -shared -Wl,-soname,${SHARED_LIB_VER} -o ${SHARED_LIB_VER} ${LIBTAR_OBJS} ${LIBOBJS} ${LDFLAGS}
${LIBTAR_OBJS}: ${LIBTAR_HDRS}
.c.o:
${CC} ${CFLAGS} ${CPPFLAGS} -c -o $@ $<
clean:
rm -f *~ *.o ${ALL} core
distclean: clean
rm -f Makefile ${DISTCLEANFILES}
install: ${ALL}
${MKDIR} ${DESTDIR}${libdir}
${INSTALL_DATA} libtar.a ${DESTDIR}${libdir}
${MKDIR} ${DESTDIR}${includedir}
${INSTALL_DATA} ${srcdir}/libtar.h ${DESTDIR}${includedir}
${INSTALL_DATA} ../listhash/libtar_listhash.h ${DESTDIR}${includedir}
syntax highlighted by Code2HTML, v. 0.9.1