~ubuntu-branches/ubuntu/lucid/loop-aes-utils/lucid-security

« back to all changes in this revision

Viewing changes to misc-utils/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Max Vozeler
  • Date: 2009-07-06 02:08:18 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090706020818-11pxao7bhgjenfv9
Tags: 2.15.1~rc1-2
Disable ncurses (--without-ncurses), not used in
mount/. Fixes FTBFS (closes: #535676).

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
bin_PROGRAMS =
6
6
 
7
7
usrbinexec_PROGRAMS = cal ddate logger look mcookie \
8
 
        namei script whereis
 
8
        namei script whereis scriptreplay
9
9
EXTRA_DIST += README.cal README.ddate README.namei README.namei2
10
10
 
11
11
mcookie_SOURCES = mcookie.c ../lib/md5.c
12
12
 
13
 
usrbinexec_SCRIPTS = chkdupexe scriptreplay
14
 
 
15
 
CLEANFILES = chkdupexe scriptreplay
16
 
 
17
 
man_MANS = cal.1 chkdupexe.1 ddate.1 logger.1 look.1 mcookie.1 \
 
13
usrbinexec_SCRIPTS = chkdupexe
 
14
 
 
15
CLEANFILES = chkdupexe
 
16
 
 
17
dist_man_MANS = cal.1 chkdupexe.1 ddate.1 logger.1 look.1 mcookie.1 \
18
18
        namei.1 script.1 whereis.1 scriptreplay.1
19
19
 
20
20
if HAVE_TINFO
21
 
cal_LDADD = -ltinfo -lncurses
 
21
cal_LDADD = -ltinfo @NCURSES_LIBS@
22
22
else
23
23
if HAVE_NCURSES
24
 
cal_LDADD = -lncurses
 
24
cal_LDADD = @NCURSES_LIBS@
25
25
else
26
26
if HAVE_TERMCAP
27
27
cal_LDADD = -ltermcap
34
34
endif
35
35
 
36
36
if HAVE_NCURSES
 
37
if LINUX
37
38
usrbinexec_PROGRAMS += setterm
38
 
man_MANS += setterm.1
 
39
dist_man_MANS += setterm.1
 
40
endif
39
41
if HAVE_TINFO
40
42
setterm_LDADD = -ltinfo
41
43
else
42
 
setterm_LDADD = -lncurses
 
44
setterm_LDADD = @NCURSES_LIBS@
43
45
endif
44
46
endif
45
47
 
46
48
if BUILD_KILL
47
49
bin_PROGRAMS += kill
48
50
kill_SOURCES = kill.c procs.c kill.h
49
 
man_MANS += kill.1
 
51
dist_man_MANS += kill.1
50
52
endif
51
53
 
52
54
if BUILD_RENAME
53
55
usrbinexec_PROGRAMS += rename
54
 
man_MANS += rename.1
 
56
dist_man_MANS += rename.1
55
57
endif
56
58
 
57
59
if BUILD_RESET
58
60
dist_usrbinexec_SCRIPTS = reset
59
 
man_MANS += reset.1
 
61
dist_man_MANS += reset.1
60
62
endif
61
63
EXTRA_DIST += README.reset reset.033c
62
64
 
63
65
if BUILD_WRITE
64
66
 
65
67
usrbinexec_PROGRAMS += write
66
 
man_MANS += write.1
 
68
dist_man_MANS += write.1
67
69
write_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS)
68
70
write_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS)
69
71
 
75
77
endif
76
78
endif
77
79
endif
78
 
 
79
 
noinst_PROGRAMS = cal_test
80
 
cal_test_SOURCES = cal.c
81
 
cal_test_CPPFLAGS = -DTEST_CAL $(AM_CPPFLAGS)
82
 
cal_test_LDADD = $(cal_LDADD)
83