source: roaraudio/plugins/alsavs/Makefile @ 4194:a3c739bedc3c

roaraudio_0_3beta8_int0
Last change on this file since 4194:a3c739bedc3c was 4194:a3c739bedc3c, checked in by phi, 11 years ago

some cleanup

File size: 1.3 KB
Line 
1BASENAME=libasound_module_pcm_roar
2SLIB=$(BASENAME)$(SHARED_SUFFIX)
3TARGET=$(SLIB)
4INSTALL_DIR=$(PREFIX_LIB)/alsa-lib/
5OBJS=pcm_roar.o roar.o thread.o
6
7include ../../Makefile.conf
8include ../../Makefile.inc
9#include Makefile.conf
10
11#DEBUG=-DDEBUG -DXXX
12DEFINES=-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"alsa-plugins\" -DVERSION=\"1.0.13\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBASOUND=1 -D_REENTRANT
13CFLAGS += -g -Wall $(Wextra) -O2 -I../../include $(DEFINES) $(DEBUG) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC) -I/usr/include/alsa -D_GNU_SOURCE $(pthread)
14LDFLAGS = -g $(SHARED) $(LDPATH) -L../../lib $(pthread)
15LIBS    = $(LIBROAR) $(lib_m) $(lib_dl) -lrt $(lib_asound)
16
17all: ${TARGET}
18clean:
19        rm -f ${TARGET} *.o tests tests.c
20new: clean all
21
22install: ${TARGET}
23        mkdir -p ${DESTDIR}${INSTALL_DIR}
24        cp ${TARGET} ${DESTDIR}${INSTALL_DIR}
25semi-install: ${TARGET}
26        mkdir -p ${DESTDIR}${INSTALL_DIR}
27        ln -fs `pwd`/$(SLIB) ${DESTDIR}${INSTALL_DIR}
28
29$(SLIB): $(OBJS)
30        $(CC) $(LDFLAGS) -Wl,-soname -Wl,$(SLIB) -o $(SLIB) $(OBJS) $(LIBS)
Note: See TracBrowser for help on using the repository browser.