summaryrefslogtreecommitdiff
path: root/xc/config/cf/itsy.cf
diff options
context:
space:
mode:
authorfaith <faith>2000-01-06 12:41:09 +0000
committerfaith <faith>2000-01-06 12:41:09 +0000
commit0387caff984518490a7dc7834a184390bbf4fb97 (patch)
tree3e384e8272b323453802e0cb015c3e28e1077174 /xc/config/cf/itsy.cf
parentb700746a28cb32d457c7aae74d8d04ffd0e4ab5d (diff)
Import of XFree86 3.9.17
Diffstat (limited to 'xc/config/cf/itsy.cf')
-rw-r--r--xc/config/cf/itsy.cf108
1 files changed, 108 insertions, 0 deletions
diff --git a/xc/config/cf/itsy.cf b/xc/config/cf/itsy.cf
new file mode 100644
index 000000000..282421b77
--- /dev/null
+++ b/xc/config/cf/itsy.cf
@@ -0,0 +1,108 @@
+/*
+ * This configuration file contains additional configuration needed
+ * to cross compile X for the Compaq Itsy handheld computer.
+ * To use this, add the following to host.def:
+ #define XItsyServer YES
+ #define KDriveServer YES
+ */
+
+#define CrossCompiling YES
+
+#undef i386Architecture
+#define Arm32Architecture
+
+#undef OptimizedCDebugFlags
+#define OptimizedCDebugFlags -O2
+#define ServerCDebugFlags -O2
+#undef StandardDefines
+#define StandardDefines -Dlinux -D__arm__ -D_POSIX_SOURCE \
+ -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
+#undef CcCmd
+#define StdIncDir /usr/local/arm-unknown-linuxelf/include
+#define PreIncDir /usr/local/arm-unknown-linuxelf/lib/gcc-include
+#undef PostIncDir
+#define PostIncDir /usr/local/lib/gcc-lib/arm-unknown-linuxelf/egcs-2.91.66/include
+#define CcCmd /usr/local/bin/arm-unknown-linuxelf-gcc
+#define DoRanlibCmd YES
+#define RanlibCmd /usr/local/bin/arm-unknown-linuxelf-ranlib
+#undef ExtraLoadFlags
+#define ExtraLoadFlags
+#define FbNoPixelAddrCode
+#undef TermcapLibrary
+#define TermcapLibrary -ltermcap
+
+#undef LdPostLib
+#define LdPostLib -L/usr/local/arm-unknown-linuxelf/lib
+
+#undef XfbdevServer
+#define XfbdevServer NO
+#undef BuildXprint
+#define BuildLBX NO
+#define BuildFonts NO
+#define BuildAppgroup NO
+#define BuildRECORD NO
+#define BuildDBE NO
+#define BuildXCSecurity NO
+#define ItsyCompilerBug YES
+#define FontServerAccess NO
+#define ServerXdmcpDefines /**/
+
+#undef ExtensionOSDefines
+#define ExtensionOSDefines
+
+#define ProjectRoot
+
+#define GzipFontCompression NO
+
+#define KdriveServerExtraDefines -DITSY -DMAXSCREENS=1
+
+#define HostLinkRule(target, flags, src, libs) cc -I$(BUILDINCDIR) -o target src
+
+/* ComplexHostProgramTarget - Compile a program such that we can run
+ * it on this host, i.e., don't use the default cross compiler.
+ */
+#ifndef ComplexHostProgramTarget
+#define ComplexHostProgramTarget(program) @@\
+ CC=cc @@\
+ STD_INCLUDES= @@\
+ CFLAGS=$(TOP_INCLUDES) $(INCLUDES) $(BOOTSTRAPCFLAGS) @@\
+EXTRA_LOAD_FLAGS= @@\
+ PROGRAM = program @@\
+ @@\
+AllTarget(program) @@\
+ @@\
+program: $(OBJS) $(DEPLIBS) @@\
+ RemoveTargetProgram($@) @@\
+ HostLinkRule($@,$(_NOOP_),$(OBJS),$(DEPLIBS) $(LOCAL_LIBRARIES)) @@\
+ @@\
+DependTarget() @@\
+ @@\
+LintTarget() @@\
+ @@\
+clean:: @@\
+ RemoveFile(ProgramTargetName(program))
+#endif /* ComplexHostProgramTarget */
+
+#ifndef SimpleHostProgramTarget
+#define SimpleHostProgramTarget(program) @@\
+ SRCS = program.c @@\
+ @@\
+ CC=cc @@\
+ STD_INCLUDES= @@\
+ CFLAGS=$(TOP_INCLUDES) $(INCLUDES) $(BOOTSTRAPCFLAGS) @@\
+EXTRA_LOAD_FLAGS= @@\
+ PROGRAM = program @@\
+ @@\
+AllTarget(program) @@\
+ @@\
+program: program.o $(DEPLIBS) @@\
+ RemoveTargetProgram($@) @@\
+ HostLinkRule($@,$(_NOOP_),program.o,$(DEPLIBS) $(LOCAL_LIBRARIES)) @@\
+ @@\
+DependTarget() @@\
+ @@\
+LintTarget() @@\
+ @@\
+clean:: @@\
+ RemoveFile(ProgramTargetName(program))
+#endif /* SimpleHostProgramTarget */