aboutsummaryrefslogtreecommitdiffstats
path: root/util/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* Fix "make clean" and "make distclean"Theodore Ts'o2015-07-011-1/+1
| | | | | | | There were some generated files that weren't getting removed by the clean and distclean targets; fix this. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* misc: create better-packaged static analysis reportsDarrick J. Wong2014-05-111-1/+1
| | | | | | | | Fix some minor bugs relating to passing CFLAGS to cppcheck, and package the cppcheck output into nicer looking reports. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* all: Introduce cppcheck static checking for make C=1Darrick J. Wong2014-03-141-0/+1
| | | | | | | Introduce more static checking via cppcheck. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Add coverage testing using gcovTheodore Ts'o2014-02-231-1/+1
| | | | | | | | | | | | | To check the coverage of e2fsprogs's regression test, do the following: configure --enable-gcov make -j8 ; make -j8 check ; make coverage.txt The coverage information will be the coverage.txt and *.gcov files in the build directories. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* util: fix make dependencies for substTheodore Ts'o2014-01-091-1/+1
| | | | | | | | Now that subst is using config.h, we need to fix its dependencies so that if config.h is missing (i.e., after a "make clean" in the tree) that it is rebuilt by the Makefile rule. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* subst: clean up various coverity nitsTheodore Ts'o2014-01-041-1/+7
| | | | | | | | | | | | | | | Add appropriate error checking for all error returns, and only open each file that we need to manipulate once, to avoid potential time-of-check/time-of-use races. (Not that this is likely for this program, but the result is much more clean.) We also preserve the atime in the case where the file has not changed. Addresses-Coverty-Id: #709537 Addresses-Coverty-Id: #1049150 Addresses-Coverty-Id: #1049151 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* e2fsprogs: add (optional) sparse checking to the buildDarrick J. Wong2013-10-111-0/+1
| | | | | | | | | | Run sparse against source files when building e2fsprogs with 'make C=1'. If instead C=2, it configures basic ext2 types for bitwise checking with sparse, which can help find the (many many) spots where conversion errors are (possibly) happening. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Teach build system to install relative symlinks if requestedTheodore Ts'o2012-05-121-1/+5
| | | | | | | | | Add a configure option, --enable-relative-symlinks, which will use relative symlinks for the ELF shared library files. Addresses-Sourceforge-Bug: #3520767 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Add support for configure --enable-verbose-makecmdsTheodore Ts'o2009-07-021-9/+9
| | | | | | | | | | | | | | | | | Some people don't want to see the concise "kernel-style" make output. This configure option allows build engines that want to see the full set of commands executed by the makefile to get what they want. Most people will find this more distracting than useful, unless they need to debug the Makefiles. (It is not necessary to rerun configure to enable this verbose make output temprarily; if a developer wants to do a quick debug of a directory's makefile, he or she can simply edit the definition of the $(E) and $(Q) variables in the Makefile; instructions can be found in the MCONFIG file which is included in at the beginning of every Makefile.) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix cross-compilation problems when CFLAGS contain target-specific optionsTheodore Ts'o2005-11-091-3/+3
| | | | | | | | | | | | Use BUILD_CCFLAGS and BUILD_LDFLAGS instead of CCFLAGS and LDFLAGS in the build system when building files in the util directory which are needed during the build process. This avoids potential problems when cross-compiling some of the options are not recognized as valid by the host compiler. (Addresses Sourceforge Bug #1261547) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Add new utility program, copy_sparse.c, which is very usefulTheodore Ts'o2005-01-211-1/+6
| | | | | for dealing with large sparse files (such as e2image files).
* Use Linux-kernel-style makefile output to make it easier to Theodore Ts'o2004-11-301-4/+7
| | | | | see errors/warnings.
* Remove gen-tarball when doing "make clean"Theodore Ts'o2003-03-301-1/+1
|
* Move tarball generation functions to util/gen-tarballTheodore Ts'o2003-03-231-2/+11
|
* ChangeLog, Makefile.in:Theodore Ts'o1999-11-191-1/+1
| | | | | | | | | Makefile.in (distclean): Remove TAGS and Makefile.in.old from the source directory. Also, when making the .exclude file for the source_tar_file, exclude those two files as well. Makefile.in (distclean): Remove TAGS and Makefile.in.old from the source directory.
* ChangeLog, MCONFIG.in, configure.in, configure:Theodore Ts'o1999-07-031-2/+2
| | | | | | | | | | | | | | MCONFIG.in (BUILD_CC): configure.in (BUILD_CC): If cross compiling, find the native C compiler and set it to BUILD_CC so that we can successfully build util/subst. ChangeLog, Makefile.in: Makefile.in (subst): Build subst using $(BUILD_CC), since it's a helper program which must be built using the native C compiler during a cross-compilation. Makefile.in: Update dependencies.
* Many files:Theodore Ts'o1997-10-151-0/+39
Use new substitution technology which doesn't depend on shell scripts. (Faster, and better for MS-DOS port!)