source: roaraudio/libroararts/Makefile @ 4559:4660942db9dc

Last change on this file since 4559:4660942db9dc was 4559:4660942db9dc, checked in by phi, 11 years ago

correct usage of COMMON_SOVERSION

File size: 756 bytes
Line 
1include ../Makefile.conf
2include ../Makefile.inc
3
4#TARGETS=libartsc$(SHARED_SUFFIX) libroarartsc$(SHARED_SUFFIX)
5TARGETS=libroarartsc$(SHARED_SUFFIX)
6OBJS=libartsc.o
7
8#DEFINES        = -DDEBUG
9INCLUDE = -I../include -I../include/libroarpulse
10CFLAGS += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC)
11LDFLAGS = -g $(LDPATH) -L../lib/
12LIBS    = $(LIBROAR)
13
14all: ${TARGETS}
15        cp $(cp_v) ${TARGETS} ../lib/
16clean:
17        rm -f ${TARGETS} *.o
18new: clean all
19
20#libartsc$(SHARED_SUFFIX): libroarartsc$(SHARED_SUFFIX)
21#       cp libroarartsc$(SHARED_SUFFIX) libartsc$(SHARED_SUFFIX)
22libroarartsc$(SHARED_SUFFIX): ${OBJS}
23        ${CC} ${LDFLAGS} $(SHARED) -Wl,-soname,libroarartsc$(SHARED_SUFFIX).$(COMMON_SOVERSION) -o libroarartsc$(SHARED_SUFFIX) ${OBJS} ${LIBS}
Note: See TracBrowser for help on using the repository browser.