From 7fe60435bce6595a9c58a9bfd8244d74b5320e96 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 15 Jan 2013 08:46:13 +0100 Subject: Import DirectFB141_2k11R3_beta5 --- Source/DirectFB/src/Makefile.am | 73 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100755 Source/DirectFB/src/Makefile.am (limited to 'Source/DirectFB/src/Makefile.am') diff --git a/Source/DirectFB/src/Makefile.am b/Source/DirectFB/src/Makefile.am new file mode 100755 index 0000000..8f506e6 --- /dev/null +++ b/Source/DirectFB/src/Makefile.am @@ -0,0 +1,73 @@ +## Makefile.am for DirectFB/src + +SUBDIRS = core display gfx input media misc windows + +INCLUDES = \ + -I$(top_builddir)/include \ + -I$(top_builddir)/lib \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/lib \ + -I$(top_srcdir)/src + +AM_CPPFLAGS = \ + -DDATADIR=\"${RUNTIME_SYSROOT}@DATADIR@\" \ + -DMODULEDIR=\"${RUNTIME_SYSROOT}@MODULEDIR@\" + + +internalincludedir = $(INTERNALINCLUDEDIR) + +internalinclude_HEADERS = \ + idirectfb.h + + +lib_LTLIBRARIES = libdirectfb.la + +libdirectfb_la_SOURCES = \ + directfb.c \ + idirectfb.c + +libdirectfb_la_LDFLAGS = \ + -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ + -release $(LT_RELEASE) \ + $(DFB_LDFLAGS) + +libdirectfb_la_LIBADD = \ + display/libdirectfb_display.la \ + media/libdirectfb_media.la \ + windows/libdirectfb_windows.la \ + input/libdirectfb_input.la \ + misc/libdirectfb_misc.la \ + gfx/libdirectfb_gfx.la \ + core/libdirectfb_core.la \ + ../lib/direct/libdirect.la \ + ../lib/fusion/libfusion.la + + +# +## and now rebuild the static version with the *correct* object files +# +if BUILD_STATIC + +clean-local: + rm -f libdirectfb_fixed.a + +all-local: libdirectfb_fixed.a + +libdirectfb_fixed.a: .libs/libdirectfb.a + rm -f libdirectfb_fixed.a + ${AR} cru libdirectfb_fixed.a `find . -name "*.o" | grep -v '.libs'` + ${RANLIB} libdirectfb_fixed.a + cp -pf libdirectfb_fixed.a .libs/libdirectfb.a + +.libs/libdirectfb.a: libdirectfb.la + +else + +clean-local: + +all-local: + +endif + + +include $(top_srcdir)/rules/nmfile.make -- cgit