File: Makefile.am

package info (click to toggle)
cpufreqd 1.2.3-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,648 kB
  • ctags: 210
  • sloc: sh: 8,665; ansic: 1,648; makefile: 120
file content (76 lines) | stat: -rw-r--r-- 2,148 bytes parent folder | download
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
AM_CFLAGS = -W -Wall -Wshadow -W -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wundef -Wbad-function-cast -Waggregate-return -ansi -pedantic -D_GNU_SOURCE

CTAGS = ctags

EXTRA_DIST = cpufreqd.conf \
             scripts/debian/cpufreqd \
             scripts/gentoo/cpufreqd \
             scripts/mandrake/cpufreqd.init.mdk \
             scripts/suse/cpufreqd.initd-SUSE \
             scripts/suse/cpufreqd.sysconfig \
             README \
             INSTALL \
             NEWS \
             AUTHORS \
             TODO \
             ChangeLog \
             examples/cpufreqd.conf-2.4 \
             examples/cpufreqd.conf-2.6

SUBDIRS = . manpages

sbin_PROGRAMS = cpufreqd

cpufreqd_SOURCES = \
                    main.c \
                    config_parser.c \
                    sys_check.c \
                    string_list.c

lib_LTLIBRARIES = \
                  libsys_acpi.la \
                  libsys_apm.la \
                  libsys_pmu.la

libsys_acpi_la_SOURCES = \
                          libsys.c \
                          libsys_acpi.c
libsys_acpi_la_LDFLAGS = -module -avoid-version

libsys_apm_la_SOURCES = \
                        libsys.c \
                        libsys_apm.c
libsys_apm_la_LDFLAGS = -module -avoid-version

libsys_pmu_la_SOURCES = \
                        libsys.c \
                        libsys_pmu.c
libsys_pmu_la_LDFLAGS = -module -avoid-version
 

noinst_HEADERS = \
                config_parser.h \
                cpufreqd.h \
                main.h \
                libsys.h \
                sys_check.h \
                string_list.h

man8_MANS = manpages/cpufreqd.8
man5_MANS = manpages/cpufreqd.conf.5

install-data-local:
	if [ -f $(DESTDIR)/$(sysconfdir)/cpufreqd.conf ]; then \
	 echo "** preserving old configuration file **"; \
	else \
 	 install -Dm 0644 -o root -g root cpufreqd.conf $(DESTDIR)/$(sysconfdir)/cpufreqd.conf; \
	fi;

tags:
	if [ -f ./tags ]; then \
		rm ./tags; \
	fi; \
	ctags *.[ch];


#sysconf_DATA = cpufreqd.conf