2014-11-02 15:50:08 +01:00
|
|
|
SUBDIRS = icons man src
|
2016-04-11 18:34:27 +02:00
|
|
|
docdir ?= $(datadir)/doc/$(PACKAGE)
|
2007-10-29 22:38:52 +01:00
|
|
|
|
2016-02-24 20:27:08 +01:00
|
|
|
EXTRA_DIST = AUTHORS COPYING ChangeLog INFO INSTALL NEWS README.md README_dev_photorec.txt THANKS compile.sh \
|
2011-04-03 17:37:59 +02:00
|
|
|
progsreiserfs-journal.patch progsreiserfs-file-read.patch \
|
2009-07-16 09:08:18 +02:00
|
|
|
darwin/readme_mac_powerpc.txt darwin/readme_mac_intel.txt \
|
2014-10-12 16:51:07 +02:00
|
|
|
documentation.html \
|
2008-02-01 00:56:40 +01:00
|
|
|
dos/readme.txt \
|
2007-10-29 22:38:52 +01:00
|
|
|
linux/testdisk.spec.in \
|
2014-11-02 15:51:08 +01:00
|
|
|
linux/qphotorec.desktop \
|
2013-05-19 19:33:26 +02:00
|
|
|
src/icon_ph.rc src/icon_qph.rc src/icon_tst.rc \
|
|
|
|
src/photorec_64x64.png \
|
|
|
|
src/gnome/README \
|
|
|
|
src/gnome/application-exit.png \
|
2014-07-21 18:32:27 +02:00
|
|
|
src/gnome/application-x-cd-image.png \
|
2013-05-19 19:33:26 +02:00
|
|
|
src/gnome/drive-harddisk.png \
|
|
|
|
src/gnome/folder.png \
|
|
|
|
src/gnome/go-next.png \
|
2013-05-22 08:56:29 +02:00
|
|
|
src/gnome/go-previous.png \
|
2014-07-21 18:32:27 +02:00
|
|
|
src/gnome/help-about.png \
|
|
|
|
src/gnome/image-x-generic.png \
|
2016-12-26 20:20:30 +01:00
|
|
|
src/lang/qphotorec.ca.ts \
|
2016-08-28 08:19:20 +02:00
|
|
|
src/lang/qphotorec.es.ts \
|
2016-04-09 17:06:23 +02:00
|
|
|
src/lang/qphotorec.fr.ts \
|
2016-06-05 10:23:52 +02:00
|
|
|
src/lang/qphotorec.it.ts \
|
2016-08-28 08:19:20 +02:00
|
|
|
src/lang/qphotorec.pt.ts \
|
2016-06-14 20:21:50 +02:00
|
|
|
src/lang/qphotorec.ru.ts \
|
2016-06-05 10:23:52 +02:00
|
|
|
src/lang/qphotorec.zh_TW.ts \
|
2013-05-22 08:56:29 +02:00
|
|
|
win/readme.txt win/photorec_win.exe.manifest win/qphotorec_win.exe.manifest \
|
2013-05-19 19:33:26 +02:00
|
|
|
win/testdisk_win.exe.manifest \
|
2017-05-19 14:13:24 +02:00
|
|
|
Android.mk jni/Android.mk \
|
|
|
|
.travis.yml
|
2007-10-29 22:38:52 +01:00
|
|
|
|
|
|
|
install-data-hook:
|
2014-10-12 16:51:07 +02:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
2016-02-24 20:27:08 +01:00
|
|
|
$(INSTALL_DATA) $(top_srcdir)/AUTHORS $(top_srcdir)/ChangeLog $(top_srcdir)/NEWS $(top_srcdir)/README.md $(top_srcdir)/THANKS $(top_srcdir)/documentation.html $(DESTDIR)$(docdir)
|
2014-11-02 15:51:08 +01:00
|
|
|
if USEQT
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(datadir)/applications
|
|
|
|
$(INSTALL_DATA) $(top_srcdir)/linux/qphotorec.desktop $(DESTDIR)$(datadir)/applications
|
|
|
|
endif
|
2007-10-29 22:38:52 +01:00
|
|
|
|
|
|
|
uninstall-hook:
|
2014-10-12 16:51:07 +02:00
|
|
|
rm -rf $(DESTDIR)$(docdir)
|
2014-11-02 15:51:08 +01:00
|
|
|
if USEQT
|
|
|
|
rm -f $(DESTDIR)$(datadir)/applications/qphotorec.desktop
|
|
|
|
endif
|
2007-10-29 22:38:52 +01:00
|
|
|
|
|
|
|
static:
|
2013-05-22 08:07:19 +02:00
|
|
|
rm -f src/testdisk src/testdisk.exe src/photorec src/photorec.exe src/fidentify src/fidentify.exe src/qphotorec src/qphotorec.exe
|
2009-01-04 19:37:13 +01:00
|
|
|
$(MAKE) LDFLAGS="$(LDFLAGS) -static" LIBS="$(PTHREAD_LIBS) $(LIBS)" CFLAGS="$(PTHREAD_CFLAGS) $(CFLAGS)" CXXFLAGS="$(PTHREAD_CFLAGS) $(CXXFLAGS)"
|
2007-10-29 22:38:52 +01:00
|
|
|
|
|
|
|
smallstatic:
|
|
|
|
$(MAKE) static
|
|
|
|
(cd src && $(MAKE) small) || exit 1;
|
|
|
|
|
2009-01-18 15:05:04 +01:00
|
|
|
extras:
|
|
|
|
(cd src && $(MAKE) extras) || exit 1;
|
|
|
|
|
2009-06-11 00:54:12 +02:00
|
|
|
extrasstatic:
|
|
|
|
$(MAKE) LDFLAGS="$(LDFLAGS) -static" LIBS="$(PTHREAD_LIBS) $(LIBS)" CFLAGS="$(PTHREAD_CFLAGS) $(CFLAGS)" CXXFLAGS="$(PTHREAD_CFLAGS) $(CXXFLAGS)" extras
|
|
|
|
|
2020-01-26 20:47:18 +01:00
|
|
|
session_%.framac:
|
|
|
|
(cd src && $(MAKE) $@) || exit 1;
|
2019-09-21 10:08:14 +02:00
|
|
|
|
2020-01-26 20:47:18 +01:00
|
|
|
frama-c-%:
|
|
|
|
(cd src && $(MAKE) $@) || exit 1;
|
2019-09-21 10:08:14 +02:00
|
|
|
|
2019-10-24 19:04:06 +02:00
|
|
|
cppcheck:
|
|
|
|
cppcheck --quiet --enable=all -DHAVE_CONFIG_H -I$(builddir) -I/usr/include $(srcdir)/src
|
|
|
|
|
2007-10-29 22:38:52 +01:00
|
|
|
DISTCLEANFILES = *~ core
|