summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-03-20 18:11:50 +0000
committerMike Frysinger <vapier@gentoo.org>2010-03-20 18:11:50 +0000
commit9688719c574f40ba26cd9f3c3fae6925501003ce (patch)
treec5fc577b8d23cbef4036a0a94b23044c05b6c2f6 /media-libs/openjpeg/files
parentVersion bump per 309845 (diff)
downloadgentoo-2-9688719c574f40ba26cd9f3c3fae6925501003ce.tar.gz
gentoo-2-9688719c574f40ba26cd9f3c3fae6925501003ce.tar.bz2
gentoo-2-9688719c574f40ba26cd9f3c3fae6925501003ce.zip
Fix stdbool.h/ppc+altivec issues #305333 by Leo Souza and clean up the build system in general.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/openjpeg/files')
-rw-r--r--media-libs/openjpeg/files/openjpeg-1.3-r3-codec-Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-libs/openjpeg/files/openjpeg-1.3-r3-codec-Makefile b/media-libs/openjpeg/files/openjpeg-1.3-r3-codec-Makefile
new file mode 100644
index 000000000000..131614ccb100
--- /dev/null
+++ b/media-libs/openjpeg/files/openjpeg-1.3-r3-codec-Makefile
@@ -0,0 +1,22 @@
+# Makefile for the main OpenJPEG codecs: j2k_to_image and image_to_j2k
+
+CPPFLAGS += -I../libopenjpeg
+LDLIBS += -lopenjpeg -ltiff
+LDFLAGS += -L..
+
+PREFIX = /usr
+INSTALL_BINDIR = $(PREFIX)/bin
+
+all: j2k_to_image image_to_j2k
+
+common = index.o convert.o #compat/getopt.o
+
+j2k_to_image: j2k_to_image.o ${common}
+image_to_j2k: image_to_j2k.o ${common}
+
+clean:
+ rm -f *.o j2k_to_image image_to_j2k
+
+install: all
+ install -d '$(DESTDIR)$(INSTALL_BINDIR)'
+ install -m 755 j2k_to_image image_to_j2k '$(DESTDIR)$(INSTALL_BINDIR)'