PageRenderTime 9ms CodeModel.GetById 6ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/test-modules/Makefile.am

https://code.google.com/
Makefile | 39 lines | 30 code | 9 blank | 0 comment | 1 complexity | c45a804c54a2adae23eb349f7a6c765f MD5 | raw file
 1AUTOMAKE_OPTIONS = foreign
 2
 3INCLUDES =         -I$(top_srcdir)
 4
 5if WITH_GNU_LD
 6VERSION_SCRIPT = \
 7	version.map
 8OTHER_FLAGS = \
 9	-Wl,--version-script=$(VERSION_SCRIPT)
10endif
11
12BUILT_SOURCES = \
13	$(VERSION_SCRIPT)
14
15MODULE_FLAGS = \
16	-module -avoid-version $(OTHER_FLAGS) -rpath /foo
17
18check_LTLIBRARIES = \
19	a.la \
20	b.la \
21	pcptest.la
22
23a_la_SOURCES =        a.c 
24a_la_LDFLAGS =        $(MODULE_FLAGS)
25b_la_SOURCES =        b.c 
26b_la_LDFLAGS =        $(MODULE_FLAGS)
27
28pcptest_la_SOURCES =  pcptest.c
29pcptest_la_LDFLAGS =  $(MODULE_FLAGS)
30
31$(VERSION_SCRIPT) : 
32	(echo  "{ global:";                \
33	 echo "    pdsh_module_info;";     \
34	 echo "    pdsh_module_priority;"; \
35	 echo "  local: *;";               \
36	 echo "};") > $(VERSION_SCRIPT)
37
38DISTCLEANFILES = \
39	$(VERSION_SCRIPT)