source: roaraudio/libroarpulse/Makefile @ 3099:d57ff1b67e2a

Last change on this file since 3099:d57ff1b67e2a was 3099:d57ff1b67e2a, checked in by phi, 14 years ago

fixed makefiles to include soname

File size: 625 bytes
RevLine 
[401]1TARGETS=libroarpulse.so libroarpulseinfo
[412]2OBJS=libroarpulse.o simple.o util.o
[399]3
[694]4include ../Makefile.conf
[2382]5include ../Makefile.inc
[694]6
[1734]7#DEFINES        = -DDEBUG
[399]8INCLUDE = -I../include -I../include/libroarpulse
[1389]9CFLAGS += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC)
[1733]10LDFLAGS = -g $(LDPATH) -L../lib/
[2382]11LIBS    = $(LIBROAR)
[399]12
13all: ${TARGETS}
[475]14        cp $(cp_v) ${TARGETS} ../lib/
[399]15clean:
16        rm -f ${TARGETS} *.o
17new: clean all
18
19libroarpulse.so: ${OBJS}
[3099]20        ${CC} ${LDFLAGS} $(SHARED) -Wl,-soname,libroarpulse$(SHARED_SUFFIX).$(COMMON_V_MAJOR) -o libroarpulse$(SHARED_SUFFIX) ${OBJS} ${LIBS}
[401]21
22libroarpulseinfo: libroarpulseinfo.o
Note: See TracBrowser for help on using the repository browser.