all::
+all-static::
+
check::
fullcheck::
@ALL_CMT@ $(MAKE) progs
@ALL_CMT@ $(MAKE) docs
+all-static::
+ $(MAKE) libs
+@ALL_CMT@ $(MAKE) static-progs
+
subs: $(DEP_SUBSTITUTE)
@for i in $(SUBS) ; do if test -d `dirname $$i` ; \
then $(MAKE) $$i || exit $$? ; fi ; done
@(if test -d lib/support ; then cd lib/support && $(MAKE) prof_err.h; fi)
progs: all-progs-recursive
+static-progs: all-static-progs-recursive
libs: all-libs-recursive
all-progs-recursive all-libs-recursive:: subs
uninstall-progs-recursive coverage.txt-progs-recursive:: all-libs-recursive
-@ALL_CMT@all-progs-recursive install-progs-recursive install-strip-progs-recursive \
-@ALL_CMT@ uninstall-progs-recursive coverage.txt-progs-recursive:: all-libs-recursive
+@ALL_CMT@all-progs-recursive all-static-progs-recursive install-progs-recursive \
+@ALL_CMT@ install-strip-progs-recursive uninstall-progs-recursive \
+@ALL_CMT@ coverage.txt-progs-recursive:: all-libs-recursive
@ALL_CMT@ @for subdir in $(PROG_SUBDIRS); do \
@ALL_CMT@ if test -d $$subdir ; then \
@ALL_CMT@ target=`echo $@|$(SED) 's/-progs-recursive//'`; \
@PROFILE_CMT@all:: e2fsck.profiled
+all-static:: e2fsck.static
+
e2fsck: $(OBJS) $(DEPLIBS)
$(E) " LD $@"
$(Q) $(LD) $(ALL_LDFLAGS) $(RDYNAMIC) -o e2fsck $(OBJS) $(LIBS)
@LINUX_CMT@E4CRYPT_MAN= e4crypt.8
@IMAGER_CMT@E2IMAGE_PROG= e2image
+@IMAGER_CMT@E2IMAGE_STATIC= e2image.static
@IMAGER_CMT@E2IMAGE_MAN= e2image.8
@UUIDD_CMT@UUIDD_PROG= uuidd
+@UUIDD_CMT@UUIDD_STATIC= uuidd.static
@UUIDD_CMT@UUIDD_MAN= uuidd.8
@UUIDD_CMT@UUIDD_PROFILED= uuidd.profiled
@BLKID_CMT@BLKID_PROG= blkid
+@BLKID_CMT@BLKID_STATIC= blkid.static
@BLKID_CMT@BLKID_MAN= blkid.8
@BLKID_CMT@FINDFS_LINK= findfs
all:: profiled $(SPROGS) $(UPROGS) $(USPROGS) $(SMANPAGES) $(UMANPAGES) \
$(FMANPAGES) $(LPROGS) $(E4DEFRAG_PROG) $(E4CRYPT_PROGS) e2fuzz
+all-static:: $(E2IMAGE_STATIC) $(UUIDD_STATIC) $(BLKID_STATIC) \
+ dumpe2fs.static mke2fs.static tune2fs.static
+
@PROFILE_CMT@all:: tune2fs.profiled blkid.profiled e2image.profiled \
e2undo.profiled mke2fs.profiled dumpe2fs.profiled fsck.profiled \
logsave.profiled filefrag.profiled uuidgen.profiled $(UUIDD_PROFILED) \
all-yes: @MAINTAINER_CMT@stamp-po
all-no:
+all-static:
+depend:
# stamp-po is a timestamp denoting the last time at which the CATALOGS have
# been loosely updated. Its purpose is that when a developer or translator
all:: $(PROGS) $(TEST_PROGS) $(MANPAGES)
+all:: resize2fs.static
+
resize2fs: $(RESIZE_OBJS) $(DEPLIBS)
$(E) " LD $@"
$(Q) $(CC) $(ALL_LDFLAGS) -o resize2fs $(RESIZE_OBJS) $(LIBS)