File: Makefile.am

package info (click to toggle)
directfb 1.7.7-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 32,212 kB
  • sloc: ansic: 306,760; cpp: 46,357; sh: 11,720; makefile: 5,620; perl: 662; asm: 507; xml: 116
file content (113 lines) | stat: -rw-r--r-- 1,990 bytes parent folder | download | duplicates (2)
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
## Makefile.am for DirectFB/lib/voodoo

SUBDIRS = unix


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

AM_CPPFLAGS = \
	-DDATADIR=\"${RUNTIME_SYSROOT}@DATADIR@\"	\
	-DMODULEDIR=\"${RUNTIME_SYSROOT}@MODULEDIR@\"

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = voodoo.pc


# If the old location isn't cleared, builds of external modules fail
install-exec-local:
	rm -rf $(DESTDIR)$(INTERNALINCLUDEDIR)/voodoo


includedir = @INCLUDEDIR@/voodoo

include_HEADERS = \
	app.h			\
	build.h			\
	client.h		\
	conf.h			\
	connection.h		\
	connection_link.h	\
	connection_packet.h	\
	connection_raw.h	\
	dispatcher.h		\
	init.h			\
	instance.h		\
	interface.h		\
	ivoodooplayer.h		\
	ivoodooplayer_dispatcher.h	\
	link.h			\
	manager.h		\
	message.h		\
	server.h		\
	packet.h		\
	play.h			\
	play_internal.h		\
	play_server.h		\
	types.h


lib_LTLIBRARIES = libvoodoo.la

libvoodoo_la_SOURCES = \
	client.c		\
	conf.c			\
	connection.cpp		\
	connection_link.cpp	\
	connection_packet.cpp	\
	connection_raw.cpp	\
	dispatcher.cpp		\
	init.c			\
	instance.cpp		\
	interface.c		\
	internal.h		\
	ivoodooplayer.c		\
	ivoodooplayer_dispatcher.c	\
	ivoodooplayer_requestor.c	\
	manager.cpp		\
	manager_c.cpp		\
	play.c			\
	play_server.c		\
	server.c

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

libvoodoo_la_LIBADD = \
	unix/libvoodoo_unix.la	\
	../direct/libdirect.la


#
## and now rebuild the static version with the *correct* object files
#
if BUILD_STATIC

clean-local:
	rm -f libvoodoo_fixed.a

all-local: libvoodoo_fixed.a

libvoodoo_fixed.a: .libs/libvoodoo.a
	rm -f libvoodoo_fixed.a
	${AR} cru libvoodoo_fixed.a `find . -name "*.o" | LC_ALL=C sort`
	${RANLIB} libvoodoo_fixed.a
	cp -pf libvoodoo_fixed.a .libs/libvoodoo.a

.libs/libvoodoo.a: libvoodoo.la

else

clean-local:

all-local:

endif


include $(top_srcdir)/rules/nmfile.make