freebsd-dev/crypto/kerberosIV/lib/kdb/Makefile.in

95 lines
1.9 KiB
Makefile
Raw Normal View History

#
1999-09-19 14:19:32 +00:00
# $Id: Makefile.in,v 1.40 1999/03/10 19:01:15 joda Exp $
#
SHELL = /bin/sh
srcdir = @srcdir@
VPATH = @srcdir@
CC = @CC@
1999-09-19 14:19:32 +00:00
LINK = @LINK@
AR = ar
RANLIB = @RANLIB@
1999-09-19 14:19:32 +00:00
LN_S = @LN_S@
DEFS = @DEFS@ -DROKEN_RENAME
CFLAGS = @CFLAGS@ $(WFLAGS)
WFLAGS = @WFLAGS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
MKINSTALLDIRS = @top_srcdir@/mkinstalldirs
prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = @libdir@
PICFLAGS = @PICFLAGS@
1999-09-19 14:19:32 +00:00
LIB_DBM = @LIB_DBM@
LIB_DEPS = @lib_deps_yes@ $(LIB_DBM) -lc
build_symlink_command = @build_symlink_command@
install_symlink_command = @install_symlink_command@
LIBNAME = $(LIBPREFIX)kdb
LIBEXT = @LIBEXT@
SHLIBEXT = @SHLIBEXT@
LIBPREFIX = @LIBPREFIX@
LDSHARED = @LDSHARED@
LIB = $(LIBNAME).$(LIBEXT)
1999-09-19 14:19:32 +00:00
SOURCES = krb_cache.c krb_kdb_utils.c copykey.c krb_lib.c \
krb_dbm.c print_princ.c
1999-09-19 14:19:32 +00:00
OBJECTS = krb_cache.o krb_kdb_utils.o copykey.o krb_lib.o \
krb_dbm.o print_princ.o
all: $(LIB)
Wall:
make CFLAGS="-g -Wall -Wno-comment -Wmissing-prototypes -Wmissing-declarations -D__USE_FIXED_PROTOTYPES__"
.c.o:
1999-09-19 14:19:32 +00:00
$(CC) -c $(DEFS) -I../../include -I$(srcdir) -I. $(CFLAGS) $(CPPFLAGS) $(PICFLAGS) $<
install: all
1999-09-19 14:19:32 +00:00
$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
$(INSTALL_DATA) -m 0555 $(LIB) $(DESTDIR)$(libdir)/$(LIB)
@install_symlink_command@
uninstall:
1999-09-19 14:19:32 +00:00
rm -f $(DESTDIR)$(libdir)/$(LIB)
TAGS: $(SOURCES)
etags $(SOURCES)
check:
clean:
1999-09-19 14:19:32 +00:00
rm -f $(LIB) *.o *.a *.so *.so.* so_locations
mostlyclean: clean
distclean: clean
1999-09-19 14:19:32 +00:00
rm -f Makefile *.tab.c *~ roken_rename.h
realclean: distclean
rm -f TAGS
$(LIBNAME).a: $(OBJECTS)
rm -f $@
$(AR) cr $@ $(OBJECTS)
-$(RANLIB) $@
$(LIBNAME).$(SHLIBEXT): $(OBJECTS)
rm -f $@
1999-09-19 14:19:32 +00:00
$(LDSHARED) -o $@ $(OBJECTS) $(LIB_DEPS)
@build_symlink_command@
$(OBJECTS): ../../include/config.h roken_rename.h
roken_rename.h:
$(LN_S) $(srcdir)/../krb/roken_rename.h .
1999-09-19 14:19:32 +00:00
.PHONY: all Wall install uninstall check clean mostlyclean distclean realclean