- cosmetics in the main Makefile
[mod_auth_kerb.git] / spnegokrb5 / Makefile.in
1 KRB5_CPPFLAGS = @KRB5_CPPFLAGS@
2 KRB5_LDFLAGS = @KRB5_LDFLAGS@
3
4 CPPFLAGS = -I. -I.. $(KRB5_CPPFLAGS)
5 CFLAGS = -Wall -g
6
7 gen_files =                     \
8         asn1_MechType.c         \
9         asn1_MechTypeList.c     \
10         asn1_ContextFlags.c     \
11         asn1_NegTokenInit.c     \
12         asn1_NegTokenTarg.c
13
14 asn1_files =                    \
15         der_get.c               \
16         der_put.c               \
17         der_free.c              \
18         der_length.c            \
19         der_copy.c              \
20         timegm.c
21
22 spnegokrb5_files =              \
23         init_sec_context.c      \
24         accept_sec_context.c    \
25         encapsulate.c           \
26         decapsulate.c           \
27         external.c
28
29 all: libspnegokrb5.a
30
31 libspnegokrb5.a: $(gen_files:.c=.o) $(asn1_files:.c=.o) $(spnegokrb5_files:.c=.o)
32         ar -rscu libspnegokrb5.a $^
33
34 test:
35         $(CC) -g -o test -I/usr/heimdal-0.6/include test.c libspnegokrb5.a -L/usr/heimdal-0.6/lib -lgssapi
36         
37 clean:
38         $(RM) *.o core libspnegokrb5.a
39
40 distclean: clean
41         $(RM) Makefile