#
-# Version $Id$
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
#
@MCOMMON@
.PATH: .
# one up
-basedir = ..
+basedir = @BUILD_DIR@
# top dir
-topdir = ..
+topdir = @BUILD_DIR@
# this dir relative to top dir
thisdir = src
cd $(topdir) \
&& CONFIG_FILES=$(thisdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
clean:
@$(RMF) core core.* a.out *.o *.bak *~ *.intpro *.extpro 1 2 3
- (cd gnome-console; $(MAKE) clean)
- (cd gnome2-console; $(MAKE) clean)
+ @$(RMF) AUTHORS ChangeLog Makefile.am NEWS README acconfig.h autogen.sh
+ @$(RMF) configure.in stamp.h stamp-h.in
+ @$(RMF) -r po
realclean: clean
@$(RMF) tags
distclean: realclean
if test $(srcdir) = .; then $(MAKE) realclean; fi
- @(cd $(srcdir); $(RMF) Makefile)
+ @(cd $(srcdir) && $(RMF) Makefile)
+ @$(RMF) config.h host.h
+
+devclean: realclean
+ if test $(srcdir) = .; then $(MAKE) realclean; fi
+ @(cd $(srcdir) && $(RMF) Makefile)
@$(RMF) config.h host.h
- @$(RMF) -r CVS
install: