source: roaraudio/Makefile.inc @ 5878:3b92b0d6ef9b

Last change on this file since 5878:3b92b0d6ef9b was 5825:3e41991f9a62, checked in by phi, 7 years ago

removed yet another set of -DXXX as well as $(PKGDEFINES). Updated configure to write some more stuff into config.h

File size: 1.4 KB
Line 
1# Common:
2COMMON_V_MAJOR  = 1
3COMMON_V_MINOR  = 0
4COMMON_V_REV    = 9
5COMMON_V_MM     = $(COMMON_V_MAJOR).$(COMMON_V_MINOR)
6COMMON_VERSION  = $(COMMON_V_MM).$(COMMON_V_REV)
7COMMON_SOVERSION= 2
8
9# libroar:
10LIBROAR_V       = $(COMMON_SOVERSION)
11NETLIBS         = $(lib_dnet) $(lib_wsock32) $(lib_ws2_32)
12AUXLIBS         = $(lib_slp) $(lib_ssl) $(lib_gcrypt) $(lib_sendfile) $(lib_dl) $(lib_x11) $(lib_z)
13LIBROAR_NS      = $(AUXLIBS) $(NETLIBS)
14
15# libroardsp:
16LIBROARDSP_V    = $(COMMON_SOVERSION)
17DSP_CODECLIBS   = $(lib_celt) $(lib_celt0) $(lib_speex) $(lib_speexdsp)
18DSP_AUXLIBS     = $(lib_samplerate)
19LIBROARDSP_NS   = $(DSP_CODECLIBS) $(DSP_AUXLIBS) $(LIBROAR) $(lib_m)
20
21# libroarmidi:
22LIBROARMIDI_V   = $(COMMON_SOVERSION)
23LIBROARMIDI_NS  = $(LIBROARDSP)
24
25# libroarlight:
26LIBROARLIGHT_V  = $(COMMON_SOVERSION)
27LIBROARLIGHT_NS = $(LIBROAR) $(lib_m)
28
29# libroareio:
30LIBROAREIO_V    = $(COMMON_SOVERSION)
31EIO_CDRIVERLIBS = $(lib_ossaudio)
32LIBROAREIO_NS   = $(EIO_CDRIVERLIBS) $(LIBROAR)
33
34# Linker Deps:
35ifeq ($(LINK_DEPS),indirect)
36LIBROAR         = -lroar
37LIBROARDSP      = -lroardsp
38LIBROARMIDI     = -lroarmidi
39LIBROARLIGHT    = -lroarlight
40LIBROAREIO      = -lroareio
41else #LINK_DEPS=full
42LIBROAR         = -lroar $(LIBROAR_NS)
43LIBROARDSP      = -lroardsp $(LIBROARDSP_NS)
44LIBROARMIDI     = -lroarmidi $(LIBROARMIDI_NS)
45LIBROARLIGHT    = -lroarlight $(LIBROARLIGHT_NS)
46LIBROAREIO      = -lroareio $(LIBROAREIO_NS)
47endif
48
49#ll
Note: See TracBrowser for help on using the repository browser.