No empty .Rs/.Re
[netbsd-mini2440.git] / crypto / dist / heimdal / appl / kx / Makefile.am
blob7335d8efe394359df2623a4bb4ccffd42f6d1dd3
1 # $Heimdal: Makefile.am 20466 2007-04-20 08:29:05Z lha $
2 # $NetBSD$
4 include $(top_srcdir)/Makefile.am.common
6 AM_CPPFLAGS += $(INCLUDE_krb4) $(X_CFLAGS)
8 WFLAGS += $(WFLAGS_NOIMPLICITINT)
10 if HAVE_X
12 bin_PROGRAMS = kx
13 bin_SCRIPTS = rxterm rxtelnet tenletxr
14 libexec_PROGRAMS = kxd
16 else
18 bin_PROGRAMS = 
19 bin_SCRIPTS = 
20 libexec_PROGRAMS = 
22 endif
24 CLEANFILES = rxterm rxtelnet tenletxr
26 if NEED_WRITEAUTH
27 XauWriteAuth_c = writeauth.c
28 endif
30 kx_SOURCES = \
31         kx.c \
32         kx.h \
33         common.c \
34         context.c \
35         krb4.c \
36         krb5.c \
37         $(XauWriteAuth_c)
39 EXTRA_kx_SOURCES = writeauth.c
41 kxd_SOURCES = \
42         kxd.c \
43         kx.h \
44         common.c \
45         context.c \
46         krb4.c \
47         krb5.c \
48         $(XauWriteAuth_c)
50 EXTRA_kxd_SOURCES = writeauth.c
52 EXTRA_DIST = rxterm.in rxtelnet.in tenletxr.in $(man_MANS)
54 man_MANS = kx.1 rxtelnet.1 rxterm.1 tenletxr.1 kxd.8
56 rxterm: rxterm.in
57         sed -e "s!%bindir%!$(bindir)!" $(srcdir)/rxterm.in > $@
58         chmod +x $@
60 rxtelnet: rxtelnet.in
61         sed -e "s!%bindir%!$(bindir)!" $(srcdir)/rxtelnet.in > $@
62         chmod +x $@
64 tenletxr: tenletxr.in
65         sed -e "s!%bindir%!$(bindir)!" $(srcdir)/tenletxr.in > $@
66         chmod +x $@
68 LDADD = \
69         $(LIB_kafs)                             \
70         $(LIB_krb5)                             \
71         $(LIB_krb4)                             \
72         $(LIB_hcrypto)                          \
73         $(LIB_roken)                            \
74         $(X_LIBS) $(LIB_XauReadAuth) $(X_PRE_LIBS) $(X_EXTRA_LIBS)