summaryrefslogtreecommitdiff
path: root/codec/Makefile.am
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2010-10-05 10:33:15 +0000
committerAntonin Descampe <antonin@gmail.com>2010-10-05 10:33:15 +0000
commit3caa4f8f4f086e610aa5ee597f673a2c78f8b848 (patch)
tree1c9c9af14c2509d76bc5234a742987751efec2df /codec/Makefile.am
parent61595fc656233d0888ebd085c26ad5e2d83749ef (diff)
Added files to let people build openjpeg with configure tools ; Added makefiles to let people manually build openjpeg on *nix platforms ; Removed obsolete Makefiles ; Renamed dirent.h to windirent.h ; Made optional the PNG, TIFF, and LCMS support in CMake files ; Added opj_config* files to configure openjpeg before building it (opj_config.h generated by configure, cmake, or manually by the user) ; Renamed this file from ChangeLog to CHANGES ; Renamed License.txt to LICENSE ; Updated README files ; Added INSTALL and LICENSE files ; Added man pages
Diffstat (limited to 'codec/Makefile.am')
-rw-r--r--codec/Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/codec/Makefile.am b/codec/Makefile.am
new file mode 100644
index 00000000..9e36582a
--- /dev/null
+++ b/codec/Makefile.am
@@ -0,0 +1,21 @@
+#jp3d/codec/
+
+USERLIBS =
+INCLUDES = -I. -I../libjp3dvm
+CFLAGS = -Wall $(INCLUDES)
+
+bin_PROGRAMS = jp3d_to_volume volume_to_jp3d
+LDADD = $(USERLIBS) ../libjp3dvm/libopenjp3dvm.la
+
+jp3d_to_volume_SOURCES = getopt.c convert.c jp3d_to_volume.c
+
+volume_to_jp3d_SOURCES = getopt.c convert.c volume_to_jp3d.c
+
+REPBIN=$(bin_PROGRAMS)
+
+all-local:
+ $(INSTALL) -d ../../bin
+ $(INSTALL) $(bin_PROGRAMS) ../../bin
+ @(for f in ${REPBIN} ; do \
+ echo "Installing: ${prefix}/bin/$$f" >> ../.report.txt ; \
+ done)