forked from cgsecurity/testdisk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
60 lines (52 loc) · 2.1 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
SUBDIRS = icons man src
docdir ?= $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = AUTHORS COPYING ChangeLog INFO INSTALL NEWS README.md README_dev_photorec.txt THANKS compile.sh \
progsreiserfs-journal.patch progsreiserfs-file-read.patch \
darwin/readme_mac_powerpc.txt darwin/readme_mac_intel.txt \
documentation.html \
dos/readme.txt \
linux/testdisk.spec.in \
linux/qphotorec.desktop \
src/icon_ph.rc src/icon_qph.rc src/icon_tst.rc \
src/photorec_64x64.png \
src/gnome/README \
src/gnome/application-exit.png \
src/gnome/application-x-cd-image.png \
src/gnome/drive-harddisk.png \
src/gnome/folder.png \
src/gnome/go-next.png \
src/gnome/go-previous.png \
src/gnome/help-about.png \
src/gnome/image-x-generic.png \
src/lang/qphotorec.es.ts \
src/lang/qphotorec.fr.ts \
src/lang/qphotorec.it.ts \
src/lang/qphotorec.pt.ts \
src/lang/qphotorec.ru.ts \
src/lang/qphotorec.zh_TW.ts \
win/readme.txt win/photorec_win.exe.manifest win/qphotorec_win.exe.manifest \
win/testdisk_win.exe.manifest \
Android.mk jni/Android.mk
install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)
$(INSTALL_DATA) $(top_srcdir)/AUTHORS $(top_srcdir)/ChangeLog $(top_srcdir)/NEWS $(top_srcdir)/README.md $(top_srcdir)/THANKS $(top_srcdir)/documentation.html $(DESTDIR)$(docdir)
if USEQT
$(mkinstalldirs) $(DESTDIR)$(datadir)/applications
$(INSTALL_DATA) $(top_srcdir)/linux/qphotorec.desktop $(DESTDIR)$(datadir)/applications
endif
uninstall-hook:
rm -rf $(DESTDIR)$(docdir)
if USEQT
rm -f $(DESTDIR)$(datadir)/applications/qphotorec.desktop
endif
static:
rm -f src/testdisk src/testdisk.exe src/photorec src/photorec.exe src/fidentify src/fidentify.exe src/qphotorec src/qphotorec.exe
$(MAKE) LDFLAGS="$(LDFLAGS) -static" LIBS="$(PTHREAD_LIBS) $(LIBS)" CFLAGS="$(PTHREAD_CFLAGS) $(CFLAGS)" CXXFLAGS="$(PTHREAD_CFLAGS) $(CXXFLAGS)"
smallstatic:
$(MAKE) static
(cd src && $(MAKE) small) || exit 1;
extras:
(cd src && $(MAKE) extras) || exit 1;
extrasstatic:
$(MAKE) LDFLAGS="$(LDFLAGS) -static" LIBS="$(PTHREAD_LIBS) $(LIBS)" CFLAGS="$(PTHREAD_CFLAGS) $(CFLAGS)" CXXFLAGS="$(PTHREAD_CFLAGS) $(CXXFLAGS)" extras
DISTCLEANFILES = *~ core