summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar jan.dudek2008-12-17 02:13:51 +0000
committerGravatar jan.dudek2008-12-17 02:13:51 +0000
commitcaa9606b3f4f7d112e19b7f1d9471c76e1f8baf6 (patch)
treed34edd5475463e4594bfddfd1e845c46f9bc9b02
parent6cba6d00481bcc1d003809c9517f935fa490b0f8 (diff)
downloadgdk-pixbuf-psd-caa9606b3f4f7d112e19b7f1d9471c76e1f8baf6.tar.gz
gdk-pixbuf-psd-caa9606b3f4f7d112e19b7f1d9471c76e1f8baf6.tar.bz2
..
git-svn-id: http://gdk-pixbuf-psd.googlecode.com/svn/trunk@10 c5539ac3-5556-0410-9a1f-7faf0b045682
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
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