~ubuntu-core-dev/module-init-tools/ubuntu

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Scott James Remnant
  • Date: 2009-07-16 15:24:17 UTC
  • mfrom: (152.1.38)
  • Revision ID: scott@netsplit.com-20090716152417-7ak1sklxb59cs4fz
MergeĀ 3.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
lsmod_SOURCES = lsmod.c testing.h
5
5
modprobe_SOURCES = modprobe.c zlibsupport.c zlibsupport.h testing.h
6
6
rmmod_SOURCES = rmmod.c testing.h
7
 
depmod_SOURCES = depmod.c zlibsupport.c moduleops.c tables.c \
8
 
        zlibsupport.h moduleops.h tables.h testing.h
 
7
depmod_SOURCES = depmod.c zlibsupport.c tables.c \
 
8
        zlibsupport.h tables.h testing.h
9
9
modinfo_SOURCES = modinfo.c zlibsupport.c zlibsupport.h testing.h
10
10
modindex_SOURCES = modindex.c zlibsupport.c zlibsupport.h testing.h
11
11
 
19
19
EXTRA_modprobe_SOURCES = 
20
20
EXTRA_rmmod_SOURCES =
21
21
EXTRA_insmod_static_SOURCES =
22
 
EXTRA_depmod_SOURCES = moduleops_core.c
 
22
EXTRA_depmod_SOURCES =
23
23
EXTRA_modinfo_SOURCES =
24
24
 
25
 
libmodtools_a_SOURCES = util.c logging.c index.c config_filter.c \
26
 
        util.h depmod.h logging.h index.h list.h config_filter.h
 
25
libmodtools_a_SOURCES = util.c logging.c index.c config_filter.c elfops.c \
 
26
        util.h depmod.h logging.h index.h list.h config_filter.h elfops.h
27
27
libmodtools_a_CFLAGS = -ffunction-sections
28
28
 
29
 
EXTRA_libmodtools_a_SOURCES = elf_core.c
 
29
EXTRA_libmodtools_a_SOURCES = elfops_core.c
30
30
 
31
31
insmod_LDADD = $(LDADD) libmodtools.a
32
32
lsmod_LDADD = $(LDADD) libmodtools.a
36
36
modinfo_LDADD = $(LDADD) libmodtools.a
37
37
modindex_LDADD = $(LDADD) libmodtools.a
38
38
 
39
 
MAN5 = modprobe.conf.5 modules.dep.5 depmod.conf.5
 
39
MAN5 = modprobe.conf.5 modules.dep.5 depmod.conf.5 modprobe.d.5
40
40
MAN8 = depmod.8 insmod.8 lsmod.8 rmmod.8 modprobe.8 modinfo.8
41
41
SGML = $(addprefix doc/,  $(MAN5:%.5=%.sgml) $(MAN8:%.8=%.sgml))
42
42
dist_man_MANS = $(MAN5) $(MAN8)
45
45
 
46
46
TESTSUITE := $(shell test -e @srcdir@/tests && find @srcdir@/tests -type f ! -name '*~')
47
47
 
48
 
EXTRA_DIST = generate-modprobe.conf modprobe.devfs FAQ CODING stress_modules.sh install-with-care $(SGML) $(man_MANS) $(TESTSUITE)
 
48
EXTRA_DIST = generate-modprobe.conf FAQ CODING stress_modules.sh install-with-care $(SGML) $(man_MANS) $(TESTSUITE)
49
49
 
50
 
sbin_PROGRAMS = insmod modprobe rmmod depmod modinfo insmod.static
 
50
sbin_PROGRAMS = insmod modprobe rmmod depmod modinfo
 
51
if BUILD_STATIC_UTILS
 
52
sbin_PROGRAMS += insmod.static
 
53
endif
51
54
bin_PROGRAMS = lsmod
52
 
sbin_SCRIPTS = generate-modprobe.conf
53
55
noinst_PROGRAMS=modindex
54
56
noinst_LIBRARIES = libmodtools.a
55
57
INSTALL = $(SHELL) $(top_srcdir)/install-with-care