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/freetype2/freetype/config/Imakefile | |
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/freetype2/freetype/config/Imakefile')
-rw-r--r-- | nx-X11/lib/freetype2/freetype/config/Imakefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/nx-X11/lib/freetype2/freetype/config/Imakefile b/nx-X11/lib/freetype2/freetype/config/Imakefile new file mode 100644 index 000000000..c23911208 --- /dev/null +++ b/nx-X11/lib/freetype2/freetype/config/Imakefile @@ -0,0 +1,52 @@ +XCOMM $XdotOrg: xc/lib/freetype2/freetype/config/Imakefile,v 1.4 2005/10/10 01:25:40 alanc Exp $ +XCOMM $XFree86: xc/lib/freetype2/freetype/config/Imakefile,v 1.12 2003/10/24 16:21:17 tsi Exp $ + +FREETYPETOP = $(TOP)/extras/freetype2 +FREETYPESRC = $(FREETYPETOP)/src +FREETYPEINC = $(FREETYPETOP)/include/freetype + +HEADERS= \ + ftconfig.h \ + ftheader.h \ + ftmodule.h \ + ftoption.h \ + ftstdlib.h + +BuildIncludes($(HEADERS),freetype2/freetype/config,../../..) +InstallMultipleFlags($(HEADERS),$(INCDIR)/freetype2/freetype/config,$(INSTINCFLAGS)) + +LinkSourceFile(ftconfig.h,$(FREETYPEINC)/config) +LinkSourceFile(ftheader.h,$(FREETYPEINC)/config) +LinkSourceFile(ftmodule.h,$(FREETYPEINC)/config) +LinkSourceFile(ftoption.h,$(FREETYPEINC)/config) +LinkSourceFile(ftstdlib.h,$(FREETYPEINC)/config) + +XCOMM Build and install a configure-compatible freetype-config + +LinkSourceFile(freetype-config.in,$(FREETYPETOP)/builds/unix) +LinkSourceFile(freetype2.in,$(FREETYPETOP)/builds/unix) + +FREETYPE_VERSION=Freetype2Version + +RPATH_CFLAG = HardCodeLibdirFlag + +CONFIG_SUBST = \ + sed -e s%@prefix@%$(PROJECTROOT)% -e s%@exec_prefix@%$(PROJECTROOT)% \ + -e s%@libdir@%$(USRLIBDIR)%g -e s%@includedir@%$(INCDIR)% \ + -e s%@ft_version@%$(FREETYPE_VERSION)% -e s%@LIBZ@%% \ + -e s%@hardcode_libdir_flag_spec@%$(RPATH_CFLAG)% -e s%@wl@%% + +freetype-config: freetype-config.in + $(CONFIG_SUBST) < freetype-config.in > $@ + +freetype2.pc: freetype2.in + $(CONFIG_SUBST) < freetype2.in > $@ + +includes:: freetype-config freetype2.pc + +InstallNamedProg(freetype-config,freetype-config,$(BINDIR)) +InstallNonExecFile(freetype2.pc,$(USRLIBDIR)/pkgconfig) + +clean:: + RemoveFile(freetype-config) + RemoveFile(freetype2.pc) |