Removed dependecies on Heimdal
[mod_auth_kerb.git] / spnegokrb5 / Makefile
1 include ../makefile.include
2
3 CPPFLAGS = -I. -I$(KRB5_ROOT)/include -I$(KRB5_ROOT)/include/gssapi
4 CFLAGS = -Wall -g
5
6 gen_files =                     \
7         asn1_MechType.c         \
8         asn1_MechTypeList.c     \
9         asn1_ContextFlags.c     \
10         asn1_NegTokenInit.c     \
11         asn1_NegTokenTarg.c
12
13 asn1_files =                    \
14         der_get.c               \
15         der_put.c               \
16         der_free.c              \
17         der_length.c            \
18         der_copy.c              \
19         timegm.c                                
20
21 all: libspnegokrb5.a
22
23 libspnegokrb5.a: $(gen_files:.c=.o) $(asn1_files:.c=.o) init_sec_context.o accept_sec_context.o 
24         ar -rscu libspnegokrb5.a $^
25
26 clean:
27         $(RM) *.o core libspnegokrb5.a