1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
# Makefile for the libsident library.
# $Id: Makefile.in 2428 2006-02-08 19:50:25Z rra $
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = @top_builddir@
VPATH = @srcdir@
CC = $(top_builddir)libtool --mode=compile @CC@
LD = $(top_builddir)libtool --mode=link @CC@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTLIB = $(top_builddir)libtool --mode=install $(INSTALL)
RANLIB = @RANLIB@
prefix = @prefix@
exec_prefix = @exec_prefix@
includedir = @includedir@
libdir = @libdir@
CPPFLAGS = -I$(srcdir) -I$(top_builddir) -I$(top_srcdir)/include \
@CPPFLAGS@
CFLAGS = @CFLAGS@ @DEFS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
OBJS = ident_auth.o ident.o id_open.o id_close.o id_query.o \
id_parse.o support.o tables.o version.o gssapi.o \
@LIBOBJS@
all: libsident.la
libsident.la: $(OBJS)
$(LD) $(LDFLAGS) -o $@ $(OBJS:.o=.lo) $(LIBS) -rpath $(libdir) \
-version-info 0:0:0
sident-test: libsident.la sident-test.o
$(LD) $(LDFLAGS) -o sident-test sident-test.o libsident.la $(LIBS)
install: all
$(INSTALL) -d $(libdir) $(includedir)
$(INSTLIB) libsident.la $(libdir)/libsident.la
$(INSTALL_DATA) $(top_srcdir)/include/sident.h $(includedir)/sident.h
clean:
rm -f libsident.la sident-test *~ core *.o *.lo \#*
rm -rf .libs
depend:
$(top_srcdir)/tools/makedepend '$(CPPFLAGS)' *.c
# DO NOT DELETE THIS LINE -- make depend depends on it.
gssapi.o: gssapi.c $(top_srcdir)/include/sident.h
id_close.o: id_close.c $(top_srcdir)/include/sident.h
id_open.o: id_open.c $(top_srcdir)/include/sident.h
id_parse.o: id_parse.c $(top_srcdir)/include/sident.h
id_query.o: id_query.c $(top_builddir)/config.h $(top_srcdir)/include/sident.h
ident.o: ident.c $(top_srcdir)/include/sident.h
ident_auth.o: ident_auth.c $(top_builddir)/config.h \
$(top_srcdir)/include/sident.h
sident-test.o: sident-test.c $(top_srcdir)/include/sident.h
support.o: support.c $(top_srcdir)/include/sident.h
tables.o: tables.c
version.o: version.c $(top_builddir)/config.h
|