e2fsprogs/util/Makefile.in

49 lines
918 B
Makefile

#
# Standard e2fsprogs prologue....
#
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
top_builddir = ..
my_dir = util
INSTALL = @INSTALL@
SRCS = $(srcdir)/subst.c
@MCONFIG@
.c.o:
$(BUILD_CC) -c $(ALL_CFLAGS) $< -o $@
PROGS= subst
all:: $(PROGS) gen-tarball
subst: subst.o
$(BUILD_CC) $(ALL_LDFLAGS) -o subst subst.o
gen-tarball: $(srcdir)/gen-tarball.in $(top_builddir)/config.status
cd $(top_builddir); CONFIG_FILES=util/gen-tarball ./config.status
chmod +x gen-tarball
tarballs: gen-tarball
sh gen-tarball debian
sh gen-tarball all
sh gen-tarball subset
clean:
$(RM) -f $(PROGS) \#* *.s *.o *.a *~ core *.tar.gz gen-tarball
mostlyclean: clean
distclean: clean
$(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
# +++ Dependency line eater +++
#
# Makefile dependencies follow. This must be the last section in
# the Makefile.in file
#
subst.o: $(srcdir)/subst.c