diff options
Diffstat (limited to 'media-libs/openjpeg/files/openjpeg-1.3-r3-codec-Makefile')
-rw-r--r-- | media-libs/openjpeg/files/openjpeg-1.3-r3-codec-Makefile | 22 |
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)' |