]> jfr.im git - solanum.git/blobdiff - Makefile.in
extensions/m_remove: quote user part messages
[solanum.git] / Makefile.in
index 1fd2fa548d34521b031b9ddba197d8c54ecd34b0..b372c89d5f8d09c79a0a7e7af1730e4639c830e7 100644 (file)
@@ -162,7 +162,7 @@ am__define_uniq_tagged_files = \
 ETAGS = etags
 CTAGS = ctags
 CSCOPE = cscope
-DIST_SUBDIRS = libratbox libltdl src ssld bandb tools modules \
+DIST_SUBDIRS = libratbox libltdl ircd ssld authd bandb tools modules \
        extensions help doc
 am__DIST_COMMON = $(srcdir)/Makefile.in \
        $(top_srcdir)/include/setup.h.in \
@@ -286,10 +286,8 @@ LTLIBOBJS = @LTLIBOBJS@
 LT_CONFIG_H = @LT_CONFIG_H@
 LT_DLLOADERS = @LT_DLLOADERS@
 LT_DLPREOPEN = @LT_DLPREOPEN@
-MAKEDEPEND = @MAKEDEPEND@
 MAKEINFO = @MAKEINFO@
 MANIFEST_TOOL = @MANIFEST_TOOL@
-MKDEP = @MKDEP@
 MKDIR_P = @MKDIR_P@
 MODULES_LIBS = @MODULES_LIBS@
 MODULE_DIR = @MODULE_DIR@
@@ -321,7 +319,6 @@ RANLIB = @RANLIB@
 RM = @RM@
 SED = @SED@
 SEDOBJ = @SEDOBJ@
-SELECT_TYPE = @SELECT_TYPE@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SQLITE_CFLAGS = @SQLITE_CFLAGS@
@@ -332,11 +329,9 @@ SQLITE_OBJ = @SQLITE_OBJ@
 SSL_INCLUDES = @SSL_INCLUDES@
 SSL_LIBS = @SSL_LIBS@
 SSL_SRCS_ENABLE = @SSL_SRCS_ENABLE@
-STDOUT = @STDOUT@
 STRIP = @STRIP@
 TOUCH = @TOUCH@
 VERSION = @VERSION@
-VICONF = @VICONF@
 YACC = @YACC@
 YFLAGS = @YFLAGS@
 ZLIB_LD = @ZLIB_LD@
@@ -404,9 +399,11 @@ top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 AUTOMAKE_OPTIONS = foreign
 ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = libratbox $(am__append_1) src ssld bandb tools modules \
-       extensions help doc
-all: all-recursive
+SUBDIRS = libratbox $(am__append_1) ircd ssld authd bandb tools \
+       modules extensions help doc
+BUILT_SOURCES = include/serno.h
+all: $(BUILT_SOURCES)
+       $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
 .SUFFIXES:
 am--refresh: Makefile
@@ -762,11 +759,13 @@ distcleancheck: distclean
               $(distcleancheck_listfiles) ; \
               exit 1; } >&2
 check-am: all-am
-check: check-recursive
+check: $(BUILT_SOURCES)
+       $(MAKE) $(AM_MAKEFLAGS) check-recursive
 all-am: Makefile
 installdirs: installdirs-recursive
 installdirs-am:
-install: install-recursive
+install: $(BUILT_SOURCES)
+       $(MAKE) $(AM_MAKEFLAGS) install-recursive
 install-exec: install-exec-recursive
 install-data: install-data-recursive
 uninstall: uninstall-recursive
@@ -796,6 +795,7 @@ distclean-generic:
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
        @echo "it deletes files that may require special tools to rebuild."
+       -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
 clean: clean-recursive
 
 clean-am: clean-generic clean-libtool mostlyclean-am
@@ -867,8 +867,8 @@ ps-am:
 
 uninstall-am:
 
-.MAKE: $(am__recursive_targets) install-am install-data-am \
-       install-strip
+.MAKE: $(am__recursive_targets) all check install install-am \
+       install-data-am install-strip
 
 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
        am--refresh check check-am clean clean-cscope clean-generic \
@@ -890,6 +890,16 @@ uninstall-am:
 .PRECIOUS: Makefile
 
 
+include/serno.h:
+       @if [ -d .git ] ; then \
+               revh=`git log -1 --date=short --pretty=format:%cd_%h 2>/dev/null | sed -e s/-//g -e s/_/-/`;\
+               [ -z "$$revh" ] || echo '#define SERNO "'$$revh'"' >include/serno.h ; \
+       elif [ -d .hg ] ; then \
+               revh=`hg parents --template '{date|shortdate}_{node|short}' 2>/dev/null | sed -e s/-//g -e s/_/-/`;\
+               [ -z "$$revh" ] || echo '#define SERNO "'$$revh'"' >include/serno.h ; \
+       fi
+       @[ -f include/serno.h ] || echo '#define SERNO "unknown"' >include/serno.h
+
 install-data-hook:
        test -d ${logdir} || mkdir -p ${logdir}