summaryrefslogtreecommitdiff
path: root/Source/FusionDale/src/Makefile.am
blob: 142712d4085a72104cfc14dbe3228f0858239b04 (plain)
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
## Makefile.am for FusionDale/src

SUBDIRS = coma core messenger misc

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


lib_LTLIBRARIES = libfusiondale.la

libfusiondale_la_SOURCES = \
	fusiondale.c		\
	ifusiondale.c		\
	ifusiondale.h

libfusiondale_la_LIBADD = \
	$(FUSION_LIBS)				\
	coma/libfusiondalecoma.la		\
	core/libfusiondalecore.la		\
	messenger/libfusiondalemessenger.la	\
	misc/libfusiondalemisc.la

libfusiondale_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 libfusiondale_fixed.a

all-local: libfusiondale_fixed.a

libfusiondale_fixed.a: .libs/libfusiondale.a
	rm -f libfusiondale_fixed.a
	${AR} cru libfusiondale_fixed.a `find -name "*.o" | grep -v core | grep -v ifusion`
	${RANLIB} libfusiondale_fixed.a
	cp -af libfusiondale_fixed.a .libs/libfusiondale.a

.libs/libfusiondale.a: libfusiondale.la

else

clean-local:

all-local:

endif