-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
44 lines (35 loc) · 919 Bytes
/
Makefile.am
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
#######################################################################
##
## Makefile.am for proc_police
##
#######################################################################
ACLOCAL_AMFLAGS = -I m4 -I src
AM_CFLAGS = \
-Werror \
-Wall \
-Wp,-D_FORTIFY_SOURCE=2 \
$(LCMAPS_CFLAGS)
AM_CXXFLAGS = \
$(LCMAPS_CFLAGS) \
-Werror \
-Wall \
-Wp,-D_FORTIFY_SOURCE=2 \
-Wno-write-strings \
$(CXX0X_CFLAGS)
EXTRA_DIST = bootstrap lcmaps-plugins-condor-update.spec
plugindir = $(MODULEDIR)
plugin_LTLIBRARIES = \
liblcmaps_condor_update.la
liblcmaps_condor_update_la_SOURCES = \
src/lcmaps_condor_update.c \
src/condor_discovery.cxx \
src/condor_discovery.h
liblcmaps_condor_update_la_LDFLAGS = -avoid-version
install-data-hook:
( \
cd $(DESTDIR)$(plugindir); \
for mod in condor_update; do \
rm -f lcmaps_$$mod.mod; \
ln -s liblcmaps_$$mod.so.0.0.0 lcmaps_$$mod.mod; \
done \
)