summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosh Triplett <josh@speakeasy.net>2005-05-27 05:17:52 +0000
committerJosh Triplett <josh@speakeasy.net>2005-05-27 05:17:52 +0000
commitfd884a4dbe3f1be8919426da3ebd177fa474a59e (patch)
tree44a46adf816d04ac19f57b641bee1c2199e3947b /src
parent73c3c1850bc5ba1b0d42b2a9d4f3f5593bfbfd02 (diff)
Add Xfont.
Diffstat (limited to 'src')
-rw-r--r--src/FreeType/Makefile.am13
-rw-r--r--src/bitmap/Makefile.am19
-rw-r--r--src/builtins/Makefile.am13
-rw-r--r--src/fc/Makefile.am14
-rw-r--r--src/fc/fstrans.c27
-rw-r--r--src/fontcache/Makefile.am8
-rw-r--r--src/fontfile/Makefile.am32
-rw-r--r--src/stubs/Makefile.am24
-rw-r--r--src/util/Makefile.am16
9 files changed, 166 insertions, 0 deletions
diff --git a/src/FreeType/Makefile.am b/src/FreeType/Makefile.am
new file mode 100644
index 0000000..a37b640
--- /dev/null
+++ b/src/FreeType/Makefile.am
@@ -0,0 +1,13 @@
+INCLUDES = \
+ -I${top_srcdir}/include/X11/fonts
+
+noinst_LTLIBRARIES = libft.la
+
+libft_la_CFLAGS=$(FREETYPE_CFLAGS)
+
+libft_la_SOURCES = \
+ ft.h \
+ ftfuncs.h \
+ ftenc.c \
+ ftfuncs.c \
+ fttools.c
diff --git a/src/bitmap/Makefile.am b/src/bitmap/Makefile.am
new file mode 100644
index 0000000..3fd57c0
--- /dev/null
+++ b/src/bitmap/Makefile.am
@@ -0,0 +1,19 @@
+INCLUDES = \
+ -I${top_srcdir}/include/X11/fonts
+
+noinst_LTLIBRARIES = libbitmap.la
+
+libbitmap_la_SOURCES = \
+ bdfint.h \
+ bdfread.c \
+ bdfutils.c \
+ bitmap.c \
+ bitmapfunc.c \
+ bitmaputil.c \
+ bitscale.c \
+ fontink.c \
+ pcf.h \
+ pcfread.c \
+ pcfwrite.c \
+ snfread.c \
+ snfstr.h
diff --git a/src/builtins/Makefile.am b/src/builtins/Makefile.am
new file mode 100644
index 0000000..f7041e0
--- /dev/null
+++ b/src/builtins/Makefile.am
@@ -0,0 +1,13 @@
+INCLUDES = \
+ -I${top_srcdir}/include/X11/fonts \
+ -I${top_srcdir}/src/bitmap
+
+noinst_LTLIBRARIES = libbuiltins.la
+
+libbuiltins_la_SOURCES = \
+ builtin.h \
+ dir.c \
+ file.c \
+ fonts.c \
+ fpe.c \
+ render.c
diff --git a/src/fc/Makefile.am b/src/fc/Makefile.am
new file mode 100644
index 0000000..512eea1
--- /dev/null
+++ b/src/fc/Makefile.am
@@ -0,0 +1,14 @@
+INCLUDES = \
+ -I${top_srcdir}/include/X11/fonts
+
+noinst_LTLIBRARIES = libfc.la
+
+libfc_la_SOURCES = \
+ fsconvert.c \
+ fserve.c \
+ fserve.h \
+ fservestr.h \
+ fsio.c \
+ fsio.h \
+ fslibos.h \
+ fstrans.c
diff --git a/src/fc/fstrans.c b/src/fc/fstrans.c
new file mode 100644
index 0000000..c51d07c
--- /dev/null
+++ b/src/fc/fstrans.c
@@ -0,0 +1,27 @@
+/*
+ * $Id$
+ *
+ * Copyright © 2004 Keith Packard
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and its
+ * documentation for any purpose is hereby granted without fee, provided that
+ * the above copyright notice appear in all copies and that both that
+ * copyright notice and this permission notice appear in supporting
+ * documentation, and that the name of Keith Packard not be used in
+ * advertising or publicity pertaining to distribution of the software without
+ * specific, written prior permission. Keith Packard makes no
+ * representations about the suitability of this software for any purpose. It
+ * is provided "as is" without express or implied warranty.
+ *
+ * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+ * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ * PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#define FONT_t
+#define TRANS_CLIENT
+#include <X11/transport.c>
diff --git a/src/fontcache/Makefile.am b/src/fontcache/Makefile.am
new file mode 100644
index 0000000..7ade369
--- /dev/null
+++ b/src/fontcache/Makefile.am
@@ -0,0 +1,8 @@
+if XFONT_FONTCACHE
+INCLUDES = \
+ -I${top_srcdir}/include/X11/fonts
+lib_LTLIBRARIES = libfontcache.la
+libfontcache_la_CFLAGS = $(FONTCACHEPROTO_CFLAGS)
+libfontcache_la_SOURCES = fontcache.c fontcacheint.h fcqueue.h
+fontdir = $(includedir)/X11/fonts
+endif
diff --git a/src/fontfile/Makefile.am b/src/fontfile/Makefile.am
new file mode 100644
index 0000000..1ba16b9
--- /dev/null
+++ b/src/fontfile/Makefile.am
@@ -0,0 +1,32 @@
+FONTDIR=${libdir}/X11/fonts
+FONTENCDEFS = -DFONT_ENCODINGS_DIRECTORY=\"$(FONTDIR)/encodings/encodings.dir\"
+
+INCLUDES = \
+ -I${top_srcdir}/include/X11/fonts \
+ $(FONTENCDEFS)
+
+noinst_LTLIBRARIES = libfontfile.la
+
+libfontfile_la_LIBADD = \
+ $(Z_LIBS)
+
+libfontfile_la_SOURCES = \
+ bitsource.c \
+ bufio.c \
+ decompress.c \
+ defaults.c \
+ dirfile.c \
+ encparse.c \
+ ffcheck.c \
+ fileio.c \
+ filewr.c \
+ fontdir.c \
+ fontenc.c \
+ fontencI.h \
+ fontencc.c \
+ fontfile.c \
+ fontscale.c \
+ gunzip.c \
+ printerfont.c \
+ register.c \
+ renderers.c
diff --git a/src/stubs/Makefile.am b/src/stubs/Makefile.am
new file mode 100644
index 0000000..a3f0198
--- /dev/null
+++ b/src/stubs/Makefile.am
@@ -0,0 +1,24 @@
+INCLUDES = \
+ -I${top_srcdir}/include/X11/fonts
+
+noinst_LTLIBRARIES = libstubs.la
+
+libstubs_la_SOURCES = \
+ cauthgen.c \
+ csignal.c \
+ delfntcid.c \
+ errorf.c \
+ fatalerror.c \
+ findoldfnt.c \
+ getcres.c \
+ getdefptsize.c \
+ getnewfntcid.c \
+ gettime.c \
+ initfshdl.c \
+ regfpefunc.c \
+ rmfshdl.c \
+ servclient.c \
+ setfntauth.c \
+ stfntcfnt.c \
+ stubs.h \
+ xpstubs.c
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
new file mode 100644
index 0000000..97377ba
--- /dev/null
+++ b/src/util/Makefile.am
@@ -0,0 +1,16 @@
+INCLUDES = \
+ -I${top_srcdir}/include/X11/fonts
+
+noinst_LTLIBRARIES = libutil.la
+
+libutil_la_SOURCES = \
+ atom.c \
+ fontaccel.c \
+ fontnames.c \
+ fontutil.c \
+ fontxlfd.c \
+ format.c \
+ miscutil.c \
+ patcache.c \
+ private.c \
+ utilbitmap.c