File: Makefile.am

package info (click to toggle)
fusionsound 0.9.25-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,924 kB
  • ctags: 1,275
  • sloc: ansic: 13,230; sh: 8,306; perl: 668; makefile: 285
file content (58 lines) | stat: -rw-r--r-- 1,163 bytes parent folder | download
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
## Makefile.am for FusionSound/src

SUBDIRS = core media misc

INCLUDES = \
	-I$(top_builddir)/include	\
	-I$(top_srcdir)/include	\
	-I$(top_srcdir)/src 	\
	$(DFB_CFLAGS)


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 = \
	$(DFB_LIBS) \
	core/libfusionsoundcore.la \
	misc/libfusionsoundmisc.la

libfusionsound_la_LDFLAGS = \
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
	-release $(LT_RELEASE)

#
## 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 core | grep -v ifusion`
	${RANLIB} libfusionsound_fixed.a
	cp -af libfusionsound_fixed.a .libs/libfusionsound.a

.libs/libfusionsound.a: libfusionsound.la

else

clean-local:

all-local:

endif