source: roaraudio/roarclients/Makefile @ 5546:faff3e9677c4

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

Started DTMF library

File size: 3.5 KB
RevLine 
[5109]1TARGETS_DEVEL=roartypes roar-config
[4833]2TARGETS_EXAMPLE=roarvorbis roarsin
[2844]3TARGETS_IO=roarcat roarcatplay roarcatvio roarbidir roarmon roarmonhttp roarradio
[4060]4TARGETS_CTL=roarctl roarlight roarinterconnect roarclientpass
[5546]5TARGETS_DSP=roarfilt roarvumeter roardtmf
[2844]6TARGETS_MISC=roarsockconnect roarphone roarshout
[5546]7TARGETS_M=
[4834]8TARGETS_VIO=roarvio
[5484]9TARGETS_PLUGINS=roarpluginrunner roarpluginapplication
[2844]10
[5413]11#TARGETS_TESTS=zcattest pgptest pipetest polytest
[5238]12#TARGETS_OLD=roarcatpassfh roarsocktypes
[4833]13
[5336]14TARGETS=$(TARGETS_IO) $(TARGETS_CTL) $(TARGETS_DSP) $(TARGETS_MISC) $(TARGETS_DEVEL) $(TARGETS_EXAMPLE) $(TARGETS_M) $(TARGETS_VIO) $(TARGETS_PLUGINS)
[4833]15
16# tools we maybe want to kick of the package
17TARGETS += $(TARGETS_TESTS) $(TARGETS_OLD)
18
19
[1619]20TOOLS=roarify
[0]21
[476]22include ../Makefile.conf
[2384]23include ../Makefile.inc
[476]24
[554]25#DEFINES        = -DDEBUG
[3827]26DEFINES    = -DCOMMON_VERSION=\"$(COMMON_VERSION)\" -DPREFIX=\"$(PREFIX)\" -DPREFIX_LIB=\"$(PREFIX_LIB)\" -DPREFIX_INC=\"$(PREFIX_INC)\"
[1736]27INCLUDE    = -I../include -I./include
[4748]28CFLAGS    += -g -Wall $(Wextra) $(OPTI_O) $(DEFINES) $(INCLUDE) $(INCPATH)
29LDFLAGS   += -g -L../lib/ $(LDPATH)
[2384]30LIBS       = $(LIBROAR)
[1736]31SHOUTLIBS  = $(lib_shout) $(LIBS)
32VORBISLIBS = $(lib_vorbisfile) $(lib_vorbis) $(lib_ogg) $(LIBS)
[0]33
[3830]34LNL        = $(CC) $(LDFLAGS) -o $@ $+
35L          = $(LNL) $(LIBS)
[1776]36
[1619]37all: ${TARGETS} $(TOOLS)
38        cp $(cp_v) ${TARGETS} $(TOOLS) ../lib/
[0]39clean:
[3191]40        rm -f ${TARGETS} ${TOOLS} *.o
[0]41new: clean all
42
43roarcat: roarcat.o
[1777]44        $L
[0]45roarcatad: roarcatad.o
[1777]46        $L
[83]47roarcat2sock: roarcat2sock.o
[1777]48        $L
[295]49roarcatsendfile: roarcatsendfile.o
[1777]50        $L
[296]51roarcatplay: roarcatplay.o
[1777]52        $L
[760]53roarcatpassfh: roarcatpassfh.o
[1777]54        $L
[1279]55roarcatvio: roarcatvio.o
[1777]56        $L
[800]57roarradio: roarradio.o
[1777]58        $L
[0]59roarctl: roarctl.o
[3539]60        $L $(LIBROARDSP) $(lib_m)
[0]61roarmon: roarmon.o
[1777]62        $L
[1016]63roarmonhttp: roarmonhttp.o
[1777]64        $L
[2216]65roarinterconnect: roarinterconnect.o
[3929]66        $L $(lib_esd) $(LIBROAREIO) $(lib_rsound)
[4060]67roarclientpass: roarclientpass.o
68        $L
[826]69roarbidir: roarbidir.o
[1777]70        $L
[2282]71roarphone: roarphone.o
[4980]72        ${CC} ${LDFLAGS} -o roarphone roarphone.o $(LIBROARDSP) $(LIBROAREIO) $(LIBS)
[126]73roarfilt: roarfilt.o
[4980]74        ${CC} ${LDFLAGS} -o roarfilt roarfilt.o $(LIBROARDSP) $(LIBS) $(lib_m)
[294]75roarsin: roarsin.o
[4980]76        ${CC} ${LDFLAGS} -o roarsin roarsin.o $(LIBROARDSP) $(LIBS) $(lib_m)
[297]77roarvumeter: roarvumeter.o
[4980]78        ${CC} ${LDFLAGS} -o roarvumeter roarvumeter.o $(LIBS) $(LIBROARDSP) $(lib_m)
[3343]79roardtmf: roardtmf.o
[5546]80        ${CC} ${LDFLAGS} -o roardtmf roardtmf.o $(LIBS) $(LIBROARDSP)
[4]81roarsockconnect: roarsockconnect.o
[1777]82        $L
[4834]83roarvio: roarvio.o
84        $L
[5336]85roarpluginrunner: roarpluginrunner.o
[5516]86        $L $(lib_dl)
[47]87roartypes: roartypes.o
[1777]88        $L
[510]89roarsocktypes: roarsocktypes.o
[1777]90        $L
[293]91roar-config: roar-config.o
[3830]92        $(LNL)
[111]93roarvorbis: roarvorbis.o
[4980]94        ${CC} ${LDFLAGS} -o roarvorbis roarvorbis.o $(VORBISLIBS) $(LIBS)
[599]95roarshout: roarshout.o
[4980]96        ${CC} ${LDFLAGS} -o roarshout roarshout.o $(SHOUTLIBS) $(LIBS)
[384]97polytest: polytest.o
[4980]98        ${CC} ${LDFLAGS} -o polytest polytest.o $(LIBROARDSP) $(LIBS)
[2046]99roarlight: roarlight.o
[4980]100        ${CC} ${LDFLAGS} -o roarlight roarlight.o $(LIBROARLIGHT) $(LIBS)
[1236]101pinentrytest: pinentrytest.o
[1777]102        $L
[1259]103zcattest: zcattest.o
[1777]104        $L
[1270]105pgptest: pgptest.o
[1777]106        $L
[1304]107pipetest: pipetest.o
[1777]108        $L
[954]109roarfctest: roarfctest.o
[4980]110        ${CC} ${LDFLAGS} -o roarfctest roarfctest.o $(LIBROARDSP) $(LIBS) $(lib_m)
[1619]111
112roarify.sht:
113roarify: roarify.sht
[4223]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
[1619]115        chmod +rx roarify
[5491]116roarpluginapplication.sht:
117roarpluginapplication: roarpluginapplication.sht
118        cp roarpluginapplication.sht roarpluginapplication
119        chmod +rx roarpluginapplication
Note: See TracBrowser for help on using the repository browser.