source: roaraudio/plugins/audacious/Makefile @ 3105:eb48aea36705

Last change on this file since 3105:eb48aea36705 was 3105:eb48aea36705, checked in by phi, 12 years ago

set soname

File size: 705 bytes
Line 
1TARGET=libroar.so
2
3OBJ=roar.o gui.o
4
5include ../../Makefile.conf
6include ../../Makefile.inc
7include Makefile.conf
8
9#DEFINES=-DDEBUG
10CFLAGS += -g -Wall -O2 -I../../include $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC) $(GTK_CFLAFS) $(XMMS_CFLAGS)
11LDFLAGS = -g $(SHARED) $(LDPATH) -L../../lib
12LIBS    = $(LIBROAR) $(GTK_LIBS) $(XMMS_LIBS)
13
14all: ${TARGET}
15clean:
16        rm -f ${TARGET} *.o *~
17new: clean all
18
19install: libroar.so
20        mkdir -p ${DESTDIR}${INSTALL_DIR}
21        cp libroar.so ${DESTDIR}${INSTALL_DIR}/
22semi-install: libroar.so
23        mkdir -p ${DESTDIR}${INSTALL_DIR}
24        ln -fs `pwd`/libroar.so ${DESTDIR}${INSTALL_DIR}/
25
26libroar.so: $(OBJ)
27        $(CC) $(LDFLAGS) -Wl,-soname,libroar.so -o libroar.so $(OBJ) $(LIBS)
Note: See TracBrowser for help on using the repository browser.