source: roaraudio/roarclients/Makefile @ 5546:faff3e9677c4

Last change on this file since 5546:faff3e9677c4 was 5546:faff3e9677c4, checked in by phi, 7 years ago

Started DTMF library

File size: 3.5 KB
Line 
1TARGETS_DEVEL=roartypes roar-config
2TARGETS_EXAMPLE=roarvorbis roarsin
3TARGETS_IO=roarcat roarcatplay roarcatvio roarbidir roarmon roarmonhttp roarradio
4TARGETS_CTL=roarctl roarlight roarinterconnect roarclientpass
5TARGETS_DSP=roarfilt roarvumeter roardtmf
6TARGETS_MISC=roarsockconnect roarphone roarshout
7TARGETS_M=
8TARGETS_VIO=roarvio
9TARGETS_PLUGINS=roarpluginrunner roarpluginapplication
10
11#TARGETS_TESTS=zcattest pgptest pipetest polytest
12#TARGETS_OLD=roarcatpassfh roarsocktypes
13
14TARGETS=$(TARGETS_IO) $(TARGETS_CTL) $(TARGETS_DSP) $(TARGETS_MISC) $(TARGETS_DEVEL) $(TARGETS_EXAMPLE) $(TARGETS_M) $(TARGETS_VIO) $(TARGETS_PLUGINS)
15
16# tools we maybe want to kick of the package
17TARGETS += $(TARGETS_TESTS) $(TARGETS_OLD)
18
19
20TOOLS=roarify
21
22include ../Makefile.conf
23include ../Makefile.inc
24
25#DEFINES        = -DDEBUG
26DEFINES    = -DCOMMON_VERSION=\"$(COMMON_VERSION)\" -DPREFIX=\"$(PREFIX)\" -DPREFIX_LIB=\"$(PREFIX_LIB)\" -DPREFIX_INC=\"$(PREFIX_INC)\"
27INCLUDE    = -I../include -I./include
28CFLAGS    += -g -Wall $(Wextra) $(OPTI_O) $(DEFINES) $(INCLUDE) $(INCPATH)
29LDFLAGS   += -g -L../lib/ $(LDPATH)
30LIBS       = $(LIBROAR)
31SHOUTLIBS  = $(lib_shout) $(LIBS)
32VORBISLIBS = $(lib_vorbisfile) $(lib_vorbis) $(lib_ogg) $(LIBS)
33
34LNL        = $(CC) $(LDFLAGS) -o $@ $+
35L          = $(LNL) $(LIBS)
36
37all: ${TARGETS} $(TOOLS)
38        cp $(cp_v) ${TARGETS} $(TOOLS) ../lib/
39clean:
40        rm -f ${TARGETS} ${TOOLS} *.o
41new: clean all
42
43roarcat: roarcat.o
44        $L
45roarcatad: roarcatad.o
46        $L
47roarcat2sock: roarcat2sock.o
48        $L
49roarcatsendfile: roarcatsendfile.o
50        $L
51roarcatplay: roarcatplay.o
52        $L
53roarcatpassfh: roarcatpassfh.o
54        $L
55roarcatvio: roarcatvio.o
56        $L
57roarradio: roarradio.o
58        $L
59roarctl: roarctl.o
60        $L $(LIBROARDSP) $(lib_m)
61roarmon: roarmon.o
62        $L
63roarmonhttp: roarmonhttp.o
64        $L
65roarinterconnect: roarinterconnect.o
66        $L $(lib_esd) $(LIBROAREIO) $(lib_rsound)
67roarclientpass: roarclientpass.o
68        $L
69roarbidir: roarbidir.o
70        $L
71roarphone: roarphone.o
72        ${CC} ${LDFLAGS} -o roarphone roarphone.o $(LIBROARDSP) $(LIBROAREIO) $(LIBS)
73roarfilt: roarfilt.o
74        ${CC} ${LDFLAGS} -o roarfilt roarfilt.o $(LIBROARDSP) $(LIBS) $(lib_m)
75roarsin: roarsin.o
76        ${CC} ${LDFLAGS} -o roarsin roarsin.o $(LIBROARDSP) $(LIBS) $(lib_m)
77roarvumeter: roarvumeter.o
78        ${CC} ${LDFLAGS} -o roarvumeter roarvumeter.o $(LIBS) $(LIBROARDSP) $(lib_m)
79roardtmf: roardtmf.o
80        ${CC} ${LDFLAGS} -o roardtmf roardtmf.o $(LIBS) $(LIBROARDSP)
81roarsockconnect: roarsockconnect.o
82        $L
83roarvio: roarvio.o
84        $L
85roarpluginrunner: roarpluginrunner.o
86        $L $(lib_dl)
87roartypes: roartypes.o
88        $L
89roarsocktypes: roarsocktypes.o
90        $L
91roar-config: roar-config.o
92        $(LNL)
93roarvorbis: roarvorbis.o
94        ${CC} ${LDFLAGS} -o roarvorbis roarvorbis.o $(VORBISLIBS) $(LIBS)
95roarshout: roarshout.o
96        ${CC} ${LDFLAGS} -o roarshout roarshout.o $(SHOUTLIBS) $(LIBS)
97polytest: polytest.o
98        ${CC} ${LDFLAGS} -o polytest polytest.o $(LIBROARDSP) $(LIBS)
99roarlight: roarlight.o
100        ${CC} ${LDFLAGS} -o roarlight roarlight.o $(LIBROARLIGHT) $(LIBS)
101pinentrytest: pinentrytest.o
102        $L
103zcattest: zcattest.o
104        $L
105pgptest: pgptest.o
106        $L
107pipetest: pipetest.o
108        $L
109roarfctest: roarfctest.o
110        ${CC} ${LDFLAGS} -o roarfctest roarfctest.o $(LIBROARDSP) $(LIBS) $(lib_m)
111
112roarify.sht:
113roarify: roarify.sht
114        sed 's#%%%PREFIX_COMP_LIBS%%%#$(PREFIX_COMP_LIBS)#g; s#%%%PREFIX_COMP_BINS%%%#$(PREFIX_COMP_BINS)#g; s#%%%PREFIX_LIB%%%#$(PREFIX_LIB)#g; s#%%%VERSION%%%#$(COMMON_SOVERSION)#g;' < roarify.sht > roarify
115        chmod +rx roarify
116roarpluginapplication.sht:
117roarpluginapplication: roarpluginapplication.sht
118        cp roarpluginapplication.sht roarpluginapplication
119        chmod +rx roarpluginapplication
Note: See TracBrowser for help on using the repository browser.