summaryrefslogtreecommitdiff
path: root/Config_x11
diff options
context:
space:
mode:
Diffstat (limited to 'Config_x11')
-rwxr-xr-xConfig_x11/config.h30
-rwxr-xr-xConfig_x11/direct/build.h39
-rwxr-xr-xConfig_x11/fusion/build.h36
-rwxr-xr-xConfig_x11/makefile106
4 files changed, 211 insertions, 0 deletions
diff --git a/Config_x11/config.h b/Config_x11/config.h
new file mode 100755
index 0000000..ff2f76a
--- /dev/null
+++ b/Config_x11/config.h
@@ -0,0 +1,30 @@
+#define ARCH_MIPS
+#define DIRECTFB_VERSION "1.4.0"
+#define FUSIONDALE_VERSION "0.1.0"
+#define HAVE_ASM_PAGE_H 1
+#define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
+#define HAVE_DECL_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP 1
+#define HAVE_DLFCN_H 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_LIBDL 1
+#define HAVE_LIBPTHREAD 1
+#define HAVE_LINUX_UNISTD_H 1
+#define HAVE_MEMORY_H 1
+#define HAVE_STDBOOL_H 1
+#define HAVE_STDINT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRINGS_H 1
+#define HAVE_STRING_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_INPUT_ABSINFO 1
+#define PACKAGE_BUGREPORT ""
+#define PACKAGE_NAME ""
+#define PACKAGE_STRING ""
+#define PACKAGE_TARNAME ""
+#define PACKAGE_VERSION ""
+#define SIZEOF_INT 4
+#define SIZEOF_LONG 4
+#define SIZEOF_LONG_LONG 8
+#define STDC_HEADERS 1
diff --git a/Config_x11/direct/build.h b/Config_x11/direct/build.h
new file mode 100755
index 0000000..139e797
--- /dev/null
+++ b/Config_x11/direct/build.h
@@ -0,0 +1,39 @@
+/*
+ (c) Copyright 2000-2002 convergence integrated media GmbH.
+ (c) Copyright 2002-2004 convergence GmbH.
+
+ All rights reserved.
+
+ Written by Denis Oliver Kropp <dok@directfb.org>,
+ Andreas Hundt <andi@fischlustig.de>,
+ Sven Neumann <neo@directfb.org> and
+ Ville Syrjälä <syrjala@sci.fi>.
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+#ifndef __DIRECT__BUILD_H__
+#define __DIRECT__BUILD_H__
+
+#define DIRECT_BUILD_DEBUG (ENABLE_DEBUG)
+#define DIRECT_BUILD_DEBUGS (ENABLE_DEBUG)
+#define DIRECT_BUILD_TRACE (ENABLE_TRACE)
+#define DIRECT_BUILD_TEXT (1)
+#define DIRECT_BUILD_GETTID (1)
+#define DIRECT_BUILD_NETWORK (0)
+#define DIRECT_BUILD_STDBOOL (1)
+#endif
+
diff --git a/Config_x11/fusion/build.h b/Config_x11/fusion/build.h
new file mode 100755
index 0000000..af9ba26
--- /dev/null
+++ b/Config_x11/fusion/build.h
@@ -0,0 +1,36 @@
+/*
+ (c) Copyright 2000-2002 convergence integrated media GmbH.
+ (c) Copyright 2002-2004 convergence GmbH.
+
+ All rights reserved.
+
+ Written by Denis Oliver Kropp <dok@directfb.org>,
+ Andreas Hundt <andi@fischlustig.de>,
+ Sven Neumann <neo@directfb.org> and
+ Ville Syrjälä <syrjala@sci.fi>.
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+#ifndef __FUSION__BUILD_H__
+#define __FUSION__BUILD_H__
+
+#define FUSION_BUILD_MULTI (1)
+#define FUSION_MESSAGE_SIZE (65536)
+#define FUSION_BUILD_KERNEL (1)
+
+#endif
+
diff --git a/Config_x11/makefile b/Config_x11/makefile
new file mode 100755
index 0000000..4255025
--- /dev/null
+++ b/Config_x11/makefile
@@ -0,0 +1,106 @@
+# X11 Config makefile specifics.
+
+# Global setup
+PHILIPS = $(TOP)/Philips
+DIRECTFBTOP = $(TOP)/../..
+
+DESTDIR = /opt/root520
+prefix = /home
+bindir = /home
+datadir = /usr/data
+libdir = /lib
+sysconfdir = /etc
+
+#
+# Toolchain location
+#CC := /cygdrive/c/MontaVista/opt/montavista/pro/devkit/mips/fp_le/bin/mips_fp_le-gcc
+#LD := /cygdrive/c/MontaVista/opt/montavista/pro/devkit/mips/fp_le/bin/mips_fp_le-ld
+CC := gcc
+LD := ld
+nm := nm
+
+LIBS += -lXext
+LIBS += `pkg-config x11 --libs`
+LIBS += `pkg-config xext --libs`
+LIBS += `pkg-config freetype2 --libs`
+LIBS += `pkg-config libpng --libs`
+
+#
+# Configuration
+CPPFLAGS += -DHAVE_FUSIONDALE -DLINUX_2_6 -DPAGE_SHIFT=12 -DPIC #-DLINUX_INPUT_USE_FBDEV #-DHAS_CURSOR_BUG -DDFB_INPUTDRIVER_HAS_SENSITIVITY
+#-Werror -DSAWMAN_NO_LAYER_DST_WINDOW
+
+#
+# Compiler flags
+ifeq ($(DEBUG),yes)
+CFLAGS += -g -ggdb -O1 -fno-omit-frame-pointer
+else
+CFLAGS += -g -ggdb -O2 -ffast-math -fno-omit-frame-pointer
+#CFLAGS += -g -ggdb -O2 -ffast-math -fomit-frame-pointer -march=r4400
+endif
+# -Werror
+
+INCLUDES += `pkg-config x11 --cflags`
+INCLUDES += `pkg-config xext --cflags`
+INCLUDES += `pkg-config freetype2 --cflags`
+
+#
+# CE files (temporary)
+INCLUDES += -I$(SOURCE)/FusionDale/src/core
+INCLUDES += -I$(TOP)/../iType/product/source/common
+INCLUDES += -I$(TOP)/../iType/product/source/adf
+INCLUDES += -I$(TOP)/../iType/product/source/port/tv543
+LDFLAGS += -L$(TOP)/../iType/product/builds/linux/itype/debug
+
+#
+# Different modules, drivers etc.
+FT2MODULEOBJECTS = \
+ $(SOURCE)/DirectFB/interfaces/IDirectFBFont/idirectfbfont_ft2.o
+ITYPEMODULEOBJECTS = \
+ $(SOURCE)/DirectFB/interfaces/IDirectFBFont/idirectfbfont_lino.o
+DGIFFMODULEOBJECTS = \
+ $(SOURCE)/DirectFB/interfaces/IDirectFBFont/idirectfbfont_dgiff.o
+PNGMODULEOBJECTS = \
+ $(SOURCE)/DirectFB/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.o
+JPEGMODULEOBJECTS = \
+ $(SOURCE)/DirectFB/interfaces/IDirectFBImageProvider/idirectfbimageprovider_jpeg.o
+
+OBJECTS = \
+ $(SOURCE)/DirectFB/interfaces/IDirectFBFont/idirectfbfont_dgiff.o \
+ $(SOURCE)/DirectFB/interfaces/IDirectFBImageProvider/idirectfbimageprovider_dfiff.o \
+ $(SOURCE)/DirectFB/interfaces/IDirectFBImageProvider/idirectfbimageprovider_gif.o \
+ $(SOURCE)/DirectFB/inputdrivers/linux_input/linux_input.o \
+ $(SOURCE)/DirectFB/systems/x11/x11.o \
+ $(SOURCE)/DirectFB/systems/x11/x11image.o \
+ $(SOURCE)/DirectFB/systems/x11/xwindow.o \
+ $(SOURCE)/DirectFB/systems/x11/x11input.o \
+ $(SOURCE)/DirectFB/systems/x11/x11_surface_pool.o \
+ $(SOURCE)/DirectFB/systems/x11/vpsmem_surface_pool.o \
+ $(SOURCE)/DirectFB/systems/x11/surfacemanager.o \
+ $(SOURCE)/DirectFB/systems/x11/primary.o
+
+TOOLS = \
+ $(SOURCE)/DirectFB/tools/dfbproxy \
+ $(SOURCE)/DirectFB/tools/dfbinput \
+ $(SOURCE)/DirectFB/tests/dfbtest_font \
+ $(SOURCE)/DirectFB/tests/smiley_test
+
+
+
+clean::
+
+install::
+ @(if test -z "$(DESTDIR)"; then echo "**** DESTDIR not set! ****"; exit 1; fi)
+ install -d $(DESTDIR)$(datadir)
+ install -d $(DESTDIR)$(datadir)/df_neo
+ install -d $(DESTDIR)$(datadir)/shopfloor
+ install -d $(DESTDIR)$(datadir)/quip
+ install -d $(DESTDIR)$(sysconfdir)
+ install -c -m 644 $(PHILIPS)/Tools/data/*.{gif,jpg,png,ttf} $(DESTDIR)$(datadir)/
+ install -c -m 644 $(PHILIPS)/Tools/data/df_neo/*.{jpg,png} $(DESTDIR)$(datadir)/df_neo/
+ install -c -m 644 $(PHILIPS)/Tools/data/quip/*.{dfiff,png,quip} $(DESTDIR)$(datadir)/quip/
+ install -c -m 644 $(PHILIPS)/Tools/data/shopfloor/*.{png,sfa} $(DESTDIR)$(datadir)/shopfloor/
+ install -c -m 644 $(PHILIPS)/Config/directfbrc* $(DESTDIR)$(sysconfdir)
+ install -c -m 644 $(PHILIPS)/Config/fusiondalerc* $(DESTDIR)$(sysconfdir)
+ install -c -m 644 $(PHILIPS)/Config/sawmanrc $(DESTDIR)$(sysconfdir)
+