## Makefile.am -- an automake template for a Makefile.in file ## Copyright (C) 2019 SEIKO EPSON Corporation ## ## This file is part of the "Image Scan!" build infra-structure. ## ## The "Image Scan!" build infra-structure is free software. ## You can redistribute it and/or modify it under the terms of the GNU ## General Public License as published by the Free Software Foundation; ## either version 2 of the License or at your option any later version. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of FITNESS ## FOR A PARTICULAR PURPOSE or MERCHANTABILITY. ## See the GNU General Public License for more details. ## ## You should have received a verbatim copy of the GNU General Public ## License along with this program; if not, write to: ## ## Free Software Foundation, Inc. ## 59 Temple Place, Suite 330 ## Boston, MA 02111-1307 USA NON_FREE_INCLUDES = \ esmod.hh NON_FREE_FRONTEND_SOLIBS = \ libesmod-i386.so \ libesmod-i386.c2.so \ libesmod-x86_64.c2.so NON_FREE_LICENSES = \ COPYING.EPSON.en.txt \ COPYING.EPSON.ja.txt EXTRA_DIST = \ checksums.md5 \ $(NON_FREE_LICENSES) \ $(NON_FREE_FRONTEND_SOLIBS) \ $(NON_FREE_INCLUDES) V_MAJOR = 2 V_MINOR = 0 V_REV = 0 all: checksum $(NON_FREE_SOLIBS) checksum: $(srcdir)/checksums.md5 @(cd $(&2; \ exit 1;; \ esac; \ $(LN_S) $(srcdir)/libesmod-$${arch}$(PACKAGE_CXX_ABI).so $@ install-exec-local: $(NON_FREE_SOLIBS) $(mkinstalldirs) $(DESTDIR)$(libdir) @list="$(NON_FREE_SOLIBS)"; for nfl in $$list; do \ echo installing $${nfl} in $(libdir)/$${nfl}...; \ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(srcdir)/$${nfl} \ $(DESTDIR)$(libdir)/$${nfl}.$(V_MAJOR).$(V_MINOR).$(V_REV); \ (cd $(DESTDIR)$(libdir) \ && ln -fs $${nfl}.$(V_MAJOR).$(V_MINOR).$(V_REV) $${nfl}.$(V_MAJOR)); \ done uninstall-local: @list="$(NON_FREE_SOLIBS)"; for nfl in $$list; do \ rm -f $(DESTDIR)$(libdir)/$${nfl}.$(V_MAJOR); \ rm -f $(DESTDIR)$(libdir)/$${nfl}.$(V_MAJOR).$(V_MINOR).$(V_REV); \ done endif .PHONY: checksum $(NON_FREE_SOLIBS)