From caa9606b3f4f7d112e19b7f1d9471c76e1f8baf6 Mon Sep 17 00:00:00 2001 From: jan.dudek Date: Wed, 17 Dec 2008 02:13:51 +0000 Subject: .. git-svn-id: http://gdk-pixbuf-psd.googlecode.com/svn/trunk@10 c5539ac3-5556-0410-9a1f-7faf0b045682 --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4f667b4..6a54008 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,20 @@ CC = gcc CFLAGS=-Wall -std=c99 +DESTDIR= + all: $(CC) $(CFLAGS) io-psd.c -o libpixbufloader-psd.so \ `pkg-config --cflags gtk+-2.0` \ -shared -fpic -DGDK_PIXBUF_ENABLE_BACKEND +clean: + +install: + chmod 644 libpixbufloader-psd.so + mkdir -p $(DESTDIR)/usr/lib/gtk-2.0/2.10.0/loaders/ + cp libpixbufloader-psd.so $(DESTDIR)/usr/lib/gtk-2.0/2.10.0/loaders/ + # and then run the following as root: # gdk-pixbuf-query-loaders libpixbufloader-psd.so >> /etc/gtk-2.0/gdk-pixbuf.loaders -- cgit v1.1-32-gdbae