xref: /freebsd/crypto/heimdal/lib/krb5/Makefile.am (revision 5e9cd1ae3e10592ed70e7575551cba1bbab04d84)
1# $Id: Makefile.am,v 1.119 2001/01/30 01:50:52 assar Exp $
2
3include $(top_srcdir)/Makefile.am.common
4
5bin_PROGRAMS = verify_krb5_conf
6
7noinst_PROGRAMS = dump_config test_get_addrs
8
9check_PROGRAMS = n-fold-test string-to-key-test
10TESTS = n-fold-test string-to-key-test
11
12LDADD = libkrb5.la \
13	$(LIB_des) \
14	$(top_builddir)/lib/asn1/libasn1.la \
15	$(LIB_roken)
16
17libkrb5_la_LIBADD = \
18	../com_err/error.lo ../com_err/com_err.lo \
19	$(LIB_des) \
20	$(top_builddir)/lib/asn1/libasn1.la \
21	$(LIB_roken)
22
23lib_LTLIBRARIES = libkrb5.la
24
25ERR_FILES = krb5_err.c heim_err.c
26
27libkrb5_la_SOURCES = \
28	acl.c \
29	add_et_list.c \
30	addr_families.c \
31	address.c \
32	aname_to_localname.c \
33	appdefault.c \
34	asn1_glue.c \
35	auth_context.c \
36	build_ap_req.c \
37	build_auth.c \
38	cache.c \
39	changepw.c \
40	codec.c \
41	config_file.c \
42	config_file_netinfo.c \
43	convert_creds.c \
44	constants.c \
45	context.c \
46	copy_host_realm.c \
47	crc.c \
48	creds.c \
49	crypto.c \
50	data.c \
51	eai_to_heim_errno.c \
52	expand_hostname.c \
53	fcache.c \
54	free.c \
55	free_host_realm.c \
56	generate_seq_number.c \
57	generate_subkey.c \
58	get_addrs.c \
59	get_cred.c \
60	get_default_principal.c \
61	get_default_realm.c \
62	get_for_creds.c \
63	get_host_realm.c \
64	get_in_tkt.c \
65	get_in_tkt_pw.c \
66	get_in_tkt_with_keytab.c \
67	get_in_tkt_with_skey.c \
68	get_port.c \
69	init_creds.c \
70	init_creds_pw.c \
71	keyblock.c \
72	keytab.c \
73	keytab_file.c \
74	keytab_memory.c \
75	keytab_keyfile.c \
76	keytab_krb4.c \
77	krbhst.c \
78	kuserok.c \
79	log.c \
80	mcache.c \
81	misc.c \
82	mk_error.c \
83	mk_priv.c \
84	mk_rep.c \
85	mk_req.c \
86	mk_req_ext.c \
87	mk_safe.c \
88	net_read.c \
89	net_write.c \
90	n-fold.c \
91	padata.c \
92	principal.c \
93	prog_setup.c \
94	prompter_posix.c \
95	rd_cred.c \
96	rd_error.c \
97	rd_priv.c \
98	rd_rep.c \
99	rd_req.c \
100	rd_safe.c \
101	read_message.c \
102	recvauth.c \
103	replay.c \
104	send_to_kdc.c \
105	sendauth.c \
106	set_default_realm.c \
107	sock_principal.c \
108	store.c \
109	store_emem.c \
110	store_fd.c \
111	store_mem.c \
112	ticket.c \
113	time.c \
114	transited.c \
115	verify_init.c \
116	verify_user.c \
117	version.c \
118	warn.c \
119	write_message.c \
120	$(ERR_FILES)
121
122libkrb5_la_LDFLAGS = -version-info 15:0:0
123
124$(libkrb5_la_OBJECTS): $(srcdir)/krb5-protos.h $(srcdir)/krb5-private.h
125
126$(srcdir)/krb5-protos.h:
127	cd $(srcdir); perl ../../cf/make-proto.pl -o krb5-protos.h $(libkrb5_la_SOURCES) || rm -f krb5-protos.h
128
129$(srcdir)/krb5-private.h:
130	cd $(srcdir); perl ../../cf/make-proto.pl -p krb5-private.h $(libkrb5_la_SOURCES) || rm -f krb5-private.h
131
132#libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo
133
134man_MANS =					\
135	kerberos.8				\
136	krb5.conf.5				\
137	krb5_425_conv_principal.3		\
138	krb5_appdefault.3			\
139	krb5_build_principal.3			\
140	krb5_config.3				\
141	krb5_free_principal.3			\
142	krb5_openlog.3				\
143	krb5_parse_name.3			\
144	krb5_sname_to_principal.3		\
145	krb5_unparse_name.3			\
146	krb5_warn.3				\
147	verify_krb5_conf.8			\
148	krb5_auth_context.3			\
149	krb5_context.3				\
150	krb5_init_context.3
151
152include_HEADERS = krb5.h krb5-protos.h krb5-private.h krb5_err.h heim_err.h
153
154CLEANFILES = krb5_err.c krb5_err.h heim_err.c heim_err.h
155
156$(libkrb5_la_OBJECTS): krb5_err.h heim_err.h
157
158# to help stupid solaris make
159
160krb5_err.h: krb5_err.et
161
162heim_err.h: heim_err.et
163