freebsd-dev/crypto/kerberosIV/lib/auth/sia/Makefile.in
2000-01-09 08:31:47 +00:00

91 lines
1.8 KiB
Makefile

#
# $Id: Makefile.in,v 1.30 1999/11/15 10:20:50 assar Exp $
#
SHELL = /bin/sh
srcdir = @srcdir@
VPATH = @srcdir@
CC = @CC@
LINK = @LINK@
AR = ar
RANLIB = @RANLIB@
DEFS = @DEFS@
CFLAGS = @CFLAGS@ $(WFLAGS)
WFLAGS = @WFLAGS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
MKINSTALLDIRS = @top_srcdir@/mkinstalldirs
prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = @libdir@
PICFLAGS = @REAL_PICFLAGS@
SHARED = @SHARED@
LDSHARED = @LDSHARED@
SHLIBEXT = @REAL_SHLIBEXT@
LD_FLAGS = @REAL_LD_FLAGS@
@lib_deps_yes@LIB_DEPS = -L../../kafs -lkafs \
@lib_deps_yes@ -L../../kadm -lkadm \
@lib_deps_yes@ -L../../krb -lkrb \
@lib_deps_yes@ -L../../des -ldes \
@lib_deps_yes@ -L../../com_err -lcom_err \
@lib_deps_yes@ -L../../roken -lroken \
@lib_deps_yes@ @LIB_getpwnam_r@ \
@lib_deps_yes@ -lc
@lib_deps_no@LIB_DEPS =
LIBNAME = libsia_krb4
LIB = $(LIBNAME).$(SHLIBEXT)
SOURCES = sia.c posix_getpw.c
OBJECTS = sia.o posix_getpw.o
all: $(LIB)
Wall:
make CFLAGS="-g -Wall -Wno-comment -Wmissing-prototypes -Wmissing-declarations -D__USE_FIXED_PROTOTYPES__"
.c.o:
$(CC) -c $(DEFS) -I../../../include -I$(srcdir) $(CFLAGS) $(CPPFLAGS) $(PICFLAGS) $<
install: all
$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
-if test "$(LIB)" != ""; then \
$(INSTALL_DATA) -m 0555 $(LIB) $(DESTDIR)$(libdir)/$(LIB) ; \
fi
uninstall:
-if test "$(LIB)" != ""; then \
rm -f $(DESTDIR)$(libdir)/$(LIB) ; \
fi
TAGS: $(SOURCES)
etags $(SOURCES)
check:
clean:
rm -f $(LIB) *.o
mostlyclean: clean
distclean: clean
rm -f Makefile *.tab.c *~
realclean: distclean
rm -f TAGS
$(OBJECTS): ../../../include/config.h
$(LIB): $(OBJECTS)
rm -f $@
$(LDSHARED) -shared -o $@ -rpath $(libdir) -hidden -exported_symbol siad_\* $(OBJECTS) $(LIB_DEPS)
.PHONY: all Wall install uninstall check clean mostlyclean distclean realclean