summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am6
-rw-r--r--src/Makefile.am4
2 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 7c235ca..0bfd4df 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,7 +24,7 @@ uninstall-hook:
rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)
static:
- rm -f src/testdisk src/photorec src/testdisk.exe src/photorec.exe
+ rm -f src/testdisk src/testdisk.exe src/photorec src/photorec.exe src/fidentify src/fidentify.exe
$(MAKE) LDFLAGS="$(LDFLAGS) -static" LIBS="$(PTHREAD_LIBS) $(LIBS)" CFLAGS="$(PTHREAD_CFLAGS) $(CFLAGS)" CXXFLAGS="$(PTHREAD_CFLAGS) $(CXXFLAGS)"
smallstatic:
@@ -34,4 +34,8 @@ smallstatic:
extras:
(cd src && $(MAKE) extras) || exit 1;
+extrasstatic:
+# rm -f src/fidentify src/fidentify.exe
+ $(MAKE) LDFLAGS="$(LDFLAGS) -static" LIBS="$(PTHREAD_LIBS) $(LIBS)" CFLAGS="$(PTHREAD_CFLAGS) $(CFLAGS)" CXXFLAGS="$(PTHREAD_CFLAGS) $(CXXFLAGS)" extras
+
DISTCLEANFILES = *~ core
diff --git a/src/Makefile.am b/src/Makefile.am
index 1a58cb9..aebdd5c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -10,8 +10,8 @@ if USEQT
QPHOTOREC=qphotorec
endif
-sbin_PROGRAMS = testdisk photorec $(QPHOTOREC)
-EXTRA_PROGRAMS = fidentify
+sbin_PROGRAMS = testdisk photorec fidentify $(QPHOTOREC)
+EXTRA_PROGRAMS =
base_C = autoset.c common.c crc.c ewf.c fnctdsk.c hdaccess.c hdcache.c hdwin32.c hidden.c hpa_dco.c intrf.c log.c log_part.c misc.c msdos.c parti386.c partgpt.c partmac.c partsun.c partnone.c partxbox.c io_redir.c ntfs_io.c ntfs_utl.c partauto.c sudo.c unicode.c win32.c
base_H = alignio.h autoset.h common.h crc.h ewf.h fnctdsk.h hdaccess.h hdwin32.h hidden.h guid_cmp.h guid_cpy.h hdcache.h hpa_dco.h intrf.h lang.h log.h log_part.h misc.h types.h io_redir.h msdos.h ntfs_utl.h parti386.h partgpt.h partmac.h partsun.h partxbox.h partauto.h sudo.h unicode.h win32.h