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