diff options
author | Reinhard Tartler <siretart@tauware.de> | 2011-10-10 17:43:39 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-10-10 17:43:39 +0200 |
commit | f4092abdf94af6a99aff944d6264bc1284e8bdd4 (patch) | |
tree | 2ac1c9cc16ceb93edb2c4382c088dac5aeafdf0f /nx-X11/lib/Xpm/Imakefile.X.original | |
parent | a840692edc9c6d19cd7c057f68e39c7d95eb767d (diff) | |
download | nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.gz nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.bz2 nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.zip |
Imported nx-X11-3.1.0-1.tar.gznx-X11/3.1.0-1
Summary: Imported nx-X11-3.1.0-1.tar.gz
Keywords:
Imported nx-X11-3.1.0-1.tar.gz
into Git repository
Diffstat (limited to 'nx-X11/lib/Xpm/Imakefile.X.original')
-rw-r--r-- | nx-X11/lib/Xpm/Imakefile.X.original | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/nx-X11/lib/Xpm/Imakefile.X.original b/nx-X11/lib/Xpm/Imakefile.X.original new file mode 100644 index 000000000..9899fe209 --- /dev/null +++ b/nx-X11/lib/Xpm/Imakefile.X.original @@ -0,0 +1,122 @@ +XCOMM $XFree86: xc/lib/Xpm/Imakefile,v 1.1 1999/01/11 14:40:02 dawes Exp $ + +/* This is a simplified version of the standard Xpm Imakefile */ + +#define DoNormalLib NormalLibXpm +#define DoSharedLib SharedLibXpm +#define DoExtraLib SharedLibXpm +#define DoDebugLib DebugLibXpm +#define DoProfileLib ProfileLibXpm +#define HasSharedData NO +#define LibName Xpm +#define SoRev SOXPMREV +#define IncSubdir X11 + +#ifdef SharedXpmReqs +REQUIREDLIBS = SharedXpmReqs +#endif + +/* + * if your system doesn't provide strcasecmp add -DNEED_STRCASECMP + * if your system doesn't provide strdup add -DNEED_STRDUP + * if your system doesn't provide pipe add -DNO_ZPIPE + * if on your system sprintf doesn't return the number of bytes transmitted + * add -DVOID_SPRINTF + * if you want xpm to try name.xpm.Z and name.xpm.gz when asked to read + * name.xpm , add -DSTAT_ZFILE + */ + +#if defined(LinuxArchitecture) +ZFILEDEF = -DSTAT_ZFILE +#endif +#if defined(UltrixArchitecture) || \ + (defined(MipsArchitecture) && !defined(SGIArchitecture)) +STRDUPDEF = -DNEED_STRDUP +#endif + +#if !HasStrcasecmp +STRCASECMPDEF = -DNEED_STRCASECMP +#endif + +#if defined(SunArchitecture) && !defined(SVR4Architecture) +SPRINTFDEF = -DVOID_SPRINTF +#endif + +#if HasStrlcat +STRLCATDEF = -DHAS_STRLCAT +#endif + +#if HasSnprintf +SNPRINTFDEF = -DHAS_SNPRINTF +#else +SNPRINTFDEF = -Dsnprintf=_XpmSnprintf +SNPRINTFSRCS = snprintf.c +SNPRINTFOBJS = snprintf.o +#endif + +#if defined(Win32Architecture) +ZPIPEDEF = -DNO_ZPIPE +#endif + +DEFINES = $(STRDUPDEF) $(STRCASECMPDEF) $(SPRINTFDEF) $(STRLCATDEF) \ + $(SNPRINTFDEF) $(ZPIPEDEF) $(ZFILEDEF) + +HEADERS = xpm.h + + SRCS = data.c create.c misc.c rgb.c scan.c parse.c hashtab.c \ + CrBufFrI.c CrDatFrP.c CrPFrBuf.c RdFToI.c WrFFrI.c \ + CrBufFrP.c CrIFrBuf.c CrPFrDat.c RdFToP.c WrFFrP.c \ + CrDatFrI.c CrIFrDat.c RdFToDat.c WrFFrDat.c \ + Attrib.c CrIFrP.c CrPFrI.c Image.c Info.c RdFToBuf.c WrFFrBuf.c \ + $(SNPRINTFSRCS) + + OBJS = data.o create.o misc.o rgb.o scan.o parse.o hashtab.o \ + CrBufFrI.o CrDatFrP.o CrPFrBuf.o RdFToI.o WrFFrI.o \ + CrBufFrP.o CrIFrBuf.o CrPFrDat.o RdFToP.o WrFFrP.o \ + CrDatFrI.o CrIFrDat.o RdFToDat.o WrFFrDat.o \ + Attrib.o CrIFrP.o CrPFrI.o Image.o Info.o RdFToBuf.o WrFFrBuf.o \ + $(SNPRINTFOBJS) + + XPMDIR = $(TOP)/extras/Xpm + XPMLIBDIR = $(TOP)/extras/Xpm/lib + + INCLUDES = -I$(XPMLIBDIR) + LINTLIBS = $(LINTXTOLL) $(LINTXLIB) + +#include <Library.tmpl> + +LinkSourceFile(data.c,$(XPMLIBDIR)) +LinkSourceFile(create.c,$(XPMLIBDIR)) +LinkSourceFile(misc.c,$(XPMLIBDIR)) +LinkSourceFile(rgb.c,$(XPMLIBDIR)) +LinkSourceFile(scan.c,$(XPMLIBDIR)) +LinkSourceFile(parse.c,$(XPMLIBDIR)) +LinkSourceFile(hashtab.c,$(XPMLIBDIR)) +LinkSourceFile(CrBufFrI.c,$(XPMLIBDIR)) +LinkSourceFile(CrDatFrP.c,$(XPMLIBDIR)) +LinkSourceFile(CrPFrBuf.c,$(XPMLIBDIR)) +LinkSourceFile(RdFToI.c,$(XPMLIBDIR)) +LinkSourceFile(WrFFrI.c,$(XPMLIBDIR)) +LinkSourceFile(CrBufFrP.c,$(XPMLIBDIR)) +LinkSourceFile(CrIFrBuf.c,$(XPMLIBDIR)) +LinkSourceFile(CrPFrDat.c,$(XPMLIBDIR)) +LinkSourceFile(RdFToP.c,$(XPMLIBDIR)) +LinkSourceFile(WrFFrP.c,$(XPMLIBDIR)) +LinkSourceFile(CrDatFrI.c,$(XPMLIBDIR)) +LinkSourceFile(CrIFrDat.c,$(XPMLIBDIR)) +LinkSourceFile(RdFToDat.c,$(XPMLIBDIR)) +LinkSourceFile(WrFFrDat.c,$(XPMLIBDIR)) +LinkSourceFile(Attrib.c,$(XPMLIBDIR)) +LinkSourceFile(CrIFrP.c,$(XPMLIBDIR)) +LinkSourceFile(CrPFrI.c,$(XPMLIBDIR)) +LinkSourceFile(Image.c,$(XPMLIBDIR)) +LinkSourceFile(Info.c,$(XPMLIBDIR)) +LinkSourceFile(RdFToBuf.c,$(XPMLIBDIR)) +LinkSourceFile(WrFFrBuf.c,$(XPMLIBDIR)) +LinkSourceFile(xpm.h,$(XPMLIBDIR)) + +#if !HasSnprintf +LinkSourceFile(snprintf.c,$(LIBSRC)/misc) +#endif + +DependTarget() |