Add _krb5_log() used for internal logging
[heimdal.git] / appl / kx / Makefile.am
blobb5f026ca44e4e090bfaf424cddb7c7979eb8e42b
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 AM_CPPFLAGS += $(X_CFLAGS)
7 WFLAGS += $(WFLAGS_NOIMPLICITINT)
9 if HAVE_X
11 bin_PROGRAMS = kx
12 bin_SCRIPTS = rxterm rxtelnet tenletxr
13 libexec_PROGRAMS = kxd
15 else
17 bin_PROGRAMS = 
18 bin_SCRIPTS = 
19 libexec_PROGRAMS = 
21 endif
23 CLEANFILES = rxterm rxtelnet tenletxr
25 if NEED_WRITEAUTH
26 XauWriteAuth_c = writeauth.c
27 endif
29 kx_SOURCES = \
30         kx.c \
31         kx.h \
32         common.c \
33         context.c \
34         krb5.c \
35         $(XauWriteAuth_c)
37 EXTRA_kx_SOURCES = writeauth.c
39 kxd_SOURCES = \
40         kxd.c \
41         kx.h \
42         common.c \
43         context.c \
44         krb5.c \
45         $(XauWriteAuth_c)
47 EXTRA_kxd_SOURCES = writeauth.c
49 EXTRA_DIST = rxterm.in rxtelnet.in tenletxr.in $(man_MANS)
51 man_MANS = kx.1 rxtelnet.1 rxterm.1 tenletxr.1 kxd.8
53 rxterm: rxterm.in
54         sed -e "s!%bindir%!$(bindir)!" $(srcdir)/rxterm.in > $@
55         chmod +x $@
57 rxtelnet: rxtelnet.in
58         sed -e "s!%bindir%!$(bindir)!" $(srcdir)/rxtelnet.in > $@
59         chmod +x $@
61 tenletxr: tenletxr.in
62         sed -e "s!%bindir%!$(bindir)!" $(srcdir)/tenletxr.in > $@
63         chmod +x $@
65 LDADD = \
66         $(LIB_kafs)                             \
67         $(LIB_krb5)                             \
68         $(LIB_hcrypto)                          \
69         $(LIB_roken)                            \
70         $(X_LIBS) $(LIB_XauReadAuth) $(X_PRE_LIBS) $(X_EXTRA_LIBS)