xref: /freebsd/crypto/heimdal/appl/login/Makefile.am (revision 6a068746777241722b2b32c5d0bc443a2a64d80b)
1# $Id$
2
3include $(top_srcdir)/Makefile.am.common
4
5man_MANS = login.1 login.access.5
6
7bin_PROGRAMS = login
8
9login_SOURCES =					\
10		conf.c				\
11		env.c				\
12		login.c				\
13		login_access.c			\
14		login_locl.h			\
15		login-protos.h			\
16		loginpaths.h			\
17		limits_conf.c			\
18		osfc2.c				\
19		read_string.c			\
20		shadow.c			\
21		stty_default.c			\
22		tty.c				\
23		utmp_login.c			\
24		utmpx_login.c
25
26LDADD = $(LIB_otp) \
27	$(LIB_kafs) \
28	$(top_builddir)/lib/krb5/libkrb5.la \
29	$(LIB_hcrypto) \
30	$(top_builddir)/lib/asn1/libasn1.la \
31	$(LIB_roken) \
32	$(LIB_security) \
33	$(DBLIB)
34
35$(srcdir)/login-protos.h:
36	cd $(srcdir); perl ../../cf/make-proto.pl -o login-protos.h -q -P comment $(login_SOURCES) || rm -f login-protos.h
37
38$(login_OBJECTS): $(srcdir)/login-protos.h
39
40EXTRA_DIST = NTMakefile $(man_MANS)
41