quakeforge-old/Makefile.in

65 lines
1.5 KiB
Makefile
Raw Normal View History

SHELL = @SHELL@
srcdir = @srcdir@
top_builddir = .
HAVE_UDP = @HAVE_UDP@
ifeq ($(HAVE_UDP),yes)
SUBDIRS = common qw_client qw_server uquake
else
SUBDIRS = common uquake
endif
DESTDIR =
all: Makefile
@for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@ || exit; \
done
distclean:
2000-03-06 13:41:55 +00:00
rm -f config.cache config.log config.status Makefile
rm -f common/config.h
2000-03-14 03:39:39 +00:00
rm -f rpm/{rpmmacros,build_rpm,quakeforge-*.tar.gz,quakeforge.spec}
2000-03-25 12:26:46 +00:00
rm -rf rpm/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
find . -name \*~ | xargs rm -f
find . -name \*.bak | xargs rm -f
2000-01-19 10:41:18 +00:00
find . -name '.#*' | xargs rm -f
find . -name '#*#' | xargs rm -f
find . -name core -type f | xargs rm -f
rm -rf targets
2000-03-14 03:39:39 +00:00
rm -rf rpm/{BUILD,SPECS,RPMS,SOURCES,SRPMS}
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@ || exit; \
done
clean-autoconf mrproper: distclean
2000-03-06 13:41:55 +00:00
rm -f common/config.h.in Rules.mk
rm -f configure
%:
@for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@ || exit; \
2000-01-04 04:38:05 +00:00
done
changelog:
2000-03-08 11:24:08 +00:00
./tools/cvs2cl/cvs2cl.pl
# Code to automatically re-configure
config.status: $(srcdir)/configure
$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/acconfig.h
(cd $(srcdir) && ./bootstrap || true)
CONFIG_SRC = Makefile.in Rules.mk.in qw_client/Makefile.in \
qw_server/Makefile.in uquake/Makefile.in common/Makefile.in \
rpm/build_rpm.in rpm/quakeforge.spec.in
$(patsubst %.in,%,$(CONFIG_SRC)): $(srcdir)/configure $(patsubst %.in,$(srcdir)/%.in,$(CONFIG_SRC))
$(SHELL) ./config.status --recheck
$(SHELL) ./config.status