-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.am
More file actions
56 lines (45 loc) · 1.33 KB
/
Makefile.am
File metadata and controls
56 lines (45 loc) · 1.33 KB
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
#######################################################################
##
## Makefile.am for proc_police
##
#######################################################################
ACLOCAL_AMFLAGS = -I m4 -I src
# no-write-strings is done because lcmaps_log uses "char *" instead
# of "const char *", causing newer compilers to freak
AM_CFLAGS = \
-Werror \
-Wall \
-Wp,-D_FORTIFY_SOURCE=2 \
$(LCMAPS_CFLAGS)
AM_CXXFLAGS = \
$(LCMAPS_CFLAGS) \
-Wno-write-strings \
-Werror \
-Wall \
-Wp,-D_FORTIFY_SOURCE=2 \
$(CXX0X_CFLAGS)
EXTRA_DIST = bootstrap lcmaps-plugins-process-tracking.spec
plugindir = $(MODULEDIR)
plugin_LTLIBRARIES = \
liblcmaps_process_tracking.la
liblcmaps_process_tracking_la_SOURCES = \
src/lcmaps_proc_tracking.c
liblcmaps_process_tracking_la_LDFLAGS = -avoid-version
liblcmaps_process_tracking_la_LIBADD = -ldl
progdatadir = $(datadir)/lcmaps-plugins-process-tracking
progdata_PROGRAMS = process-tracking
process_tracking_SOURCES = \
src/proc_keeper_main.cxx \
src/proc_keeper.h \
src/proc_keeper.cxx \
src/proc_police.c \
src/proc_police.h
process_tracking_LDFLAGS = -lrt
install-data-hook:
( \
cd $(DESTDIR)$(plugindir); \
for mod in process_tracking; do \
rm -f lcmaps_$$mod.mod; \
ln -s liblcmaps_$$mod.so.0.0.0 lcmaps_$$mod.mod; \
done \
)