! : changed
+ : added
+October 18, 2010
+! [szukw000]
+ doc/Makefile.am
+ doc/Makefile.nix
+ jp3d/Makefile.nix
+ jpwl/Makefile.nix
+ Makefile.nix
+ config.nix
+
October 17, 2010
- [szukw000] doc/man/ : directory removed
! [szukw000]
ifeq ($(WITH_JP3D),yes)
make -C jp3d -f Makefile.nix install
endif
- ldconfig
+ $(LDCONFIG)
make -C doc -f Makefile.nix install
ifeq ($(WITH_JPWL),yes)
jpwl-install: jpwl-all
make -C jpwl -f Makefile.nix install
- ldconfig
+ $(LDCONFIG)
jpwl-clean:
make -C jpwl -f Makefile.nix clean
jp3d-install: jp3d-all
make -C jp3d -f Makefile.nix install
- ldconfig
+ $(LDCONFIG)
jp3d-clean:
make -C jp3d -f Makefile.nix clean
(cd $(DESTDIR)$(INSTALL_LIBDIR) && \
rm -f $(LIBNAME).so $(LIBNAME).so.$(MAJOR).$(MINOR) $(SHAREDLIB) )
endif
- ldconfig
+ $(LDCONFIG)
rm -f $(DESTDIR)$(prefix)/include/openjpeg.h
rm -rf $(DESTDIR)$(INSTALL_INCLUDE)
make -C codec -f Makefile.nix uninstall
JP3D_MINOR = 3
JP3D_BUILD = 0
-prefix=/usr/local/OPJ646
+prefix=/usr/local
CC = gcc
-
-#Set this to yes if you want to compile/install shared libs.
+LDCONFIG = /sbin/ldconfig
+#
+#Set this to no if you do no want to compile/install shared libs.
ENABLE_SHARED = yes
#
#Set to yes if you BOTH have the library AND the header
#==== HAVE YOU CREATED opj_config.h FROM opj_config.h.in.user ? ====
#==== SHOULD BE IN SYNC WITH opj_config.h ====
WITH_LCMS1 = no
-WITH_LCMS2 = yes
-WITH_PNG = yes
-WITH_TIFF = yes
+WITH_LCMS2 = no
+WITH_PNG = no
+WITH_TIFF = no
#
# Set to yes if you want compile/install
# jpwl libraries/binaries
# jp3d libraries/binaries
-WITH_JPWL = yes
-WITH_JP3D = yes
+WITH_JPWL = no
+WITH_JP3D = no
#
#Set to yes if you have doxygen installed
#Set to no if doxygen is missing.
-HAS_DOXYGEN = yes
+HAS_DOXYGEN = no
#Check whether these paths are correct; change them appropiatly.
LCMS1_INCLUDE = -I/usr/include
@echo "Installing: j2k_dump.1 ${mandir}/man1" >> .report.txt
@echo "Installing: libopenjpeg.3 ${mandir}/man3" >> .report.txt
@echo "Installing: LICENSE CHANGES $(doc_dir)" >> .report.txt
+ cp man/man1/* .
+ cp man/man3/* .
install-data-hook:
$(INSTALL) -d $(doc_dir)
gzip -f image_to_j2k.1 j2k_to_image.1 j2k_dump.1 libopenjpeg.3
cp image_to_j2k.1.gz j2k_to_image.1.gz j2k_dump.1.gz ${mandir}/man1
cp libopenjpeg.3.gz ${mandir}/man3
- gunzip *\.gz
+ $(RM) *\.gz
if with_libjpwl
(cd ${mandir}/man1 && \
$(LN_S) image_to_j2k.1.gz JPWL_image_to_j2k.1.gz && \
@echo "Installing: j2k_dump.1 ${mandir}/man1" >> .report.txt
@echo "Installing: libopenjpeg.3 ${mandir}/man3" >> .report.txt
@echo "Installing: LICENSE CHANGES $(doc_dir)" >> .report.txt
+ cp man/man1/* .
+ cp man/man3/* .
install-data-hook:
$(INSTALL) -d $(doc_dir)
gzip -f image_to_j2k.1 j2k_to_image.1 j2k_dump.1 libopenjpeg.3
cp image_to_j2k.1.gz j2k_to_image.1.gz j2k_dump.1.gz ${mandir}/man1
cp libopenjpeg.3.gz ${mandir}/man3
- gunzip *\.gz
+ $(RM) *\.gz
@with_libjpwl_TRUE@ (cd ${mandir}/man1 && \
@with_libjpwl_TRUE@ $(LN_S) image_to_j2k.1.gz JPWL_image_to_j2k.1.gz && \
@with_libjpwl_TRUE@ $(LN_S) j2k_to_image.1.gz JPWL_j2k_to_image.1.gz)
rm -rf html
install:
+ cp man/man1/* .
+ cp man/man3/* .
install -d $(doc_dir)
install -d $(man_dir)/man1 $(man_dir)/man3
ifeq ($(WITH_JPWL),yes)
(cd $(man_dir)/man1 && rm -f image_to_j2k* j2k_to_image* j2k_dump* )
(cd $(man_dir)/man3 && rm -f libopenjpeg* )
gzip -f image_to_j2k.1 j2k_to_image.1 j2k_dump.1 libopenjpeg.3
- cp image_to_j2k.1.gz j2k_to_image.1.gz j2k_dump.1.gz $(man_dir)/man1
- cp libopenjpeg.3.gz $(man_dir)/man3
- gunzip *\.gz
+ cp -f image_to_j2k.1.gz j2k_to_image.1.gz j2k_dump.1.gz $(man_dir)/man1
+ cp -f libopenjpeg.3.gz $(man_dir)/man3
+ rm -f *\.gz
ifeq ($(WITH_JPWL),yes)
(cd $(man_dir)/man1 && \
ln -sf image_to_j2k.1.gz JPWL_image_to_j2k.1.gz && \
(cd $(DESTDIR)$(INSTALL_LIBDIR) && \
ln -sf $(LIBNAME).so.$(JP3D_MAJOR).$(JP3D_MINOR) $(LIBNAME).so )
endif
- ldconfig
+ $(LDCONFIG)
install -d $(DESTDIR)$(INSTALL_INCLUDE)
rm -f $(DESTDIR)$(INSTALL_INCLUDE)/openjpeg.h
install -m 644 -o root -g root libjp3dvm/openjpeg.h \
(cd $(DESTDIR)$(INSTALL_LIBDIR) && \
rm -f $(LIBNAME).so $(LIBNAME).so.$(JP3D_MAJOR).$(JP3D_MINOR) $(SHAREDLIB))
endif
- ldconfig
+ $(LDCONFIG)
rm -f $(DESTDIR)$(prefix)/include/openjpeg3d.h
rm -rf $(DESTDIR)$(INSTALL_INCLUDE)
make -C codec -f Makefile.nix uninstall
(cd $(DESTDIR)$(INSTALL_LIBDIR) && \
ln -sf $(LIBNAME).so.$(MAJOR).$(MINOR) $(LIBNAME).so )
endif
- ldconfig
+ $(LDCONFIG)
install -d $(DESTDIR)$(INSTALL_BIN)
install -m 755 -o root -g root JPWL_j2k_to_image $(DESTDIR)$(INSTALL_BIN)
install -m 755 -o root -g root JPWL_image_to_j2k $(DESTDIR)$(INSTALL_BIN)
(cd $(DESTDIR)$(INSTALL_LIBDIR) && \
rm -f $(LIBNAME).so $(LIBNAME).so.$(MAJOR).$(MINOR) $(SHAREDLIB))
endif
- ldconfig
+ $(LDCONFIG)
rm -f $(DESTDIR)$(INSTALL_BIN)/JPWL_j2k_to_image
rm -f $(DESTDIR)$(INSTALL_BIN)/JPWL_image_to_j2k