summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 3579dc0669c3f18feef044b0c23d7441e31a6f7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
bin_PROGRAMS = pa-sink-ctl
pa_sink_ctl_SOURCES = interface.c command.c config.c pa-sink-ctl.c
EXTRA_pa_sink_ctl_SOURCES = unix_signal.c

if !HAVE_SIGNALFD
pa_sink_ctl_SOURCES += unix_signal.c
endif

AM_CFLAGS = $(GCC_CFLAGS)
AM_CPPFLAGS = $(PULSE_CFLAGS) $(PULSE_MAINLOOP_CFLAGS) $(GLIB_CFLAGS) \
	      -include $(top_builddir)/config.h
pa_sink_ctl_LDADD = $(GLIB_LIBS) $(PULSE_LIBS) $(PULSE_MAINLOOP_LIBS) $(CURSES_LIBS)

noinst_HEADERS = interface.h command.h config.h pa-sink-ctl.h ctl.h unix_signal.h

dist_man_MANS = pa-sink-ctl.1
EXTRA_DIST = pa-sink-ctl.1.txt

%: %.txt
	a2x -f manpage $<

%.html: %.txt
	a2x -f xhtml -d manpage --stylesheet=pa-sink-ctl-manpage.css $<