diff options
Diffstat (limited to 'nx-X11/lib/X11/xlibi18n')
-rw-r--r-- | nx-X11/lib/X11/xlibi18n/Imakefile | 9 | ||||
-rw-r--r-- | nx-X11/lib/X11/xlibi18n/Xi18nLib.conf | 105 | ||||
-rw-r--r-- | nx-X11/lib/X11/xlibi18n/im/Imakefile | 10 | ||||
-rw-r--r-- | nx-X11/lib/X11/xlibi18n/im/ximcp/Imakefile | 53 | ||||
-rw-r--r-- | nx-X11/lib/X11/xlibi18n/im/ximcp/Ximcp.mapfile | 6 | ||||
-rw-r--r-- | nx-X11/lib/X11/xlibi18n/lc/Imakefile | 10 | ||||
-rw-r--r-- | nx-X11/lib/X11/xlibi18n/lc/Utf8/Imakefile | 13 | ||||
-rw-r--r-- | nx-X11/lib/X11/xlibi18n/lc/def/Imakefile | 13 | ||||
-rw-r--r-- | nx-X11/lib/X11/xlibi18n/lc/def/Xlc.mapfile | 6 | ||||
-rw-r--r-- | nx-X11/lib/X11/xlibi18n/lc/gen/Imakefile | 13 | ||||
-rw-r--r-- | nx-X11/lib/X11/xlibi18n/lc/gen/Xlc.mapfile | 6 | ||||
-rw-r--r-- | nx-X11/lib/X11/xlibi18n/lc/xlocale/Imakefile | 15 | ||||
-rw-r--r-- | nx-X11/lib/X11/xlibi18n/om/Imakefile | 10 | ||||
-rw-r--r-- | nx-X11/lib/X11/xlibi18n/om/generic/Imakefile | 21 | ||||
-rw-r--r-- | nx-X11/lib/X11/xlibi18n/om/generic/Xom.mapfile | 6 |
15 files changed, 296 insertions, 0 deletions
diff --git a/nx-X11/lib/X11/xlibi18n/Imakefile b/nx-X11/lib/X11/xlibi18n/Imakefile new file mode 100644 index 000000000..6074f9fd3 --- /dev/null +++ b/nx-X11/lib/X11/xlibi18n/Imakefile @@ -0,0 +1,9 @@ +#define IHaveSubdirs +#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" + +SUBDIRS = lc im om + +MakeSubdirs($(SUBDIRS)) +DependSubdirs($(SUBDIRS)) +MakeLintLibSubdirs($(LINTSUBDIRS)) +MakeLintSubdirs($(LINTSUBDIRS),install.ln,install.ln) diff --git a/nx-X11/lib/X11/xlibi18n/Xi18nLib.conf b/nx-X11/lib/X11/xlibi18n/Xi18nLib.conf new file mode 100644 index 000000000..04d953a77 --- /dev/null +++ b/nx-X11/lib/X11/xlibi18n/Xi18nLib.conf @@ -0,0 +1,105 @@ +XCOMM $XFree86: Xi18nLib.conf,v 1.8 2002/11/25 14:04:54 eich Exp $ +XCOMM $XdotOrg: xc/lib/X11/xlibi18n/Xi18nLib.conf,v 1.4 2004/08/26 17:57:19 eich Exp $ + +#define DoNormalLib NO +#define DoSharedLib YES +#define DoDebugLib DebugLibX11 +#define DoProfileLib ProfileLibX11 +#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" + +#include <Threads.tmpl> + + SOXI18NREV = 2 + POSTLOCALE = common +#if defined (LibDirName) + POSTLOCALELIB = LibDirName +#else + POSTLOCALELIB = lib +#endif + +#if Malloc0ReturnsNull + MALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL +#endif +#if NeedLibInsideFlag + LIB_DEFINES = -D_XLIBINT_ +#endif + +DYNAMIC_DEFINES = -DDYNAMIC_LOAD + DEFINES = $(MALLOC_DEFINES) $(LIB_DEFINES) $(SUNSOFT_DEFINES) + +#include <Library.tmpl> + +#if defined(HPArchitecture) && OSMajorVersion > 9 + EXTRA_SHLIBLDFLAGS = +s +b $(USRLIBDIR) +#else + EXTRA_SHLIBLDFLAGS = +#endif + +#if defined(SparcArchitecture) +#if defined(HasSunC) && HasSunC +CFLAGS += -xregs=no%appl +#endif +#if HasGcc +CFLAGS += -mno-app-regs +#endif +#endif + +all:: + $(_NULLCMD_) +.c.o: + $(_NULLCMD_) + $(_NULLCMD_) + $(_NULLCMD_) + $(RM) $@ + $(CC) -c $(CFLAGS) $(_NOOP_) $(SHLIBDEF) $(SHAREDCODEDEF) $(PICFLAGS) $*.c + +clean:: + rm -rf *.so.$(SOXI18NREV) + +lint:: + $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS) + +#ifndef BuildI18NTop +# define BuildI18NTop $(BUILDLIBTOP)/../../.. +#endif + +BUILDI18NTOP = BuildI18NTop + +#ifndef LinkBuildXi18nLibrary +# ifdef UseInstalled +# define LinkBuildXi18nLibrary(libname,rev) +# else +# define LinkBuildXi18nLibrary(libname,rev) @@\ +AllTarget(AllTarget(Concat(lib,libname.so.rev))) @@\ + MakeDir($(BUILDI18NDIR)/$(POSTLOCALELIB)/$(POSTLOCALE)) @@\ + RemoveFile($(BUILDI18NDIR)/$(POSTLOCALELIB)/$(POSTLOCALE)/libname.so.$(SOXI18NREV)) @@\ + cd $(BUILDI18NDIR)/$(POSTLOCALELIB)/$(POSTLOCALE) && $(LN) $(BUILDI18NTOP)/$(CURRENT_DIR)/Concat(lib,libname.so.rev) ./libname.so.rev +# endif +#endif + +#ifndef Xi18nLibraryTarget +# if 0 /* !CrossCompiling */ +# define Xi18nLibraryTarget(libname) @@\ +all:: libname.so.$(SOXI18NREV) @@\ +libname.so.$(SOXI18NREV): $(OBJS) @@\ + $(RM) $@~ @@\ + (cd .; T=`echo $@ | sed 's/\.[^\.]*$$//'`; $(LD) -o ./$@~ $(SHLIBLDFLAGS) $(OBJS) $(REQUIREDLIBS) $(EXTRA_SHLIBLDFLAGS); $(RM) $$T && $(LN) $@ $$T) @@\ + $(RM) $@ @@\ + $(MV) $@~ $@ @@\ +install:: libname.so.$(SOXI18NREV) @@\ + @if [ -d $(DESTDIR)$(XLOCALEDIR)/$(POSTLOCALELIB)/$(POSTLOCALE) ]; then set +x; \ @@\ + else (set -x; $(MKDIRHIER) $(DESTDIR)$(XLOCALEDIR)/$(POSTLOCALELIB)/$(POSTLOCALE)); fi @@\ + $(RM) $(DESTDIR)$(XLOCALEDIR)/$(POSTLOCALELIB)/$(POSTLOCALE)/libname.so.$(SOXI18NREV) @@\ + $(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) libname.so.$(SOXI18NREV) $(DESTDIR)$(XLOCALEDIR)/$(POSTLOCALELIB)/$(POSTLOCALE) +# else +# define Xi18nLibraryTarget(libname) @@\ +DependTarget() @@\ +SharedLibraryTarget(libname,$(SOXI18NREV),$(OBJS),.,.) @@\ +LinkBuildXi18nLibrary(libname,$(SOXI18NREV)) @@\ +install:: Concat(lib,libname.so.$(SOXI18NREV)) @@\ + MakeDir($(DESTDIR)$(XLOCALEDIR)/$(POSTLOCALELIB)/$(POSTLOCALE)) @@\ + $(RM) $(DESTDIR)$(XLOCALEDIR)/$(POSTLOCALELIB)/$(POSTLOCALE)/libname.so.$(SOXI18NREV) @@\ + $(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) Concat(lib,libname.so.$(SOXI18NREV)) $(DESTDIR)$(XLOCALEDIR)/$(POSTLOCALELIB)/$(POSTLOCALE)/libname.so.$(SOXI18NREV) + +# endif +#endif diff --git a/nx-X11/lib/X11/xlibi18n/im/Imakefile b/nx-X11/lib/X11/xlibi18n/im/Imakefile new file mode 100644 index 000000000..3c638b1a8 --- /dev/null +++ b/nx-X11/lib/X11/xlibi18n/im/Imakefile @@ -0,0 +1,10 @@ +XCOMM $XConsortium: Imakefile,v 1.27 94/04/07 15:01:48 rws Exp $ +#define IHaveSubdirs +#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" + +SUBDIRS = ximcp + +MakeSubdirs($(SUBDIRS)) +DependSubdirs($(SUBDIRS)) +MakeLintLibSubdirs($(LINTSUBDIRS)) +MakeLintSubdirs($(LINTSUBDIRS),install.ln,install.ln) diff --git a/nx-X11/lib/X11/xlibi18n/im/ximcp/Imakefile b/nx-X11/lib/X11/xlibi18n/im/ximcp/Imakefile new file mode 100644 index 000000000..f3b85ac84 --- /dev/null +++ b/nx-X11/lib/X11/xlibi18n/im/ximcp/Imakefile @@ -0,0 +1,53 @@ +XCOMM $XFree86$ + +#include "../../Xi18nLib.conf" + + EXTRA_INCLUDES = -I../../.. + SRCS = imCallbk.c imDefFlt.c imDefIc.c \ + imDefIm.c imDefLkup.c imDispch.c imEvToWire.c \ + imExten.c imImSw.c imInsClbk.c imInt.c \ + imLcFlt.c imLcGIc.c imLcIc.c imLcIm.c imLcLkup.c \ + imLcPrs.c imLcSIc.c \ + imRm.c imRmAttr.c \ + imThaiFlt.c imThaiIc.c imThaiIm.c \ + imTrX.c imTransR.c imTrans.c + OBJS = ${SRCS:.c=.o} + + CONN_DEFINES = ConnectionFlags + XTRANS_XIM_DEFINES = -DXIM_t -DTRANS_CLIENT + REQUIREDLIBS = SharedXlibi18nReqs + +LinkSourceFile(imCallbk.c, ../../..) +LinkSourceFile(imDefFlt.c, ../../..) +LinkSourceFile(imDefIc.c, ../../..) +LinkSourceFile(imDefIm.c, ../../..) +LinkSourceFile(imDefLkup.c, ../../..) +LinkSourceFile(imDispch.c, ../../..) +LinkSourceFile(imEvToWire.c, ../../..) +LinkSourceFile(imExten.c, ../../..) +LinkSourceFile(imImSw.c, ../../..) +LinkSourceFile(imInsClbk.c, ../../..) +LinkSourceFile(imInt.c, ../../..) +LinkSourceFile(imLcFlt.c, ../../..) +LinkSourceFile(imLcGIc.c, ../../..) +LinkSourceFile(imLcIc.c, ../../..) +LinkSourceFile(imLcIm.c, ../../..) +LinkSourceFile(imLcLkup.c, ../../..) +LinkSourceFile(imLcPrs.c, ../../..) +LinkSourceFile(imLcSIc.c, ../../..) +LinkSourceFile(imThaiFlt.c, ../../..) +LinkSourceFile(imThaiIc.c, ../../..) +LinkSourceFile(imThaiIm.c, ../../..) +LinkSourceFile(imRm.c, ../../..) +LinkSourceFile(imRmAttr.c, ../../..) +LinkSourceFile(imTrX.c, ../../..) +LinkSourceFile(imTransR.c, ../../..) +LinkSourceFile(imTrans.c, ../../..) + +SpecialCLibObjectRule(imTransR,$(ICONFIGFILES),$(CONN_DEFINES) $(XTRANS_XIM_DEFINES)) +SpecialCLibObjectRule(imTrans,$(ICONFIGFILES),$(CONN_DEFINES) $(XTRANS_XIM_DEFINES)) +#if BuildXKBlib +SpecialCLibObjectRule(imConv,$(ICONFIGFILES),$(XKB_DEFINES)) +#endif + +Xi18nLibraryTarget(ximcp) diff --git a/nx-X11/lib/X11/xlibi18n/im/ximcp/Ximcp.mapfile b/nx-X11/lib/X11/xlibi18n/im/ximcp/Ximcp.mapfile new file mode 100644 index 000000000..ab2f1a30f --- /dev/null +++ b/nx-X11/lib/X11/xlibi18n/im/ximcp/Ximcp.mapfile @@ -0,0 +1,6 @@ +{ + local: + *; + global: + _XimOpenIM; +}; diff --git a/nx-X11/lib/X11/xlibi18n/lc/Imakefile b/nx-X11/lib/X11/xlibi18n/lc/Imakefile new file mode 100644 index 000000000..a4eaeeb6f --- /dev/null +++ b/nx-X11/lib/X11/xlibi18n/lc/Imakefile @@ -0,0 +1,10 @@ +XCOMM $XConsortium: Imakefile,v 1.27 94/04/07 15:01:48 rws Exp $ +#define IHaveSubdirs +#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" + +SUBDIRS = gen def Utf8 xlocale + +MakeSubdirs($(SUBDIRS)) +DependSubdirs($(SUBDIRS)) +MakeLintLibSubdirs($(LINTSUBDIRS)) +MakeLintSubdirs($(LINTSUBDIRS),install.ln,install.ln) diff --git a/nx-X11/lib/X11/xlibi18n/lc/Utf8/Imakefile b/nx-X11/lib/X11/xlibi18n/lc/Utf8/Imakefile new file mode 100644 index 000000000..9ba460bdb --- /dev/null +++ b/nx-X11/lib/X11/xlibi18n/lc/Utf8/Imakefile @@ -0,0 +1,13 @@ +XCOMM $XFree86$ + +#include "../../Xi18nLib.conf" + + EXTRA_INCLUDES = -I../../.. + XI18NLIBNAME = xlibi18n + SRCS = lcUTF8Load.c + OBJS = ${SRCS:.c=.o} + REQUIREDLIBS = SharedXlibi18nReqs + +LinkSourceFile(lcUTF8Load.c, ../../..) + +Xi18nLibraryTarget(xlcUTF8Load) diff --git a/nx-X11/lib/X11/xlibi18n/lc/def/Imakefile b/nx-X11/lib/X11/xlibi18n/lc/def/Imakefile new file mode 100644 index 000000000..2188d237b --- /dev/null +++ b/nx-X11/lib/X11/xlibi18n/lc/def/Imakefile @@ -0,0 +1,13 @@ +XCOMM $XFree86$ + +#include "../../Xi18nLib.conf" + + EXTRA_INCLUDES = -I../../.. + XI18NLIBNAME = xlcDef + SRCS = lcDefConv.c + OBJS = ${SRCS:.c=.o} + REQUIREDLIBS = SharedXlibi18nReqs + +LinkSourceFile(lcDefConv.c, ../../..) + +Xi18nLibraryTarget(xlcDef) diff --git a/nx-X11/lib/X11/xlibi18n/lc/def/Xlc.mapfile b/nx-X11/lib/X11/xlibi18n/lc/def/Xlc.mapfile new file mode 100644 index 000000000..ce4fc69bd --- /dev/null +++ b/nx-X11/lib/X11/xlibi18n/lc/def/Xlc.mapfile @@ -0,0 +1,6 @@ +{ + local: + *; + global: + _XlcDefaultLoader; +}; diff --git a/nx-X11/lib/X11/xlibi18n/lc/gen/Imakefile b/nx-X11/lib/X11/xlibi18n/lc/gen/Imakefile new file mode 100644 index 000000000..7f54ff1b3 --- /dev/null +++ b/nx-X11/lib/X11/xlibi18n/lc/gen/Imakefile @@ -0,0 +1,13 @@ +XCOMM $XFree86$ + +#include "../../Xi18nLib.conf" + + EXTRA_INCLUDES = -I../../.. + XI18NLIBNAME = xlibi18n + SRCS = lcGenConv.c + OBJS = ${SRCS:.c=.o} + REQUIREDLIBS = SharedXlibi18nReqs + +LinkSourceFile(lcGenConv.c, ../../..) + +Xi18nLibraryTarget(xlibi18n) diff --git a/nx-X11/lib/X11/xlibi18n/lc/gen/Xlc.mapfile b/nx-X11/lib/X11/xlibi18n/lc/gen/Xlc.mapfile new file mode 100644 index 000000000..cd6ba7569 --- /dev/null +++ b/nx-X11/lib/X11/xlibi18n/lc/gen/Xlc.mapfile @@ -0,0 +1,6 @@ +{ + local: + *; + global: + _XlcGenericLoader; +}; diff --git a/nx-X11/lib/X11/xlibi18n/lc/xlocale/Imakefile b/nx-X11/lib/X11/xlibi18n/lc/xlocale/Imakefile new file mode 100644 index 000000000..1ece955fc --- /dev/null +++ b/nx-X11/lib/X11/xlibi18n/lc/xlocale/Imakefile @@ -0,0 +1,15 @@ +XCOMM $XFree86$ + +#include "../../Xi18nLib.conf" + + EXTRA_INCLUDES = -I../../.. + XI18NLIBNAME = xlocale + SRCS = lcEuc.c lcSjis.c lcJis.c + OBJS = ${SRCS:.c=.o} + REQUIREDLIBS = SharedXlibi18nReqs + +LinkSourceFile(lcEuc.c, ../../..) +LinkSourceFile(lcSjis.c, ../../..) +LinkSourceFile(lcJis.c, ../../..) + +Xi18nLibraryTarget(xlocale) diff --git a/nx-X11/lib/X11/xlibi18n/om/Imakefile b/nx-X11/lib/X11/xlibi18n/om/Imakefile new file mode 100644 index 000000000..fc8335e9a --- /dev/null +++ b/nx-X11/lib/X11/xlibi18n/om/Imakefile @@ -0,0 +1,10 @@ +XCOMM $XConsortium: Imakefile,v 1.27 94/04/07 15:01:48 rws Exp $ +#define IHaveSubdirs +#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" + +SUBDIRS = generic + +MakeSubdirs($(SUBDIRS)) +DependSubdirs($(SUBDIRS)) +MakeLintLibSubdirs($(LINTSUBDIRS)) +MakeLintSubdirs($(LINTSUBDIRS),install.ln,install.ln) diff --git a/nx-X11/lib/X11/xlibi18n/om/generic/Imakefile b/nx-X11/lib/X11/xlibi18n/om/generic/Imakefile new file mode 100644 index 000000000..70e009be6 --- /dev/null +++ b/nx-X11/lib/X11/xlibi18n/om/generic/Imakefile @@ -0,0 +1,21 @@ +XCOMM $XFree86$ + +#include "../../Xi18nLib.conf" + + EXTRA_INCLUDES = -I../../.. + SRCS = omDefault.c omGeneric.c omImText.c omText.c \ + omTextEsc.c omTextExt.c omTextPer.c omXChar.c + + OBJS = ${SRCS:.c=.o} + REQUIREDLIBS = SharedXlibi18nReqs + +LinkSourceFile(omDefault.c, ../../..) +LinkSourceFile(omGeneric.c, ../../..) +LinkSourceFile(omImText.c, ../../..) +LinkSourceFile(omText.c, ../../..) +LinkSourceFile(omTextEsc.c, ../../..) +LinkSourceFile(omTextExt.c, ../../..) +LinkSourceFile(omTextPer.c, ../../..) +LinkSourceFile(omXChar.c, ../../..) + +Xi18nLibraryTarget(xomGeneric) diff --git a/nx-X11/lib/X11/xlibi18n/om/generic/Xom.mapfile b/nx-X11/lib/X11/xlibi18n/om/generic/Xom.mapfile new file mode 100644 index 000000000..8b710460f --- /dev/null +++ b/nx-X11/lib/X11/xlibi18n/om/generic/Xom.mapfile @@ -0,0 +1,6 @@ +{ + local: + *; + global: + _XomGenericOpenOM; +}; |