blob: c7604cdcd2a11f3fad90c3fb8b4656e7d236ecb5 (
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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
## Makefile.am for DirectFB/lib/direct
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 = direct.pc
EXTRA_DIST = \
armasm_memcpy.S \
armasm_memcpy.h \
ppcasm_memcpy.S \
ppcasm_memcpy_cachable.S \
ppcasm_memcpy.h \
ppc_asm.h
if BUILDPPCASM
if HAVE_LINUX
ppcasm_sources = ppcasm_memcpy.S ppcasm_memcpy_cachable.S
else
ppcasm_sources = ppcasm_memcpy.S
endif
ppcasm_headers = ppcasm_memcpy.h ppc_asm.h
endif
if BUILDARMASM
armasm_sources = armasm_memcpy.S
armasm_header = armasm_memcpy.h
endif
# If the old location isn't cleared, builds of external modules fail
install-exec-local:
rm -rf $(DESTDIR)$(INTERNALINCLUDEDIR)/direct
includedir = @INCLUDEDIR@/direct
include_HEADERS = \
$(ppcasm_headers) \
$(armasm_headers) \
build.h \
clock.h \
conf.h \
debug.h \
direct.h \
hash.h \
interface.h \
interface_implementation.h \
list.h \
log.h \
mem.h \
memcpy.h \
messages.h \
modules.h \
serial.h \
signals.h \
stream.h \
system.h \
thread.h \
trace.h \
tree.h \
types.h \
utf8.h \
fastlz.h \
flz.h \
util.h
lib_LTLIBRARIES = libdirect.la
libdirect_la_SOURCES = \
$(ppcasm_sources) \
$(armasm_sources) \
clock.c \
conf.c \
debug.c \
direct.c \
hash.c \
interface.c \
list.c \
log.c \
mem.c \
memcpy.c \
messages.c \
modules.c \
signals.c \
stream.c \
system.c \
trace.c \
tree.c \
thread.c \
utf8.c \
fastlz.c \
flz.c \
util.c
libdirect_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 libdirect_fixed.a
all-local: libdirect_fixed.a
libdirect_fixed.a: .libs/libdirect.a
rm -f libdirect_fixed.a
${AR} cru libdirect_fixed.a `find . -name "*.o" | grep -v '.libs' | grep -v dtest`
${RANLIB} libdirect_fixed.a
cp -pf libdirect_fixed.a .libs/libdirect.a
.libs/libdirect.a: libdirect.la
else
clean-local:
all-local:
endif
include $(top_srcdir)/rules/nmfile.make
|