xref: /freebsd/crypto/heimdal/lib/kadm5/Makefile.in (revision 6780ab54325a71e7e70112b11657973edde8655e)
1# Makefile.in generated by automake 1.6.1 from Makefile.am.
2# @configure_input@
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5# Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17# $Id: Makefile.am,v 1.51 2002/08/16 20:57:09 joda Exp $
18
19# $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
20
21# $Id: Makefile.am.common,v 1.36 2002/08/19 16:10:25 joda Exp $
22SHELL = @SHELL@
23
24srcdir = @srcdir@
25top_srcdir = @top_srcdir@
26VPATH = @srcdir@
27prefix = @prefix@
28exec_prefix = @exec_prefix@
29
30bindir = @bindir@
31sbindir = @sbindir@
32libexecdir = @libexecdir@
33datadir = @datadir@
34sysconfdir = @sysconfdir@
35sharedstatedir = @sharedstatedir@
36localstatedir = @localstatedir@
37libdir = @libdir@
38infodir = @infodir@
39mandir = @mandir@
40includedir = @includedir@
41oldincludedir = /usr/include
42pkgdatadir = $(datadir)/@PACKAGE@
43pkglibdir = $(libdir)/@PACKAGE@
44pkgincludedir = $(includedir)/@PACKAGE@
45top_builddir = ../..
46
47ACLOCAL = @ACLOCAL@
48AUTOCONF = @AUTOCONF@
49AUTOMAKE = @AUTOMAKE@
50AUTOHEADER = @AUTOHEADER@
51
52am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
53INSTALL = @INSTALL@
54INSTALL_PROGRAM = @INSTALL_PROGRAM@
55INSTALL_DATA = @INSTALL_DATA@
56install_sh_DATA = $(install_sh) -c -m 644
57install_sh_PROGRAM = $(install_sh) -c
58INSTALL_SCRIPT = @INSTALL_SCRIPT@
59INSTALL_HEADER = $(INSTALL_DATA)
60transform = @program_transform_name@
61NORMAL_INSTALL = :
62PRE_INSTALL = :
63POST_INSTALL = :
64NORMAL_UNINSTALL = :
65PRE_UNINSTALL = :
66POST_UNINSTALL = :
67host_alias = @host_alias@
68host_triplet = @host@
69
70EXEEXT = @EXEEXT@
71OBJEXT = @OBJEXT@
72PATH_SEPARATOR = @PATH_SEPARATOR@
73AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
74AMTAR = @AMTAR@
75AS = @AS@
76AWK = @AWK@
77CANONICAL_HOST = @CANONICAL_HOST@
78CATMAN = @CATMAN@
79CATMANEXT = @CATMANEXT@
80CC = @CC@
81COMPILE_ET = @COMPILE_ET@
82CPP = @CPP@
83DBLIB = @DBLIB@
84DEPDIR = @DEPDIR@
85DIR_com_err = @DIR_com_err@
86DIR_des = @DIR_des@
87DIR_roken = @DIR_roken@
88DLLTOOL = @DLLTOOL@
89ECHO = @ECHO@
90EXTRA_LIB45 = @EXTRA_LIB45@
91GROFF = @GROFF@
92INCLUDES_roken = @INCLUDES_roken@
93INCLUDE_ = @INCLUDE_@
94INCLUDE_des = @INCLUDE_des@
95INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
96LEX = @LEX@
97
98LEXLIB = @LEXLIB@
99LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
100LIBTOOL = @LIBTOOL@
101LIB_ = @LIB_@
102LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
103LIB_NDBM = @LIB_NDBM@
104LIB_com_err = @LIB_com_err@
105LIB_com_err_a = @LIB_com_err_a@
106LIB_com_err_so = @LIB_com_err_so@
107LIB_des = @LIB_des@
108LIB_des_a = @LIB_des_a@
109LIB_des_appl = @LIB_des_appl@
110LIB_des_so = @LIB_des_so@
111LIB_kdb = @LIB_kdb@
112LIB_otp = @LIB_otp@
113LIB_roken = @LIB_roken@
114LIB_security = @LIB_security@
115LN_S = @LN_S@
116LTLIBOBJS = @LTLIBOBJS@
117NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
118NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
119NROFF = @NROFF@
120OBJDUMP = @OBJDUMP@
121PACKAGE = @PACKAGE@
122RANLIB = @RANLIB@
123STRIP = @STRIP@
124VERSION = @VERSION@
125VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
126WFLAGS = @WFLAGS@
127WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
128WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
129X_CFLAGS = @X_CFLAGS@
130X_EXTRA_LIBS = @X_EXTRA_LIBS@
131X_LIBS = @X_LIBS@
132X_PRE_LIBS = @X_PRE_LIBS@
133YACC = @YACC@
134am__include = @am__include@
135am__quote = @am__quote@
136dpagaix_cflags = @dpagaix_cflags@
137dpagaix_ldadd = @dpagaix_ldadd@
138dpagaix_ldflags = @dpagaix_ldflags@
139install_sh = @install_sh@
140
141AUTOMAKE_OPTIONS = foreign no-dependencies 1.6
142
143SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
144
145INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
146
147@do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
148
149AM_CFLAGS = $(WFLAGS)
150
151CP = cp
152
153buildinclude = $(top_builddir)/include
154
155LIB_XauReadAuth = @LIB_XauReadAuth@
156LIB_crypt = @LIB_crypt@
157LIB_dbm_firstkey = @LIB_dbm_firstkey@
158LIB_dbopen = @LIB_dbopen@
159LIB_dlopen = @LIB_dlopen@
160LIB_dn_expand = @LIB_dn_expand@
161LIB_el_init = @LIB_el_init@
162LIB_getattr = @LIB_getattr@
163LIB_gethostbyname = @LIB_gethostbyname@
164LIB_getpwent_r = @LIB_getpwent_r@
165LIB_getpwnam_r = @LIB_getpwnam_r@
166LIB_getsockopt = @LIB_getsockopt@
167LIB_logout = @LIB_logout@
168LIB_logwtmp = @LIB_logwtmp@
169LIB_odm_initialize = @LIB_odm_initialize@
170LIB_openpty = @LIB_openpty@
171LIB_pidfile = @LIB_pidfile@
172LIB_res_search = @LIB_res_search@
173LIB_setpcred = @LIB_setpcred@
174LIB_setsockopt = @LIB_setsockopt@
175LIB_socket = @LIB_socket@
176LIB_syslog = @LIB_syslog@
177LIB_tgetent = @LIB_tgetent@
178
179HESIODLIB = @HESIODLIB@
180HESIODINCLUDE = @HESIODINCLUDE@
181INCLUDE_hesiod = @INCLUDE_hesiod@
182LIB_hesiod = @LIB_hesiod@
183
184INCLUDE_krb4 = @INCLUDE_krb4@
185LIB_krb4 = @LIB_krb4@
186
187INCLUDE_openldap = @INCLUDE_openldap@
188LIB_openldap = @LIB_openldap@
189
190INCLUDE_readline = @INCLUDE_readline@
191LIB_readline = @LIB_readline@
192
193NROFF_MAN = groff -mandoc -Tascii
194
195@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
196
197@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
198@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
199
200@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
201
202@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
203
204lib_LTLIBRARIES = libkadm5srv.la libkadm5clnt.la
205libkadm5srv_la_LDFLAGS = -version-info 7:5:0
206libkadm5clnt_la_LDFLAGS = -version-info 6:3:2
207sbin_PROGRAMS = dump_log replay_log truncate_log
208
209libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
210libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
211
212libexec_PROGRAMS = ipropd-master ipropd-slave
213
214kadm5includedir = $(includedir)/kadm5
215buildkadm5include = $(buildinclude)/kadm5
216
217kadm5include_HEADERS = kadm5_err.h admin.h private.h \
218	kadm5-protos.h kadm5-private.h
219
220
221SOURCES_client = \
222	admin.h					\
223	chpass_c.c				\
224	common_glue.c				\
225	create_c.c				\
226	delete_c.c				\
227	destroy_c.c				\
228	flush_c.c				\
229	free.c					\
230	get_c.c					\
231	get_princs_c.c				\
232	init_c.c				\
233	kadm5_err.c				\
234	kadm5_locl.h				\
235	marshall.c				\
236	modify_c.c				\
237	private.h				\
238	privs_c.c				\
239	randkey_c.c				\
240	rename_c.c				\
241	send_recv.c
242
243
244SOURCES_server = \
245	acl.c					\
246	admin.h					\
247	bump_pw_expire.c			\
248	chpass_s.c				\
249	common_glue.c				\
250	context_s.c				\
251	create_s.c				\
252	delete_s.c				\
253	destroy_s.c				\
254	ent_setup.c				\
255	error.c					\
256	flush_s.c				\
257	free.c					\
258	get_princs_s.c				\
259	get_s.c					\
260	init_s.c				\
261	kadm5_err.c				\
262	kadm5_locl.h				\
263	keys.c					\
264	log.c					\
265	marshall.c				\
266	modify_s.c				\
267	private.h				\
268	privs_s.c				\
269	randkey_s.c				\
270	rename_s.c				\
271	set_keys.c				\
272	set_modifier.c				\
273	password_quality.c
274
275
276libkadm5srv_la_SOURCES = $(SOURCES_server) server_glue.c
277libkadm5clnt_la_SOURCES = $(SOURCES_client) client_glue.c
278
279dump_log_SOURCES = dump_log.c kadm5_locl.h
280
281replay_log_SOURCES = replay_log.c kadm5_locl.h
282
283ipropd_master_SOURCES = ipropd_master.c iprop.h kadm5_locl.h
284
285ipropd_slave_SOURCES = ipropd_slave.c iprop.h kadm5_locl.h
286
287truncate_log_SOURCES = truncate_log.c
288
289LDADD = \
290	libkadm5srv.la \
291	$(top_builddir)/lib/hdb/libhdb.la \
292	$(LIB_openldap) \
293	$(top_builddir)/lib/krb5/libkrb5.la \
294	$(top_builddir)/lib/asn1/libasn1.la \
295	$(LIB_des) \
296	$(LIB_roken) \
297	$(DBLIB) \
298	$(LIB_dlopen) \
299	$(LIB_pidfile)
300
301
302CLEANFILES = kadm5_err.c kadm5_err.h
303
304proto_opts = -q -R '^(_|kadm5_c_|kadm5_s_|kadm5_log)' -P comment
305subdir = lib/kadm5
306mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
307CONFIG_HEADER = $(top_builddir)/include/config.h
308CONFIG_CLEAN_FILES =
309LTLIBRARIES = $(lib_LTLIBRARIES)
310
311libkadm5clnt_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \
312	../roken/libroken.la
313am__objects_9 = chpass_c.lo common_glue.lo create_c.lo delete_c.lo \
314	destroy_c.lo flush_c.lo free.lo get_c.lo get_princs_c.lo \
315	init_c.lo kadm5_err.lo marshall.lo modify_c.lo privs_c.lo \
316	randkey_c.lo rename_c.lo send_recv.lo
317am_libkadm5clnt_la_OBJECTS = $(am__objects_9) client_glue.lo
318libkadm5clnt_la_OBJECTS = $(am_libkadm5clnt_la_OBJECTS)
319libkadm5srv_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \
320	../roken/libroken.la
321am__objects_10 = acl.lo bump_pw_expire.lo chpass_s.lo common_glue.lo \
322	context_s.lo create_s.lo delete_s.lo destroy_s.lo ent_setup.lo \
323	error.lo flush_s.lo free.lo get_princs_s.lo get_s.lo init_s.lo \
324	kadm5_err.lo keys.lo log.lo marshall.lo modify_s.lo privs_s.lo \
325	randkey_s.lo rename_s.lo set_keys.lo set_modifier.lo \
326	password_quality.lo
327am_libkadm5srv_la_OBJECTS = $(am__objects_10) server_glue.lo
328libkadm5srv_la_OBJECTS = $(am_libkadm5srv_la_OBJECTS)
329libexec_PROGRAMS = ipropd-master$(EXEEXT) ipropd-slave$(EXEEXT)
330sbin_PROGRAMS = dump_log$(EXEEXT) replay_log$(EXEEXT) \
331	truncate_log$(EXEEXT)
332PROGRAMS = $(libexec_PROGRAMS) $(sbin_PROGRAMS)
333
334am_dump_log_OBJECTS = dump_log.$(OBJEXT)
335dump_log_OBJECTS = $(am_dump_log_OBJECTS)
336dump_log_LDADD = $(LDADD)
337dump_log_DEPENDENCIES = libkadm5srv.la $(top_builddir)/lib/hdb/libhdb.la \
338	$(top_builddir)/lib/krb5/libkrb5.la \
339	$(top_builddir)/lib/asn1/libasn1.la
340dump_log_LDFLAGS =
341am_ipropd_master_OBJECTS = ipropd_master.$(OBJEXT)
342ipropd_master_OBJECTS = $(am_ipropd_master_OBJECTS)
343ipropd_master_LDADD = $(LDADD)
344ipropd_master_DEPENDENCIES = libkadm5srv.la \
345	$(top_builddir)/lib/hdb/libhdb.la \
346	$(top_builddir)/lib/krb5/libkrb5.la \
347	$(top_builddir)/lib/asn1/libasn1.la
348ipropd_master_LDFLAGS =
349am_ipropd_slave_OBJECTS = ipropd_slave.$(OBJEXT)
350ipropd_slave_OBJECTS = $(am_ipropd_slave_OBJECTS)
351ipropd_slave_LDADD = $(LDADD)
352ipropd_slave_DEPENDENCIES = libkadm5srv.la \
353	$(top_builddir)/lib/hdb/libhdb.la \
354	$(top_builddir)/lib/krb5/libkrb5.la \
355	$(top_builddir)/lib/asn1/libasn1.la
356ipropd_slave_LDFLAGS =
357am_replay_log_OBJECTS = replay_log.$(OBJEXT)
358replay_log_OBJECTS = $(am_replay_log_OBJECTS)
359replay_log_LDADD = $(LDADD)
360replay_log_DEPENDENCIES = libkadm5srv.la \
361	$(top_builddir)/lib/hdb/libhdb.la \
362	$(top_builddir)/lib/krb5/libkrb5.la \
363	$(top_builddir)/lib/asn1/libasn1.la
364replay_log_LDFLAGS =
365am_truncate_log_OBJECTS = truncate_log.$(OBJEXT)
366truncate_log_OBJECTS = $(am_truncate_log_OBJECTS)
367truncate_log_LDADD = $(LDADD)
368truncate_log_DEPENDENCIES = libkadm5srv.la \
369	$(top_builddir)/lib/hdb/libhdb.la \
370	$(top_builddir)/lib/krb5/libkrb5.la \
371	$(top_builddir)/lib/asn1/libasn1.la
372truncate_log_LDFLAGS =
373
374DEFS = @DEFS@
375DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
376CPPFLAGS = @CPPFLAGS@
377LDFLAGS = @LDFLAGS@
378LIBS = @LIBS@
379depcomp =
380am__depfiles_maybe =
381COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
382	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
383LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
384	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
385CCLD = $(CC)
386LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
387	$(AM_LDFLAGS) $(LDFLAGS) -o $@
388CFLAGS = @CFLAGS@
389DIST_SOURCES = $(libkadm5clnt_la_SOURCES) $(libkadm5srv_la_SOURCES) \
390	$(dump_log_SOURCES) $(ipropd_master_SOURCES) \
391	$(ipropd_slave_SOURCES) $(replay_log_SOURCES) \
392	$(truncate_log_SOURCES)
393HEADERS = $(kadm5include_HEADERS)
394
395DIST_COMMON = $(kadm5include_HEADERS) ChangeLog Makefile.am Makefile.in
396SOURCES = $(libkadm5clnt_la_SOURCES) $(libkadm5srv_la_SOURCES) $(dump_log_SOURCES) $(ipropd_master_SOURCES) $(ipropd_slave_SOURCES) $(replay_log_SOURCES) $(truncate_log_SOURCES)
397
398all: all-am
399
400.SUFFIXES:
401.SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
402$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
403	cd $(top_srcdir) && \
404	  $(AUTOMAKE) --foreign  lib/kadm5/Makefile
405Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
406	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
407libLTLIBRARIES_INSTALL = $(INSTALL)
408install-libLTLIBRARIES: $(lib_LTLIBRARIES)
409	@$(NORMAL_INSTALL)
410	$(mkinstalldirs) $(DESTDIR)$(libdir)
411	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
412	  if test -f $$p; then \
413	    f="`echo $$p | sed -e 's|^.*/||'`"; \
414	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
415	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
416	  else :; fi; \
417	done
418
419uninstall-libLTLIBRARIES:
420	@$(NORMAL_UNINSTALL)
421	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
422	    p="`echo $$p | sed -e 's|^.*/||'`"; \
423	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
424	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
425	done
426
427clean-libLTLIBRARIES:
428	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
429libkadm5clnt.la: $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_DEPENDENCIES)
430	$(LINK) -rpath $(libdir) $(libkadm5clnt_la_LDFLAGS) $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_LIBADD) $(LIBS)
431libkadm5srv.la: $(libkadm5srv_la_OBJECTS) $(libkadm5srv_la_DEPENDENCIES)
432	$(LINK) -rpath $(libdir) $(libkadm5srv_la_LDFLAGS) $(libkadm5srv_la_OBJECTS) $(libkadm5srv_la_LIBADD) $(LIBS)
433libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
434install-libexecPROGRAMS: $(libexec_PROGRAMS)
435	@$(NORMAL_INSTALL)
436	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
437	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
438	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
439	  if test -f $$p \
440	     || test -f $$p1 \
441	  ; then \
442	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
443	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
444	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
445	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
446	  else :; fi; \
447	done
448
449uninstall-libexecPROGRAMS:
450	@$(NORMAL_UNINSTALL)
451	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
452	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
453	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
454	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
455	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
456	done
457
458clean-libexecPROGRAMS:
459	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
460sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
461install-sbinPROGRAMS: $(sbin_PROGRAMS)
462	@$(NORMAL_INSTALL)
463	$(mkinstalldirs) $(DESTDIR)$(sbindir)
464	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
465	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
466	  if test -f $$p \
467	     || test -f $$p1 \
468	  ; then \
469	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
470	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
471	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
472	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \
473	  else :; fi; \
474	done
475
476uninstall-sbinPROGRAMS:
477	@$(NORMAL_UNINSTALL)
478	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
479	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
480	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
481	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
482	  rm -f $(DESTDIR)$(sbindir)/$$f; \
483	done
484
485clean-sbinPROGRAMS:
486	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
487dump_log$(EXEEXT): $(dump_log_OBJECTS) $(dump_log_DEPENDENCIES)
488	@rm -f dump_log$(EXEEXT)
489	$(LINK) $(dump_log_LDFLAGS) $(dump_log_OBJECTS) $(dump_log_LDADD) $(LIBS)
490ipropd-master$(EXEEXT): $(ipropd_master_OBJECTS) $(ipropd_master_DEPENDENCIES)
491	@rm -f ipropd-master$(EXEEXT)
492	$(LINK) $(ipropd_master_LDFLAGS) $(ipropd_master_OBJECTS) $(ipropd_master_LDADD) $(LIBS)
493ipropd-slave$(EXEEXT): $(ipropd_slave_OBJECTS) $(ipropd_slave_DEPENDENCIES)
494	@rm -f ipropd-slave$(EXEEXT)
495	$(LINK) $(ipropd_slave_LDFLAGS) $(ipropd_slave_OBJECTS) $(ipropd_slave_LDADD) $(LIBS)
496replay_log$(EXEEXT): $(replay_log_OBJECTS) $(replay_log_DEPENDENCIES)
497	@rm -f replay_log$(EXEEXT)
498	$(LINK) $(replay_log_LDFLAGS) $(replay_log_OBJECTS) $(replay_log_LDADD) $(LIBS)
499truncate_log$(EXEEXT): $(truncate_log_OBJECTS) $(truncate_log_DEPENDENCIES)
500	@rm -f truncate_log$(EXEEXT)
501	$(LINK) $(truncate_log_LDFLAGS) $(truncate_log_OBJECTS) $(truncate_log_LDADD) $(LIBS)
502
503mostlyclean-compile:
504	-rm -f *.$(OBJEXT) core *.core
505
506distclean-compile:
507	-rm -f *.tab.c
508
509.c.o:
510	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
511
512.c.obj:
513	$(COMPILE) -c `cygpath -w $<`
514
515.c.lo:
516	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
517
518mostlyclean-libtool:
519	-rm -f *.lo
520
521clean-libtool:
522	-rm -rf .libs _libs
523
524distclean-libtool:
525	-rm -f libtool
526uninstall-info-am:
527kadm5includeHEADERS_INSTALL = $(INSTALL_HEADER)
528install-kadm5includeHEADERS: $(kadm5include_HEADERS)
529	@$(NORMAL_INSTALL)
530	$(mkinstalldirs) $(DESTDIR)$(kadm5includedir)
531	@list='$(kadm5include_HEADERS)'; for p in $$list; do \
532	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
533	  f="`echo $$p | sed -e 's|^.*/||'`"; \
534	  echo " $(kadm5includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(kadm5includedir)/$$f"; \
535	  $(kadm5includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(kadm5includedir)/$$f; \
536	done
537
538uninstall-kadm5includeHEADERS:
539	@$(NORMAL_UNINSTALL)
540	@list='$(kadm5include_HEADERS)'; for p in $$list; do \
541	  f="`echo $$p | sed -e 's|^.*/||'`"; \
542	  echo " rm -f $(DESTDIR)$(kadm5includedir)/$$f"; \
543	  rm -f $(DESTDIR)$(kadm5includedir)/$$f; \
544	done
545
546ETAGS = etags
547ETAGSFLAGS =
548
549tags: TAGS
550
551ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
552	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
553	unique=`for i in $$list; do \
554	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
555	  done | \
556	  $(AWK) '    { files[$$0] = 1; } \
557	       END { for (i in files) print i; }'`; \
558	mkid -fID $$unique
559
560TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
561		$(TAGS_FILES) $(LISP)
562	tags=; \
563	here=`pwd`; \
564	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
565	unique=`for i in $$list; do \
566	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
567	  done | \
568	  $(AWK) '    { files[$$0] = 1; } \
569	       END { for (i in files) print i; }'`; \
570	test -z "$(ETAGS_ARGS)$$tags$$unique" \
571	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
572	     $$tags $$unique
573
574GTAGS:
575	here=`$(am__cd) $(top_builddir) && pwd` \
576	  && cd $(top_srcdir) \
577	  && gtags -i $(GTAGS_ARGS) $$here
578
579distclean-tags:
580	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
581DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
582
583top_distdir = ../..
584distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
585
586distdir: $(DISTFILES)
587	@for file in $(DISTFILES); do \
588	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
589	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
590	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
591	    dir="/$$dir"; \
592	    $(mkinstalldirs) "$(distdir)$$dir"; \
593	  else \
594	    dir=''; \
595	  fi; \
596	  if test -d $$d/$$file; then \
597	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
598	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
599	    fi; \
600	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
601	  else \
602	    test -f $(distdir)/$$file \
603	    || cp -p $$d/$$file $(distdir)/$$file \
604	    || exit 1; \
605	  fi; \
606	done
607	$(MAKE) $(AM_MAKEFLAGS) \
608	  top_distdir="${top_distdir}" distdir="$(distdir)" \
609	  dist-hook
610check-am: all-am
611	$(MAKE) $(AM_MAKEFLAGS) check-local
612check: check-am
613all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
614
615installdirs:
616	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(sbindir) $(DESTDIR)$(kadm5includedir)
617
618install: install-am
619install-exec: install-exec-am
620install-data: install-data-am
621uninstall: uninstall-am
622
623install-am: all-am
624	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
625
626installcheck: installcheck-am
627install-strip:
628	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
629	  INSTALL_STRIP_FLAG=-s \
630	  `test -z '$(STRIP)' || \
631	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
632mostlyclean-generic:
633
634clean-generic:
635	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
636
637distclean-generic:
638	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
639
640maintainer-clean-generic:
641	@echo "This command is intended for maintainers to use"
642	@echo "it deletes files that may require special tools to rebuild."
643clean: clean-am
644
645clean-am: clean-generic clean-libLTLIBRARIES clean-libexecPROGRAMS \
646	clean-libtool clean-sbinPROGRAMS mostlyclean-am
647
648distclean: distclean-am
649
650distclean-am: clean-am distclean-compile distclean-generic \
651	distclean-libtool distclean-tags
652
653dvi: dvi-am
654
655dvi-am:
656
657info: info-am
658
659info-am:
660
661install-data-am: install-data-local install-kadm5includeHEADERS
662
663install-exec-am: install-libLTLIBRARIES install-libexecPROGRAMS \
664	install-sbinPROGRAMS
665	@$(NORMAL_INSTALL)
666	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
667
668install-info: install-info-am
669
670install-man:
671
672installcheck-am:
673
674maintainer-clean: maintainer-clean-am
675
676maintainer-clean-am: distclean-am maintainer-clean-generic
677
678mostlyclean: mostlyclean-am
679
680mostlyclean-am: mostlyclean-compile mostlyclean-generic \
681	mostlyclean-libtool
682
683uninstall-am: uninstall-info-am uninstall-kadm5includeHEADERS \
684	uninstall-libLTLIBRARIES uninstall-libexecPROGRAMS \
685	uninstall-sbinPROGRAMS
686
687.PHONY: GTAGS all all-am all-local check check-am check-local clean \
688	clean-generic clean-libLTLIBRARIES clean-libexecPROGRAMS \
689	clean-libtool clean-sbinPROGRAMS distclean distclean-compile \
690	distclean-generic distclean-libtool distclean-tags distdir dvi \
691	dvi-am info info-am install install-am install-data \
692	install-data-am install-data-local install-exec install-exec-am \
693	install-info install-info-am install-kadm5includeHEADERS \
694	install-libLTLIBRARIES install-libexecPROGRAMS install-man \
695	install-sbinPROGRAMS install-strip installcheck installcheck-am \
696	installdirs maintainer-clean maintainer-clean-generic \
697	mostlyclean mostlyclean-compile mostlyclean-generic \
698	mostlyclean-libtool tags uninstall uninstall-am \
699	uninstall-info-am uninstall-kadm5includeHEADERS \
700	uninstall-libLTLIBRARIES uninstall-libexecPROGRAMS \
701	uninstall-sbinPROGRAMS
702
703
704install-suid-programs:
705	@foo='$(bin_SUIDS)'; \
706	for file in $$foo; do \
707	x=$(DESTDIR)$(bindir)/$$file; \
708	if chown 0:0 $$x && chmod u+s $$x; then :; else \
709	echo "*"; \
710	echo "* Failed to install $$x setuid root"; \
711	echo "*"; \
712	fi; done
713
714install-exec-hook: install-suid-programs
715
716install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
717	@foo='$(include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ)'; \
718	for f in $$foo; do \
719		f=`basename $$f`; \
720		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
721		else file="$$f"; fi; \
722		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
723		: ; else \
724			echo " $(CP) $$file $(buildinclude)/$$f"; \
725			$(CP) $$file $(buildinclude)/$$f; \
726		fi ; \
727	done
728
729all-local: install-build-headers
730
731check-local::
732	@if test '$(CHECK_LOCAL)'; then \
733	  foo='$(CHECK_LOCAL)'; else \
734	  foo='$(PROGRAMS)'; fi; \
735	  if test "$$foo"; then \
736	  failed=0; all=0; \
737	  for i in $$foo; do \
738	    all=`expr $$all + 1`; \
739	    if ./$$i --version > /dev/null 2>&1; then \
740	      echo "PASS: $$i"; \
741	    else \
742	      echo "FAIL: $$i"; \
743	      failed=`expr $$failed + 1`; \
744	    fi; \
745	  done; \
746	  if test "$$failed" -eq 0; then \
747	    banner="All $$all tests passed"; \
748	  else \
749	    banner="$$failed of $$all tests failed"; \
750	  fi; \
751	  dashes=`echo "$$banner" | sed s/./=/g`; \
752	  echo "$$dashes"; \
753	  echo "$$banner"; \
754	  echo "$$dashes"; \
755	  test "$$failed" -eq 0; \
756	fi
757
758.x.c:
759	@cmp -s $< $@ 2> /dev/null || cp $< $@
760#NROFF_MAN = nroff -man
761.1.cat1:
762	$(NROFF_MAN) $< > $@
763.3.cat3:
764	$(NROFF_MAN) $< > $@
765.5.cat5:
766	$(NROFF_MAN) $< > $@
767.8.cat8:
768	$(NROFF_MAN) $< > $@
769
770dist-cat1-mans:
771	@foo='$(man1_MANS)'; \
772	bar='$(man_MANS)'; \
773	for i in $$bar; do \
774	case $$i in \
775	*.1) foo="$$foo $$i";; \
776	esac; done ;\
777	for i in $$foo; do \
778		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
779		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
780		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
781	done
782
783dist-cat3-mans:
784	@foo='$(man3_MANS)'; \
785	bar='$(man_MANS)'; \
786	for i in $$bar; do \
787	case $$i in \
788	*.3) foo="$$foo $$i";; \
789	esac; done ;\
790	for i in $$foo; do \
791		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
792		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
793		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
794	done
795
796dist-cat5-mans:
797	@foo='$(man5_MANS)'; \
798	bar='$(man_MANS)'; \
799	for i in $$bar; do \
800	case $$i in \
801	*.5) foo="$$foo $$i";; \
802	esac; done ;\
803	for i in $$foo; do \
804		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
805		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
806		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
807	done
808
809dist-cat8-mans:
810	@foo='$(man8_MANS)'; \
811	bar='$(man_MANS)'; \
812	for i in $$bar; do \
813	case $$i in \
814	*.8) foo="$$foo $$i";; \
815	esac; done ;\
816	for i in $$foo; do \
817		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
818		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
819		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
820	done
821
822dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
823
824install-cat-mans:
825	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
826
827install-data-local: install-cat-mans
828
829.et.h:
830	$(COMPILE_ET) $<
831.et.c:
832	$(COMPILE_ET) $<
833
834install-build-headers:: $(kadm5include_HEADERS)
835	@foo='$(kadm5include_HEADERS)'; \
836	for f in $$foo; do \
837		f=`basename $$f`; \
838		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
839		else file="$$f"; fi; \
840		if cmp -s  $$file $(buildkadm5include)/$$f 2> /dev/null ; then \
841		: ; else \
842			echo "cp $$file $(buildkadm5include)/$$f";\
843			cp $$file $(buildkadm5include)/$$f; \
844		fi ; \
845	done
846
847$(libkadm5srv_la_OBJECTS): kadm5_err.h
848
849client_glue.lo server_glue.lo: $(srcdir)/common_glue.c
850
851# to help stupid solaris make
852
853kadm5_err.h: kadm5_err.et
854
855$(libkadm5clnt_la_OBJECTS) $(libkadm5srv_la_OBJECTS): $(srcdir)/kadm5-protos.h $(srcdir)/kadm5-private.h
856$(srcdir)/kadm5-protos.h:
857	cd $(srcdir); perl ../../cf/make-proto.pl $(proto_opts) \
858		-o kadm5-protos.h \
859		$(libkadm5clnt_la_SOURCES) $(libkadm5srv_la_SOURCES) \
860		|| rm -f kadm5-protos.h
861
862$(srcdir)/kadm5-private.h:
863	cd $(srcdir); perl ../../cf/make-proto.pl $(proto_opts) \
864		-p kadm5-private.h \
865		$(libkadm5clnt_la_SOURCES) $(libkadm5srv_la_SOURCES) \
866		|| rm -f kadm5-private.h
867# Tell versions [3.59,3.63) of GNU make to not export all variables.
868# Otherwise a system limit (for SysV at least) may be exceeded.
869.NOEXPORT:
870