|
Line 0
Link Here
|
|
|
1 |
--- lib/Xrender/Imakefile.old 2004-04-14 22:56:37.000000000 +0200 |
| 2 |
+++ lib/Xrender/Imakefile 2004-04-15 00:25:32.437497361 +0200 |
| 3 |
@@ -133,6 +133,16 @@ |
| 4 |
|
| 5 |
HEADERS = Xrender.h $(NONSTANDARD_HEADERS) |
| 6 |
|
| 7 |
+SUBSTVARS=prefix="$(PROJECTROOT)" \ |
| 8 |
+ exec_prefix="$(BINDIR)" \ |
| 9 |
+ libdir="$(USRLIBDIR)" \ |
| 10 |
+ includedir="$(INCROOT)" \ |
| 11 |
+ VERSION="0.8.4" \ |
| 12 |
+ X_REQUIRES="" \ |
| 13 |
+ RENDER_CFLAGS="" \ |
| 14 |
+ X_NON_PKG_CFLAGS="" \ |
| 15 |
+ X_NON_PKG_LIBS="-lX11" |
| 16 |
+ |
| 17 |
#include <Library.tmpl> |
| 18 |
|
| 19 |
DependTarget() |
| 20 |
@@ -142,3 +152,14 @@ |
| 21 |
distclean:: clean |
| 22 |
RemoveFile(Makefile) |
| 23 |
#endif |
| 24 |
+ |
| 25 |
+all:: xrender.pc |
| 26 |
+ |
| 27 |
+xrender.pc: xrender.pc.in |
| 28 |
+ RemoveFile($@) |
| 29 |
+ sh ../Xcursor/config-subst $(SUBSTVARS) < xrender.pc.in > $@ |
| 30 |
+ |
| 31 |
+InstallNonExecFile(xrender.pc,$(PROJECTROOT)/libdata/pkgconfig) |
| 32 |
+ |
| 33 |
+clean:: |
| 34 |
+ RemoveFile(xrender.pc) |