diff options
author | LRN <lrn1986@gmail.com> | 2013-10-08 23:15:28 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2013-10-08 23:15:28 +0000 |
commit | 7c31fa06ba410b36d4fadaeea962fc0dae4da0b5 (patch) | |
tree | e5c5c3dfad7b2533a40094f12577ba651784f467 /src/ats/Makefile.am | |
parent | b0d5e92f1bd0e9be72b8e0a3040b33e39dd07316 (diff) | |
download | gnunet-7c31fa06ba410b36d4fadaeea962fc0dae4da0b5.tar.gz gnunet-7c31fa06ba410b36d4fadaeea962fc0dae4da0b5.zip |
Misc makefile fixes
Move plugins closer to the library
Use plugin LDFLAGS on plugins
Add dependencies and LDADDs
Diffstat (limited to 'src/ats/Makefile.am')
-rw-r--r-- | src/ats/Makefile.am | 54 |
1 files changed, 36 insertions, 18 deletions
diff --git a/src/ats/Makefile.am b/src/ats/Makefile.am index 1cd5e7f34..6dc9a5bb5 100644 --- a/src/ats/Makefile.am +++ b/src/ats/Makefile.am | |||
@@ -50,6 +50,42 @@ libgnunetats_la_LDFLAGS = \ | |||
50 | $(GN_LIB_LDFLAGS) \ | 50 | $(GN_LIB_LDFLAGS) \ |
51 | -version-info 4:0:0 | 51 | -version-info 4:0:0 |
52 | 52 | ||
53 | libgnunet_plugin_ats_proportional_la_SOURCES = \ | ||
54 | libgnunet_plugin_ats_proportional.c | ||
55 | libgnunet_plugin_ats_proportional_la_LIBADD = \ | ||
56 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
57 | $(top_builddir)/src/ats/libgnunetats.la \ | ||
58 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
59 | $(LTLIBINTL) | ||
60 | libgnunet_plugin_ats_proportional_la_LDFLAGS = \ | ||
61 | $(GN_PLUGIN_LDFLAGS) | ||
62 | libgnunet_plugin_ats_proportional_la_DEPENDENCIES = \ | ||
63 | libgnunetats.la | ||
64 | |||
65 | if HAVE_LIBGLPK | ||
66 | libgnunet_plugin_ats_mlp_la_SOURCES = \ | ||
67 | libgnunet_plugin_ats_mlp.c | ||
68 | libgnunet_plugin_ats_mlp_la_LIBADD = \ | ||
69 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
70 | $(top_builddir)/src/ats/libgnunetats.la \ | ||
71 | $(top_builddir)/src/util/libgnunetutil.la | ||
72 | libgnunet_plugin_ats_mlp_la_LDFLAGS = \ | ||
73 | $(GN_PLUGIN_LDFLAGS) $(GN_LIBGLPK) | ||
74 | libgnunet_plugin_ats_mlp_la_DEPENDENCIES = \ | ||
75 | libgnunetats.la | ||
76 | endif | ||
77 | |||
78 | libgnunet_plugin_ats_ril_la_SOURCES = \ | ||
79 | libgnunet_plugin_ats_ril.c | ||
80 | libgnunet_plugin_ats_ril_la_LIBADD = \ | ||
81 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
82 | $(top_builddir)/src/ats/libgnunetats.la \ | ||
83 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
84 | $(LTLIBINTL) | ||
85 | libgnunet_plugin_ats_ril_la_LDFLAGS = \ | ||
86 | $(GN_PLUGIN_LDFLAGS) | ||
87 | libgnunet_plugin_ats_ril_la_DEPENDENCIES = \ | ||
88 | libgnunetats.la | ||
53 | 89 | ||
54 | libexec_PROGRAMS = \ | 90 | libexec_PROGRAMS = \ |
55 | gnunet-service-ats | 91 | gnunet-service-ats |
@@ -127,24 +163,6 @@ if ENABLE_TEST_RUN | |||
127 | TESTS = $(check_PROGRAMS) | 163 | TESTS = $(check_PROGRAMS) |
128 | endif | 164 | endif |
129 | 165 | ||
130 | libgnunet_plugin_ats_proportional_la_SOURCES = \ | ||
131 | libgnunet_plugin_ats_proportional.c | ||
132 | libgnunet_plugin_ats_proportional_la_LIBADD = \ | ||
133 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
134 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
135 | $(LTLIBINTL) | ||
136 | |||
137 | if HAVE_LIBGLPK | ||
138 | libgnunet_plugin_ats_mlp_la_SOURCES = \ | ||
139 | libgnunet_plugin_ats_mlp.c | ||
140 | libgnunet_plugin_ats_mlp_la_LIBADD = \ | ||
141 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
142 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
143 | $(GN_LIBGLPK) | ||
144 | libgnunet_plugin_ats_mlp_la_LDFLAGS = \ | ||
145 | $(GN_LIBGLPK) | ||
146 | endif | ||
147 | |||
148 | # scheduling API tests | 166 | # scheduling API tests |
149 | 167 | ||
150 | test_ats_api_scheduling_init_SOURCES = \ | 168 | test_ats_api_scheduling_init_SOURCES = \ |