diff options
Diffstat (limited to 'libXfont/src/stubs')
-rw-r--r-- | libXfont/src/stubs/Makefile.am | 27 | ||||
-rw-r--r-- | libXfont/src/stubs/Makefile.in | 491 | ||||
-rw-r--r-- | libXfont/src/stubs/cauthgen.c | 14 | ||||
-rw-r--r-- | libXfont/src/stubs/csignal.c | 14 | ||||
-rw-r--r-- | libXfont/src/stubs/delfntcid.c | 13 | ||||
-rw-r--r-- | libXfont/src/stubs/errorf.c | 13 | ||||
-rw-r--r-- | libXfont/src/stubs/fatalerror.c | 13 | ||||
-rw-r--r-- | libXfont/src/stubs/findoldfnt.c | 14 | ||||
-rw-r--r-- | libXfont/src/stubs/fontmod.c | 14 | ||||
-rw-r--r-- | libXfont/src/stubs/getcres.c | 14 | ||||
-rw-r--r-- | libXfont/src/stubs/getdefptsize.c | 14 | ||||
-rw-r--r-- | libXfont/src/stubs/getnewfntcid.c | 14 | ||||
-rw-r--r-- | libXfont/src/stubs/gettime.c | 14 | ||||
-rw-r--r-- | libXfont/src/stubs/initfshdl.c | 15 | ||||
-rw-r--r-- | libXfont/src/stubs/regfpefunc.c | 28 | ||||
-rw-r--r-- | libXfont/src/stubs/rmfshdl.c | 15 | ||||
-rw-r--r-- | libXfont/src/stubs/servclient.c | 10 | ||||
-rw-r--r-- | libXfont/src/stubs/setfntauth.c | 14 | ||||
-rw-r--r-- | libXfont/src/stubs/stfntcfnt.c | 14 | ||||
-rw-r--r-- | libXfont/src/stubs/stubs.h | 31 | ||||
-rw-r--r-- | libXfont/src/stubs/xpstubs.c | 21 |
21 files changed, 817 insertions, 0 deletions
diff --git a/libXfont/src/stubs/Makefile.am b/libXfont/src/stubs/Makefile.am new file mode 100644 index 000000000..963470f52 --- /dev/null +++ b/libXfont/src/stubs/Makefile.am @@ -0,0 +1,27 @@ +INCLUDES = \ + -I${top_srcdir}/include + +AM_CFLAGS = $(XFONT_CFLAGS) $(OS_CFLAGS) $(CWARNFLAGS) + +noinst_LTLIBRARIES = libstubs.la + +libstubs_la_SOURCES = \ + cauthgen.c \ + csignal.c \ + delfntcid.c \ + errorf.c \ + fatalerror.c \ + findoldfnt.c \ + fontmod.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/libXfont/src/stubs/Makefile.in b/libXfont/src/stubs/Makefile.in new file mode 100644 index 000000000..53363bb45 --- /dev/null +++ b/libXfont/src/stubs/Makefile.in @@ -0,0 +1,491 @@ +# Makefile.in generated by automake 1.10 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = src/stubs +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h \ + $(top_builddir)/include/X11/fonts/fontconf.h +CONFIG_CLEAN_FILES = +LTLIBRARIES = $(noinst_LTLIBRARIES) +libstubs_la_LIBADD = +am_libstubs_la_OBJECTS = cauthgen.lo csignal.lo delfntcid.lo errorf.lo \ + fatalerror.lo findoldfnt.lo fontmod.lo getcres.lo \ + getdefptsize.lo getnewfntcid.lo gettime.lo initfshdl.lo \ + regfpefunc.lo rmfshdl.lo servclient.lo setfntauth.lo \ + stfntcfnt.lo xpstubs.lo +libstubs_la_OBJECTS = $(am_libstubs_la_OBJECTS) +DEFAULT_INCLUDES = -I. -I$(top_builddir) -I$(top_builddir)/include/X11/fonts@am__isrc@ +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +SOURCES = $(libstubs_la_SOURCES) +DIST_SOURCES = $(libstubs_la_SOURCES) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CHANGELOG_CMD = @CHANGELOG_CMD@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CWARNFLAGS = @CWARNFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +ENCODINGSDIR = @ENCODINGSDIR@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ +FREETYPE_LIBS = @FREETYPE_LIBS@ +FREETYPE_REQUIRES = @FREETYPE_REQUIRES@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MATH_LIBS = @MATH_LIBS@ +MKDIR_P = @MKDIR_P@ +OBJEXT = @OBJEXT@ +OS_CFLAGS = @OS_CFLAGS@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +RANLIB = @RANLIB@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +XFONT_CFLAGS = @XFONT_CFLAGS@ +XFONT_LIBS = @XFONT_LIBS@ +X_GZIP_FONT_COMPRESSION = @X_GZIP_FONT_COMPRESSION@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +distcleancheck_listfiles = @distcleancheck_listfiles@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +ft_config = @ft_config@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +INCLUDES = \ + -I${top_srcdir}/include + +AM_CFLAGS = $(XFONT_CFLAGS) $(OS_CFLAGS) $(CWARNFLAGS) +noinst_LTLIBRARIES = libstubs.la +libstubs_la_SOURCES = \ + cauthgen.c \ + csignal.c \ + delfntcid.c \ + errorf.c \ + fatalerror.c \ + findoldfnt.c \ + fontmod.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 + +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/stubs/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign src/stubs/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +libstubs.la: $(libstubs_la_OBJECTS) $(libstubs_la_DEPENDENCIES) + $(LINK) $(libstubs_la_OBJECTS) $(libstubs_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cauthgen.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/csignal.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/delfntcid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/errorf.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fatalerror.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/findoldfnt.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fontmod.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getcres.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getdefptsize.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getnewfntcid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettime.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/initfshdl.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regfpefunc.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rmfshdl.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/servclient.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/setfntauth.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stfntcfnt.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xpstubs.Plo@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-exec-am: + +install-html: install-html-am + +install-info: install-info-am + +install-man: + +install-pdf: install-pdf-am + +install-ps: install-ps-am + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ + clean-libtool clean-noinstLTLIBRARIES ctags distclean \ + distclean-compile distclean-generic distclean-libtool \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags uninstall uninstall-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/libXfont/src/stubs/cauthgen.c b/libXfont/src/stubs/cauthgen.c new file mode 100644 index 000000000..026c52d17 --- /dev/null +++ b/libXfont/src/stubs/cauthgen.c @@ -0,0 +1,14 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak client_auth_generation +#endif + +weak int +client_auth_generation(ClientPtr client) +{ + return 0; +} diff --git a/libXfont/src/stubs/csignal.c b/libXfont/src/stubs/csignal.c new file mode 100644 index 000000000..e6fdeae1b --- /dev/null +++ b/libXfont/src/stubs/csignal.c @@ -0,0 +1,14 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak ClientSignal +#endif + +weak Bool +ClientSignal(ClientPtr client) +{ + return True; +} diff --git a/libXfont/src/stubs/delfntcid.c b/libXfont/src/stubs/delfntcid.c new file mode 100644 index 000000000..ca713286c --- /dev/null +++ b/libXfont/src/stubs/delfntcid.c @@ -0,0 +1,13 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak DeleteFontClientID +#endif + +weak void +DeleteFontClientID(Font id) +{ +} diff --git a/libXfont/src/stubs/errorf.c b/libXfont/src/stubs/errorf.c new file mode 100644 index 000000000..fd32965a4 --- /dev/null +++ b/libXfont/src/stubs/errorf.c @@ -0,0 +1,13 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak ErrorF +#endif + +weak void +ErrorF(const char *f, ...) +{ +} diff --git a/libXfont/src/stubs/fatalerror.c b/libXfont/src/stubs/fatalerror.c new file mode 100644 index 000000000..1549ad3ea --- /dev/null +++ b/libXfont/src/stubs/fatalerror.c @@ -0,0 +1,13 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak FatalError +#endif + +weak void +FatalError(const char *f, ...) +{ +} diff --git a/libXfont/src/stubs/findoldfnt.c b/libXfont/src/stubs/findoldfnt.c new file mode 100644 index 000000000..7a0008409 --- /dev/null +++ b/libXfont/src/stubs/findoldfnt.c @@ -0,0 +1,14 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak find_old_font +#endif + +weak FontPtr +find_old_font(FSID id) +{ + return (FontPtr)NULL; +} diff --git a/libXfont/src/stubs/fontmod.c b/libXfont/src/stubs/fontmod.c new file mode 100644 index 000000000..5a0bd0e9d --- /dev/null +++ b/libXfont/src/stubs/fontmod.c @@ -0,0 +1,14 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef LOADABLEFONTS +#include "stubs.h" +#include <X11/fonts/fontmod.h> + +#ifdef __SUNPRO_C +#pragma weak FontModuleList +#endif + +weak FontModule *FontModuleList; +#endif /* LOADABLEFONTS */ diff --git a/libXfont/src/stubs/getcres.c b/libXfont/src/stubs/getcres.c new file mode 100644 index 000000000..0b98f46e3 --- /dev/null +++ b/libXfont/src/stubs/getcres.c @@ -0,0 +1,14 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak GetClientResolutions +#endif + +weak FontResolutionPtr +GetClientResolutions(int *num) +{ + return (FontResolutionPtr) 0; +} diff --git a/libXfont/src/stubs/getdefptsize.c b/libXfont/src/stubs/getdefptsize.c new file mode 100644 index 000000000..0b9e40999 --- /dev/null +++ b/libXfont/src/stubs/getdefptsize.c @@ -0,0 +1,14 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak GetDefaultPointSize +#endif + +weak int +GetDefaultPointSize(void) +{ + return 0; +} diff --git a/libXfont/src/stubs/getnewfntcid.c b/libXfont/src/stubs/getnewfntcid.c new file mode 100644 index 000000000..e2fe8bb15 --- /dev/null +++ b/libXfont/src/stubs/getnewfntcid.c @@ -0,0 +1,14 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak GetNewFontClientID +#endif + +weak Font +GetNewFontClientID(void) +{ + return (Font)0; +} diff --git a/libXfont/src/stubs/gettime.c b/libXfont/src/stubs/gettime.c new file mode 100644 index 000000000..7b2d3b34c --- /dev/null +++ b/libXfont/src/stubs/gettime.c @@ -0,0 +1,14 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak GetTimeInMillis +#endif + +weak unsigned long +GetTimeInMillis (void) +{ + return 0; +} diff --git a/libXfont/src/stubs/initfshdl.c b/libXfont/src/stubs/initfshdl.c new file mode 100644 index 000000000..a14dafffc --- /dev/null +++ b/libXfont/src/stubs/initfshdl.c @@ -0,0 +1,15 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak init_fs_handlers +#endif + +weak int +init_fs_handlers(FontPathElementPtr fpe, + BlockHandlerProcPtr block_handler) +{ + return Successful; +} diff --git a/libXfont/src/stubs/regfpefunc.c b/libXfont/src/stubs/regfpefunc.c new file mode 100644 index 000000000..a79b4bf92 --- /dev/null +++ b/libXfont/src/stubs/regfpefunc.c @@ -0,0 +1,28 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak RegisterFPEFunctions +#endif + +weak int +RegisterFPEFunctions(NameCheckFunc name_func, + InitFpeFunc init_func, + FreeFpeFunc free_func, + ResetFpeFunc reset_func, + OpenFontFunc open_func, + CloseFontFunc close_func, + ListFontsFunc list_func, + StartLfwiFunc start_lfwi_func, + NextLfwiFunc next_lfwi_func, + WakeupFpeFunc wakeup_func, + ClientDiedFunc client_died, + LoadGlyphsFunc load_glyphs, + StartLaFunc start_list_alias_func, + NextLaFunc next_list_alias_func, + SetPathFunc set_path_func) +{ + return 0; +} diff --git a/libXfont/src/stubs/rmfshdl.c b/libXfont/src/stubs/rmfshdl.c new file mode 100644 index 000000000..d0bdd3d98 --- /dev/null +++ b/libXfont/src/stubs/rmfshdl.c @@ -0,0 +1,15 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak remove_fs_handlers +#endif + +weak void +remove_fs_handlers(FontPathElementPtr fpe, + BlockHandlerProcPtr blockHandler, + Bool all) +{ +} diff --git a/libXfont/src/stubs/servclient.c b/libXfont/src/stubs/servclient.c new file mode 100644 index 000000000..9b6cebb3f --- /dev/null +++ b/libXfont/src/stubs/servclient.c @@ -0,0 +1,10 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak serverClient +#endif + +weak void *serverClient = 0; diff --git a/libXfont/src/stubs/setfntauth.c b/libXfont/src/stubs/setfntauth.c new file mode 100644 index 000000000..0c7ecccde --- /dev/null +++ b/libXfont/src/stubs/setfntauth.c @@ -0,0 +1,14 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak set_font_authorizations +#endif + +weak int +set_font_authorizations(char **authorizations, int *authlen, ClientPtr client) +{ + return 0; +} diff --git a/libXfont/src/stubs/stfntcfnt.c b/libXfont/src/stubs/stfntcfnt.c new file mode 100644 index 000000000..5fc17452f --- /dev/null +++ b/libXfont/src/stubs/stfntcfnt.c @@ -0,0 +1,14 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak StoreFontClientFont +#endif + +weak int +StoreFontClientFont(FontPtr pfont, Font id) +{ + return 0; +} diff --git a/libXfont/src/stubs/stubs.h b/libXfont/src/stubs/stubs.h new file mode 100644 index 000000000..41cde58df --- /dev/null +++ b/libXfont/src/stubs/stubs.h @@ -0,0 +1,31 @@ +/* $XFree86: xc/lib/font/stubs/stubs.h,v 1.3 1999/12/15 01:14:36 robin Exp $ */ + +#include <stdio.h> +#include <X11/fonts/fntfilst.h> +#include <X11/fonts/font.h> + +#ifndef True +#define True (-1) +#endif +#ifndef False +#define False (0) +#endif + +/* this probably works for Mach-O too, but probably not for PE */ +#if defined(__ELF__) && defined(__GNUC__) && (__GNUC__ >= 3) +#define weak __attribute__((weak)) +#else +#define weak +#endif + +extern FontPtr find_old_font ( FSID id ); +extern int set_font_authorizations ( char **authorizations, + int *authlen, + ClientPtr client ); + +extern unsigned long GetTimeInMillis (void); + +extern void ErrorF(const char *format, ...); +extern void FatalError(const char *format, ...); + +/* end of file */ diff --git a/libXfont/src/stubs/xpstubs.c b/libXfont/src/stubs/xpstubs.c new file mode 100644 index 000000000..939b34f21 --- /dev/null +++ b/libXfont/src/stubs/xpstubs.c @@ -0,0 +1,21 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "stubs.h" + +#ifdef __SUNPRO_C +#pragma weak XpClientIsBitmapClient +#pragma weak XpClientIsPrintClient +#endif + +weak Bool +XpClientIsBitmapClient(ClientPtr client) +{ + return True; +} + +weak Bool +XpClientIsPrintClient(ClientPtr client, FontPathElementPtr fpe) +{ + return False; +} |