# lib/Makefile. Generated from Makefile.in by configure.
### Path settings
srcdir = .
top_srcdir = ..
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
mandir = ${prefix}/man
libdir = ${exec_prefix}/lib
includedir = ${prefix}/include
PACKAGE_NAME = nph
PACKAGE_VERSION = 1.2.3
### 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${srcdir} \
-I${top_srcdir}/compat \
-I../buffer \
-I../mmgr \
CFLAGS = -fno-common
RANLIB = ranlib
LIBOBJS =
VPATH = ../compat:../buffer:../mmgr
### Makefile rules - no user-servicable parts below
LIBPHCLIENT_OBJS = auth.o \
change.o \
fields.o \
handle.o \
misc.o \
options.o \
ph_buffer.o \
ph_mmgr.o \
protocol.o \
query.o \
redirection.o \
serverlist.o \
siteinfo.o
LIBPHCLIENT_HDRS = ../config.h \
${srcdir}/phclient.h \
${srcdir}/internal.h \
${top_srcdir}/compat/compat.h \
../buffer/ph_buffer.h \
../mmgr/ph_mmgr.h
ALL = libphclient.a
DISTCLEANFILES = ../buffer/ph_buffer.c \
../buffer/ph_buffer.h \
../mmgr/ph_mmgr.c \
../mmgr/ph_mmgr.h
all: ${ALL}
.PHONY: clean distclean install
libphclient.a: ${LIBPHCLIENT_OBJS} ${LIBOBJS}
${AR} rc libphclient.a ${LIBPHCLIENT_OBJS} ${LIBOBJS}
${RANLIB} libphclient.a
${LIBPHCLIENT_OBJS}: ${LIBPHCLIENT_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} libphclient.a ${DESTDIR}${libdir}
${MKDIR} ${DESTDIR}${includedir}
${INSTALL_DATA} ${srcdir}/phclient.h ${DESTDIR}${includedir}
syntax highlighted by Code2HTML, v. 0.9.1