git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@880 ec53bebd-3082-4978-b11e-865c3cabbd6b
41 lines
661 B
Makefile
41 lines
661 B
Makefile
HEADERS = krb5.h asn1.h des.h bits.h cache.h config_file.h
|
|
|
|
srcdir = @srcdir@
|
|
VPATH = $(srcdir)
|
|
top_srcdir = @top_srcdir@
|
|
CC = @CC@
|
|
CFLAGS = @CFLAGS@
|
|
|
|
LN_S = ln -s
|
|
|
|
all:
|
|
for i in $(HEADERS) ; do \
|
|
if [ ! -h $$i -a ! -e $$i ]; then X="$$X $$i"; fi \
|
|
done; \
|
|
if [ ! -z "$$X" ]; then $(MAKE) $$X; fi
|
|
|
|
clean:
|
|
rm -f $(HEADERS) bits *.o core
|
|
|
|
krb5.h:
|
|
$(LN_S) $(top_srcdir)/lib/krb5/krb5.h .
|
|
|
|
cache.h:
|
|
$(LN_S) $(top_srcdir)/lib/krb5/cache.h .
|
|
|
|
config_file.h:
|
|
$(LN_S) $(top_srcdir)/lib/krb5/config_file.h .
|
|
|
|
asn1.h:
|
|
$(LN_S) ../lib/asn1/asn1.h .
|
|
|
|
des.h:
|
|
$(LN_S) $(top_srcdir)/lib/des/des.h .
|
|
|
|
bits.h: bits
|
|
./bits > bits.h
|
|
|
|
bits: bits.o
|
|
$(CC) -o bits bits.o
|
|
|