]>
Commit | Line | Data |
---|---|---|
9ba056e6 | 1 | diff -Naur xc.orig/lib/Xrender/Imakefile xc/lib/Xrender/Imakefile |
2 | --- xc.orig/lib/Xrender/Imakefile 2004-03-04 18:46:58.000000000 +0100 | |
3 | +++ xc/lib/Xrender/Imakefile 2004-08-19 22:06:20.971964080 +0200 | |
4 | @@ -133,6 +133,16 @@ | |
5 | ||
6 | HEADERS = Xrender.h $(NONSTANDARD_HEADERS) | |
7 | ||
8 | +SUBSTVARS=prefix="$(PROJECTROOT)" \ | |
9 | + exec_prefix="$(BINDIR)" \ | |
10 | + libdir="$(USRLIBDIR)" \ | |
11 | + includedir="$(INCROOT)" \ | |
12 | + VERSION="0.8.4" \ | |
13 | + X_REQUIRES="" \ | |
14 | + RENDER_CFLAGS="" \ | |
15 | + X_NON_PKG_CFLAGS="" \ | |
16 | + X_NON_PKG_LIBS="-lX11 -lXext" | |
17 | + | |
18 | #include <Library.tmpl> | |
19 | ||
20 | DependTarget() | |
21 | @@ -142,3 +152,14 @@ | |
22 | distclean:: clean | |
23 | RemoveFile(Makefile) | |
24 | #endif | |
25 | + | |
26 | +all:: xrender.pc | |
27 | + | |
28 | +xrender.pc: xrender.pc.in | |
29 | + RemoveFile($@) | |
30 | + sh ../Xcursor/config-subst $(SUBSTVARS) < xrender.pc.in > $@ | |
31 | + | |
32 | +InstallNonExecFile(xrender.pc,/usr/lib/pkgconfig) | |
33 | + | |
34 | +clean:: | |
35 | + RemoveFile(xrender.pc) |