x
[heimdal.git] / lib / gssapi / krb5 / Makefile.am
blobddfc2fe0a359ab9ec95cd19935f8322d6ae42e2d
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 AM_CPPFLAGS += -I$(srcdir)/../krb5 \
6         -I${srcdir}/../asn1/include \
7         $(INCLUDE_des) \
8         $(INCLUDE_krb4)
10 spnego_files =                                  \
11         asn1_ContextFlags.x                     \
12         asn1_MechType.x                         \
13         asn1_MechTypeList.x                     \
14         asn1_NegotiationToken.x                 \
15         asn1_NegTokenInit.x                     \
16         asn1_NegTokenTarg.x
18 BUILT_SOURCES = $(spnego_files:.x=.c)
20 lib_LTLIBRARIES = libgssapi.la
21 libgssapi_la_LDFLAGS = -version-info 4:0:0
22 libgssapi_la_LIBADD  = \
23         ../krb5/libkrb5.la \
24         $(LIB_des) \
25         ../asn1/libasn1.la \
26         $(LIB_roken)
28 man_MANS = gssapi.3 gss_acquire_cred.3
30 include_HEADERS = gssapi.h
32 libgssapi_la_SOURCES =          \
33         $(BUILT_SOURCES)        \
34         8003.c                  \
35         accept_sec_context.c    \
36         acquire_cred.c          \
37         add_cred.c              \
38         add_oid_set_member.c    \
39         arcfour.c               \
40         canonicalize_name.c     \
41         ccache_name.c           \
42         cfx.c                   \
43         compare_name.c          \
44         compat.c                \
45         context_time.c          \
46         copy_ccache.c           \
47         create_emtpy_oid_set.c  \
48         decapsulate.c           \
49         delete_sec_context.c    \
50         display_name.c          \
51         display_status.c        \
52         duplicate_name.c        \
53         encapsulate.c           \
54         export_sec_context.c    \
55         export_name.c           \
56         external.c              \
57         get_mic.c               \
58         gssapi.h                \
59         gssapi_locl.h           \
60         import_name.c           \
61         import_sec_context.c    \
62         indicate_mechs.c        \
63         init.c                  \
64         init_sec_context.c      \
65         inquire_context.c       \
66         inquire_cred.c          \
67         inquire_cred_by_mech.c  \
68         inquire_mechs_for_name.c \
69         inquire_names_for_mech.c \
70         release_buffer.c        \
71         release_cred.c          \
72         release_name.c          \
73         release_oid_set.c       \
74         sequence.c              \
75         process_context_token.c \
76         ticket_flags.c          \
77         test_oid_set_member.c   \
78         unwrap.c                \
79         v1.c                    \
80         verify_mic.c            \
81         wrap.c                  \
82         address_to_krb5addr.c
84 CLEANFILES = $(BUILT_SOURCES) $(spnego_files) spnego_asn1.h asn1_files
86 $(spnego_files) spnego_asn1.h: asn1_files
88 asn1_files: ../asn1/asn1_compile$(EXEEXT) $(srcdir)/spnego.asn1
89         ../asn1/asn1_compile$(EXEEXT) $(srcdir)/spnego.asn1 spnego_asn1
91 $(libgssapi_la_OBJECTS): spnego_asn1.h
93 TESTS = test_sequence
95 check_PROGRAMS = test_acquire_cred $(TESTS)
97 noinst_PROGRAMS = test_cred
98 LDADD = libgssapi.la $(LIB_roken)