diff options
author | Stef Walter <stef@thewalter.net> | 2004-04-15 03:14:56 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2004-04-15 03:14:56 +0000 |
commit | 126f1a425776a5ce52fcb8f45d30cf40f09d93e2 (patch) | |
tree | 3fdfb5d79b2dfe478e6ea734db3d0ef9311f3b9e | |
parent | 7a80b56ff1da9ea7ff0b7817213f5c9d09644a65 (diff) |
Some added CVS files and fixes
-rw-r--r-- | .cvsignore | 17 | ||||
-rw-r--r-- | ChangeLog | 0 | ||||
-rw-r--r-- | configure.in | 13 | ||||
-rw-r--r-- | src/.cvsignore | 5 | ||||
-rw-r--r-- | src/Makefile.am | 9 | ||||
-rw-r--r-- | win32/.cvsignore | 4 |
6 files changed, 44 insertions, 4 deletions
@@ -1 +1,16 @@ -trash
\ No newline at end of file +aclocal.m4 +autom4te.cache +compile +config.h +config.h.in* +config.log +config.status +configure +depcomp +install-sh +Makefile +Makefile.in +missing +mkinstalldirs +stamp-* +trash diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/ChangeLog diff --git a/configure.in b/configure.in index 2b5fac7..f81ec93 100644 --- a/configure.in +++ b/configure.in @@ -40,7 +40,6 @@ AC_INIT(scrounge-ntfs, 0.8.1, nielsen@memberwebs.com) AM_INIT_AUTOMAKE(scrounge-ntfs, 0.8.1) LDFLAGS="$LDFLAGS -L/usr/local/lib" -CPPFLAGS="$CPPFLAGS -I/usr/local/include" CFLAGS="$CFLAGS -I/usr/local/include" AC_CONFIG_SRCDIR([src/scrounge.c]) @@ -52,13 +51,23 @@ AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET +# Debug mode +AC_ARG_ENABLE(debug, + AC_HELP_STRING([--enable-debug], + [Compile binaries in debug mode])) + +if test "$enable_debug" = "yes"; then + CFLAGS="$CFLAGS -g -O0 -D_DEBUG=1" + echo "enabling debug compile mode" +fi + # Check for libraries # Checks for header files. AC_HEADER_STDC +AC_CHECK_HEADERS([string.h io.h unistd.h err.h malloc.h sys/time.h stdint.h]) AC_CHECK_HEADERS([stdio.h stddef.h fcntl.h stdlib.h wchar.h assert.h errno.h stdint.h stdarg.h], , [echo "ERROR: Required C header missing"; exit 1]) -AC_CHECK_HEADERS([string.h io.h unistd.h err.h malloc.h sys/time.h stdint.h]) # Checks for typedefs, structures, and compiler characteristics. diff --git a/src/.cvsignore b/src/.cvsignore new file mode 100644 index 0000000..8f6b4a3 --- /dev/null +++ b/src/.cvsignore @@ -0,0 +1,5 @@ +Makefile +Makefile.in +scrounge-ntfs +*.o +.deps diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..be563f5 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,9 @@ +bin_PROGRAMS = scrounge-ntfs + +scrounge_ntfs_SOURCES = compat.c compat.h debug.h drive.h list.c locks.h main.c memref.h \ + misc.c ntfs.c ntfs.h ntfsx.h ntfsx.c posix.c scrounge.c scrounge.h \ + search.c unicode.c usuals.h + +scrounge_ntfs_CFLAGS = -I${top_srcdir} + +EXTRA_DIST = win32.c diff --git a/win32/.cvsignore b/win32/.cvsignore index 55017e7..51f1a96 100644 --- a/win32/.cvsignore +++ b/win32/.cvsignore @@ -1,4 +1,6 @@ win32.ncb win32.plg win32.opt -debug
\ No newline at end of file +debug +Makefile +Makefile.in |