~jamesodhunt/ubuntu/saucy/upstart/1.9.1

« back to all changes in this revision

Viewing changes to util/Makefile.am

  • Committer: James Hunt
  • Date: 2013-06-28 15:57:37 UTC
  • mfrom: (1436.2.1)
  • Revision ID: james.hunt@ubuntu.com-20130628155737-8bskclzrhmjvpm6e
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
        -DINITCTL_BUILD \
11
11
        -DSBINDIR="\"$(sbindir)\"" \
12
12
        -I$(top_builddir) -I$(top_srcdir) -iquote$(builddir) -iquote$(srcdir) \
13
 
        -I$(top_srcdir)/intl
14
 
 
15
 
INITCTL_BINARY = $(abs_builddir)/initctl
16
 
UPSTART_BINARY = $(abs_builddir)/../init/init
17
 
 
18
 
AM_CPPFLAGS += \
19
 
        -DUPSTART_BINARY="\"$(UPSTART_BINARY)\"" \
20
 
        -DINITCTL_BINARY="\"$(INITCTL_BINARY)\""
 
13
        -I$(top_srcdir)/intl \
 
14
        -I$(top_srcdir)/test -iquote $(top_srcdir)/test
21
15
 
22
16
dist_man_MANS = \
23
17
        man/initctl.8 \
27
21
        man/telinit.8 \
28
22
        man/runlevel.7
29
23
 
30
 
 
31
24
sbin_PROGRAMS = \
32
25
        initctl \
33
26
        reboot \
189
182
          rm -f "$(DESTDIR)$(sbindir)/$$file"; \
190
183
        done
191
184
 
192
 
 
193
185
TESTS = \
194
186
        test_initctl \
195
187
        test_utmp \
206
198
test_initctl_LDADD = \
207
199
        com.ubuntu.Upstart.o \
208
200
        com.ubuntu.Upstart.Job.o com.ubuntu.Upstart.Instance.o \
 
201
        $(top_builddir)/test/libtest_util_common.a \
209
202
        $(NIH_LIBS) \
210
203
        $(NIH_DBUS_LIBS) \
211
204
        $(DBUS_LIBS)
237
230
 
238
231
 
239
232
.PHONY: tests
240
 
tests: $(BUILT_SOURCES) $(check_PROGRAMS)
 
233
tests: $(BUILT_SOURCES) $(check_PROGRAMS) $(top_builddir)/init/init $(top_builddir)/test/libtest_util_common.a
 
234
 
 
235
FORCE:
 
236
 
 
237
$(top_builddir)/init/init $(top_builddir)/test/libtest_util_common.a: FORCE
 
238
        (cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) )
 
239
        (cd $(top_builddir)/test && $(MAKE) $(AM_MAKEFLAGS) check)
241
240
 
242
241
clean-local:
243
242
        rm -f *.gcno *.gcda