freebsd-dev/crypto/kerberosIV/include/Makefile.in

181 lines
3.8 KiB
Makefile
Raw Normal View History

2000-12-29 21:00:22 +00:00
# $Id: Makefile.in,v 1.59.2.3 2000/12/13 14:41:37 assar Exp $
srcdir = @srcdir@
VPATH = @srcdir@
SHELL = /bin/sh
CC = @CC@
1999-09-19 14:19:32 +00:00
LINK = @LINK@
DEFS = @DEFS@ -DHOST=\"@CANONICAL_HOST@\"
CFLAGS = @CFLAGS@ $(WFLAGS)
WFLAGS = @WFLAGS@
LD_FLAGS = @LD_FLAGS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
MKINSTALLDIRS = @top_srcdir@/mkinstalldirs
LN_S = @LN_S@
EXECSUFFIX = @EXECSUFFIX@
prefix = @prefix@
exec_prefix = @exec_prefix@
includedir = @includedir@
libdir = @libdir@
@SET_MAKE@
.c.o:
1999-09-19 14:19:32 +00:00
$(CC) -c $(DEFS) -I. -I$(srcdir) $(CFLAGS) $(CPPFLAGS) $(PICFLAGS) $<
1999-09-19 14:19:32 +00:00
HEADERS = \
acl.h com_err.h com_right.h des.h kadm.h kafs.h kdc.h \
klog.h krb.h krb-protos.h krb-archaeology.h krb_db.h \
2000-12-29 21:00:22 +00:00
ktypes.h otp.h prot.h sl.h \
md4.h md5.h sha.h rc4.h @EXTRA_HEADERS@
1999-09-19 14:19:32 +00:00
LOCL_HEADERS = \
base64.h roken-common.h protos.h resolve.h xdbm.h \
krb_log.h getarg.h parse_time.h @EXTRA_LOCL_HEADERS@
1999-09-19 14:19:32 +00:00
CLEAN_FILES = roken.h krb_err.h kadm_err.h
1999-09-19 14:19:32 +00:00
BITS_OBJECTS = bits.o
1999-09-19 14:19:32 +00:00
SOURCES = bits.c
SUBDIRS = sys
all: stamp-headers
for i in $(SUBDIRS); \
do (cd $$i && $(MAKE) $(MFLAGS) all); done
Wall:
$(MAKE) CFLAGS="-g -Wall -Wno-comment -Wmissing-prototypes -Wmissing-declarations -D__USE_FIXED_PROTOTYPES__"
1999-09-19 14:19:32 +00:00
install: all
$(MKINSTALLDIRS) $(DESTDIR)$(includedir)
for x in $(HEADERS); \
1999-09-19 14:19:32 +00:00
do $(INSTALL_DATA) $$x $(DESTDIR)$(includedir)/$$x; done
for i in $(SUBDIRS); \
do (cd $$i && $(MAKE) $(MFLAGS) install); done
uninstall:
for x in $(HEADERS); do \
1999-09-19 14:19:32 +00:00
rm -f $(DESTDIR)$(includedir)/$$x; \
done
for i in $(SUBDIRS); \
do (cd $$i && $(MAKE) $(MFLAGS) uninstall); done
clean:
1999-09-19 14:19:32 +00:00
rm -f $(HEADERS) $(LOCL_HEADERS) \
$(CLEAN_FILES) *.o bits stamp-headers
for i in $(SUBDIRS); \
do (cd $$i && $(MAKE) $(MFLAGS) clean); done
mostlyclean: clean
distclean:
1999-09-19 14:19:32 +00:00
$(MAKE) clean
rm -f config.h version.h version.h.in
for i in $(SUBDIRS); \
do (cd $$i && $(MAKE) $(MFLAGS) distclean); done
rm -f Makefile config.status *~
realclean:
for i in $(SUBDIRS); \
do (cd $$i && $(MAKE) $(MFLAGS) realclean); done
acl.h:
$(LN_S) $(srcdir)/../lib/acl/acl.h .
1999-09-19 14:19:32 +00:00
com_err.h:
1999-09-19 14:19:32 +00:00
$(LN_S) $(srcdir)/../lib/com_err/com_err.h .
com_right.h:
$(LN_S) $(srcdir)/../lib/com_err/com_right.h .
des.h:
$(LN_S) $(srcdir)/../lib/des/des.h .
1999-09-19 14:19:32 +00:00
2000-12-29 21:00:22 +00:00
md4.h:
$(LN_S) $(srcdir)/../lib/des/md4.h .
md5.h:
$(LN_S) $(srcdir)/../lib/des/md5.h .
sha.h:
$(LN_S) $(srcdir)/../lib/des/sha.h .
rc4.h:
$(LN_S) $(srcdir)/../lib/des/rc4.h .
kadm.h:
$(LN_S) $(srcdir)/../lib/kadm/kadm.h .
1999-09-19 14:19:32 +00:00
kafs.h:
$(LN_S) $(srcdir)/../lib/kafs/kafs.h .
1999-09-19 14:19:32 +00:00
kdc.h:
$(LN_S) $(srcdir)/../lib/kdb/kdc.h .
1999-09-19 14:19:32 +00:00
klog.h:
$(LN_S) $(srcdir)/../lib/krb/klog.h .
1999-09-19 14:19:32 +00:00
krb-archaeology.h:
$(LN_S) $(srcdir)/../lib/krb/krb-archaeology.h .
krb-protos.h:
$(LN_S) $(srcdir)/../lib/krb/krb-protos.h .
krb.h:
$(LN_S) $(srcdir)/../lib/krb/krb.h .
prot.h:
$(LN_S) $(srcdir)/../lib/krb/prot.h .
1999-09-19 14:19:32 +00:00
krb_db.h:
$(LN_S) $(srcdir)/../lib/kdb/krb_db.h .
krb_log.h:
$(LN_S) $(srcdir)/../lib/krb/krb_log.h .
otp.h:
$(LN_S) $(srcdir)/../lib/otp/otp.h .
1999-09-19 14:19:32 +00:00
base64.h:
$(LN_S) $(srcdir)/../lib/roken/base64.h .
err.h:
$(LN_S) $(srcdir)/../lib/roken/err.h .
fnmatch.h:
$(LN_S) $(srcdir)/../lib/roken/fnmatch.h .
getarg.h:
$(LN_S) $(srcdir)/../lib/roken/getarg.h .
glob.h:
$(LN_S) $(srcdir)/../lib/roken/glob.h .
parse_time.h:
$(LN_S) $(srcdir)/../lib/roken/parse_time.h .
resolve.h:
$(LN_S) $(srcdir)/../lib/roken/resolve.h .
roken-common.h:
$(LN_S) $(srcdir)/../lib/roken/roken-common.h .
xdbm.h:
$(LN_S) $(srcdir)/../lib/roken/xdbm.h .
sl.h:
$(LN_S) $(srcdir)/../lib/sl/sl.h .
1999-09-19 14:19:32 +00:00
protos.h:
2000-12-29 21:00:22 +00:00
$(LN_S) $(srcdir)/protos.hin protos.h
1999-09-19 14:19:32 +00:00
netdb.h:
$(LN_S) $(srcdir)/netdb.x netdb.h
1999-09-19 14:19:32 +00:00
bits$(EXECSUFFIX): $(BITS_OBJECTS)
$(LINK) $(LD_FLAGS) $(LDFLAGS) -o $@ $(BITS_OBJECTS)
1999-09-19 14:19:32 +00:00
bits.o: bits.c
1999-09-19 14:19:32 +00:00
ktypes.h: bits$(EXECSUFFIX)
./bits$(EXECSUFFIX) $@
stamp-headers: Makefile
1999-09-19 14:19:32 +00:00
$(MAKE) $(HEADERS) $(LOCL_HEADERS)
touch stamp-headers
1999-09-19 14:19:32 +00:00
.PHONY: all Wall install uninstall clean mostlyclean distclean realclean