1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
## Makefile.am for lib/fusionsound
SUBDIRS = core media misc
INCLUDES = \
-I$(top_builddir)/include \
-I$(top_builddir)/lib \
-I$(top_builddir)/lib/fusionsound \
-I$(top_srcdir)/include \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/lib/fusionsound
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = fusionsound.pc fusionsound-internal.pc
includedir = @GENERIC_INCLUDEDIR@/fusionsound
include_HEADERS = \
fusionsound.h \
fusionsound_limits.h \
fusionsound_version.h
lib_LTLIBRARIES = libfusionsound.la
libfusionsound_la_SOURCES = \
fusionsound.c \
ifusionsound.c \
ifusionsound.h \
ifusionsoundbuffer.c \
ifusionsoundbuffer.h \
ifusionsoundplayback.c \
ifusionsoundplayback.h \
ifusionsoundstream.c \
ifusionsoundstream.h
libfusionsound_la_LIBADD = \
../direct/libdirect.la \
../fusion/libfusion.la \
core/libfusionsoundcore.la \
misc/libfusionsoundmisc.la \
media/libfusionsoundmedia.la
libfusionsound_la_LDFLAGS = \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
-release $(LT_RELEASE) \
$(DFB_LDFLAGS)
#
## and now rebuild the static version with the *correct* object files
#
if BUILD_STATIC
clean-local:
rm -f libfusionsound_fixed.a
all-local: libfusionsound_fixed.a
libfusionsound_fixed.a: .libs/libfusionsound.a
rm -f libfusionsound_fixed.a
${AR} cru libfusionsound_fixed.a `find -name '*.o' | grep -v '.libs'`
${RANLIB} libfusionsound_fixed.a
cp -af libfusionsound_fixed.a .libs/libfusionsound.a
.libs/libfusionsound.a: libfusionsound.la
else
clean-local:
all-local:
endif
include $(top_srcdir)/rules/nmfile.make
|