aboutsummaryrefslogtreecommitdiffstats
path: root/appl/login/Makefile.am
blob: c5a838d7ac9975158e5673ca01225a1db3d48dd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $Id$

include $(top_srcdir)/Makefile.am.common

man_MANS = login.1 login.access.5

bin_PROGRAMS = login

login_SOURCES =					\
		conf.c				\
		env.c				\
		login.c				\
		login_access.c			\
		login_locl.h			\
		login-protos.h			\
		loginpaths.h			\
		limits_conf.c			\
		osfc2.c				\
		read_string.c			\
		shadow.c			\
		stty_default.c			\
		tty.c				\
		utmp_login.c			\
		utmpx_login.c

LDADD = $(LIB_otp) \
	$(LIB_kafs) \
	$(top_builddir)/lib/krb5/libkrb5.la \
	$(LIB_hcrypto) \
	$(top_builddir)/lib/asn1/libasn1.la \
	$(LIB_roken) \
	$(LIB_security) \
	$(DBLIB)

$(srcdir)/login-protos.h:
	cd $(srcdir); perl ../../cf/make-proto.pl -o login-protos.h -q -P comment $(login_SOURCES) || rm -f login-protos.h

$(login_OBJECTS): $(srcdir)/login-protos.h

EXTRA_DIST = NTMakefile $(man_MANS)