1 MAINTAINERCLEANFILES = Makefile.in jackd.1 jack_md5.h
2
3 if USE_CAPABILITIES
4 CAP_PROGS = jackstart
5 CAP_LIBS = -lcap
6 install-exec-hook:
7 if [ "`id -u`" = "0" ]; \
8 then chown root.root $(DESTDIR)$(bindir)/jackd; \
9 chmod 555 $(DESTDIR)$(bindir)/jackd; \
10 chown root.root $(DESTDIR)$(bindir)/jackstart; \
11 chmod 4555 $(DESTDIR)$(bindir)/jackstart; \
12 else echo "You must be root to set ownership and permissions"; \
13 echo " for jackd and jackstart."; \
14 fi
15 else
16 CAP_PROGS =
17 CAP_LIBS =
18 install-exec-hook:
19 @echo "Nothing to make for $@."
20 endif
21
22 bin_PROGRAMS = jackd $(CAP_PROGS)
23
24 AM_CFLAGS = $(JACK_CFLAGS) -DJACKD_LOCATION=\"$(bindir)/jackd\"
25
26 jackd_SOURCES = jackd.c engine.c transengine.c
27 jackd_LDADD = ../libjack/libjack.la -lm -ldl -lrt -lpthread $(CAP_LIBS)
28
29 noinst_HEADERS = jack_md5.h md5.h md5_loc.h transengine.h
30
31 BUILT_SOURCES = jack_md5.h
32
33 jack_md5.h: jackd
34 if STRIPPED_JACKD
35 strip -R .note -R .comment .libs/jackd
36 endif
37 echo "#define JACKD_MD5_SUM \"`md5sum .libs/jackd | awk '{print $$1}'`\"" > jack_md5.h
38
39 jackstart_SOURCES = jackstart.c md5.c
40 jackstart_LDFLAGS = -lcap
41
42 man_MANS = jackd.1 jackstart.1
43 EXTRA_DIST = $(man_MANS)
44
45 dist-hook:
46 rm -f $(distdir)/jack_md5.h
47 distclean-local:
48 rm -f $(top_builddir)/jackd/jack_md5.h
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.