Last change
on this file since 5692:0480fc56e68a was
4748:d7be1c18ccb5,
checked in by phi, 13 years ago
|
updated configure script to honor LDFLAGS and added --opti to set optimizer level (Closes: #27)
|
File size:
515 bytes
|
Rev | Line | |
---|
[467] | 1 | TARGET=xineplug_ao_out_roar.so |
---|
| 2 | |
---|
| 3 | OBJ=roar.o |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | XINE_LIBS=`xine-config --libs` |
---|
| 7 | XINE_CFLAGS=`xine-config --cflags` |
---|
| 8 | INSTALL_DIR=`xine-config --plugindir` |
---|
| 9 | |
---|
| 10 | #DEFINES=-DDEBUG |
---|
[1715] | 11 | CFLAGS += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(fPIC) $(XINE_CFLAGS) |
---|
[4748] | 12 | LDFLAGS+= -g -shared -lroar $(XINE_LIBS) |
---|
[467] | 13 | |
---|
| 14 | all: ${TARGET} |
---|
| 15 | clean: |
---|
| 16 | rm -f ${TARGET} *.o |
---|
| 17 | new: clean all |
---|
| 18 | |
---|
| 19 | install: ${TARGET} |
---|
[3095] | 20 | mkdir -p ${DESTDIR}${INSTALL_DIR} |
---|
[2571] | 21 | cp ${TARGET} ${DESTDIR}${INSTALL_DIR}/ |
---|
[467] | 22 | |
---|
| 23 | xineplug_ao_out_roar.so: $(OBJ) |
---|
| 24 | $(CC) $(LDFLAGS) -o xineplug_ao_out_roar.so $(OBJ) |
---|
Note: See
TracBrowser
for help on using the repository browser.