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