changes for fremantle
[tunertool] / src / Makefile.am
1 # plugindir is set in configure
2
3 # change libgstplugin.la to something more suitable
4 noinst_LTLIBRARIES = libgstpitch.la libgsttonesrc.la
5
6 # for the next set of variables, rename the prefix if you renamed the .la
7
8 # sources used to compile this plug-in
9 libgstpitch_la_SOURCES = gstpitch.c kiss_fft.c
10 # flags used to compile this plugin
11 # add other _CFLAGS and _LIBS as needed
12 libgstpitch_la_CFLAGS = $(GSTPB_BASE_CFLAGS) $(GST_BASE_CFLAGS) \
13         $(GSTCTRL_CFLAGS) $(GST_CFLAGS) -DFIXED_POINT=16
14 libgstpitch_la_LIBADD = $(GSTPB_BASE_LIBS) $(GST_BASE_LIBS) \
15         $(GSTCTRL_LIBS) $(GST_LIBS)
16 libgstpitch_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
17
18 libgsttonesrc_la_SOURCES = gsttonesrc.c
19 libgsttonesrc_la_CFLAGS = $(GSTPB_BASE_CFLAGS) $(GST_BASE_CFLAGS) \
20         $(GSTCTRL_CFLAGS) $(GST_CFLAGS) -DFIXED_POINT=16
21 libgsttonesrc_la_LIBADD = $(GSTPB_BASE_LIBS) $(GST_BASE_LIBS) \
22         $(GSTCTRL_LIBS) $(GST_LIBS)
23 libgsttonesrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
24
25 # headers we need but don't want installed
26 noinst_HEADERS = gstpitch.h gsttonesrc.h kiss_fft.h _kiss_fft_guts.h settings.h
27 EXTRA_DIST = tuner26.png  tuner40.png  tuner64.png
28
29 if HAVE_GTK
30 noinst_PROGRAMS = tuner
31 endif
32
33 #demo_audiotest_SOURCES = demo-audiotest.c
34 #demo_audiotest_CFLAGS  = $(GST_CFLAGS) $(GTK_CFLAGS) 
35 #demo_audiotest_LDFLAGS = $(GST_LIBS) $(GTK_LIBS)
36
37 #demo_tuner_SOURCES = demo-tuner.c
38 #demo_tuner_CFLAGS  = $(GST_CFLAGS) $(GTK_CFLAGS) 
39 #demo_tuner_LDFLAGS = $(GST_LIBS) $(GTK_LIBS)
40
41 tuner_SOURCES = tuner.c settings.c
42 tuner_DEPENDENCIES = $(top_builddir)/src/libgstpitch.la $(top_builddir)/src/libgsttonesrc.la
43 tuner_CFLAGS  = $(GST_CFLAGS) $(GTK_CFLAGS) $(MAEMO_CFLAGS) $(GCONF_CFLAGS) -D_GNU_SOURCE
44 tuner_LDADD = $(GST_LIBS) $(GTK_LIBS) $(MAEMO_LIBS) $(GCONF_LIBS) $(top_builddir)/src/libgstpitch.la $(top_builddir)/src/libgsttonesrc.la
45
46