Commit 1b6b3b65 authored by Keith Packard's avatar Keith Packard
Browse files

Remove Imakefile

parent 9e1af99b
XCOMM $XFree86: xc/lib/fontconfig/Imakefile,v 1.9 2002/11/21 16:53:00 keithp Exp $
#define IHaveSubdirs
#define PassCDebugFlags
LINTSUBDIRS=src fc-cache fc-list
SUBDIRS=fontconfig $(LINTSUBDIRS)
FONTCONFIG_REVISION=1
#ifndef FontconfigFontsConfDir
#if NothingOutsideProjectRoot
#define FontconfigFontsConfDir $(PROJECTROOT)/etc/fonts
#else
#define FontconfigFontsConfDir /etc/fonts
#endif
#endif
FONTCONFIGFONTSCONFDIR=FontconfigFontsConfDir
#ifdef DarwinArchitecture
MACFONTDIRS = ~/Library/Fonts /Library/Fonts /Network/Library/Fonts \
/System/Library/Fonts
#endif
#if NothingOutsideProjectRoot
FONTDIRS=$(FONTDIR)
#else
FONTDIRS=/usr/share/fonts $(FONTDIR) $(MACFONTDIRS)
#endif
SUBSTVARS=prefix=$(PROJECTROOT) \
exec_prefix=$(BINDIR) \
libdir=$(USRLIBDIR) \
includedir=$(INCROOT) \
PACKAGE_VERSION=$(SOFONTCONFIGREV).$(FONTCONFIG_REVISION)
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
MakeLintLibSubdirs($(LINTSUBDIRS))
MakeLintSubdirs($(LINTSUBDIRS),install.ln,install.ln)
#ifndef InstallNamedTargetBackup
#define InstallNamedTargetBackup(step,srcname,flags,dest,dstname) @@\
step:: srcname @@\
MakeDir($(DESTDIR)dest) @@\
MoveToBakFile($(DESTDIR)dest/dstname) @@\
$(INSTALL) $(INSTALLFLAGS) flags srcname $(DESTDIR)dest/dstname
#endif /* InstallNamedTargetBackup */
#ifndef InstallNonExecFileBackup
#define InstallNonExecFileBackup(file,dest) @@\
InstallNamedTargetBackup(install,file,$(INSTDATFLAGS),dest,file)
#endif /* InstallNonExecFileBackup */
InstallNonExecFileBackup(fonts.conf,$(FONTCONFIGFONTSCONFDIR))
InstallNonExecFile(fonts.dtd,$(FONTCONFIGFONTSCONFDIR))
all:: fonts.conf
fonts.conf: fonts.conf.in
RemoveFile($@)
sh ./setfontdirs $(FONTDIRS)
clean::
RemoveFile(fonts.conf)
all:: fontconfig-config.script
fontconfig-config.script: fontconfig-config.in
RemoveFile($@)
sh config/config-subst $(SUBSTVARS) < fontconfig-config.in > $@
InstallScript(fontconfig-config,$(BINDIR))
clean::
RemoveFile(fontconfig-config.script)
all:: fontconfig.pc
fontconfig.pc: fontconfig.pc.in
RemoveFile($@)
sh config/config-subst $(SUBSTVARS) < fontconfig.pc.in > $@
InstallNonExecFile(fontconfig.pc,$(USRLIBDIR)/pkgconfig)
clean::
RemoveFile(fontconfig.pc)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment