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
|
## Makefile.am for DirectFB/lib/fusion
SUBDIRS = shm
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 = fusion.pc
# If the old location isn't cleared, builds of external modules fail
install-exec-local:
rm -rf $(DESTDIR)$(INTERNALINCLUDEDIR)/core/fusion
rm -rf $(DESTDIR)$(INTERNALINCLUDEDIR)/fusion
includedir = @INCLUDEDIR@/fusion
include_HEADERS = \
Debug.h \
arena.h \
build.h \
call.h \
conf.h \
fusion.h \
fusion_internal.h \
hash.h \
init.h \
lock.h \
object.h \
property.h \
protocol.h \
reactor.h \
ref.h \
shmalloc.h \
types.h \
vector.h
lib_LTLIBRARIES = libfusion.la
if DIRECTFB_BUILD_PURE_VOODOO
NON_PURE_VOODOO_SOURCESs =
else
NON_PURE_VOODOO_SOURCESs = \
Debug.cpp \
arena.c \
call.c \
fusion.c \
lock.c \
object.c \
property.c \
reactor.c \
ref.c
endif
libfusion_la_SOURCES = \
$(NON_PURE_VOODOO_SOURCESs) \
conf.c \
hash.c \
init.c \
shmalloc.c \
vector.c
libfusion_la_LIBADD = \
shm/libfusion_shm.la \
../direct/libdirect.la
libfusion_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 libfusion_fixed.a
all-local: libfusion_fixed.a
libfusion_fixed.a: .libs/libfusion.a
rm -f libfusion_fixed.a
${AR} cru libfusion_fixed.a `find . -name "*.o" | grep -v '.libs' | LC_ALL=C sort`
${RANLIB} libfusion_fixed.a
cp -pf libfusion_fixed.a .libs/libfusion.a
.libs/libfusion.a: libfusion.la
else
clean-local:
all-local:
endif
include $(top_srcdir)/rules/nmfile.make
|