source: roaraudio/Makefile.inc @ 5558:851448dcebb9

Last change on this file since 5558:851448dcebb9 was 5558:851448dcebb9, checked in by phi, 7 years ago

updated version

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