]> git.sur5r.net Git - openldap/blobdiff - Makefile.in
More fixes, add test script
[openldap] / Makefile.in
index adb827bd1fc1b9c1b4025b9a6f805ffb6b1fb8b9..595cc2a4773b75668493328a8f13189a5a7ac8c0 100644 (file)
@@ -1,31 +1,38 @@
 # Master Makefile for OpenLDAP
-# Copyright 1998 The OpenLDAP Foundation,  All Rights Reserved.
-# COPYING RESTRICTIONS APPLY, See COPYRIGHT file
-
-SUBDIRS= include libraries clients servers # contrib
-CLEANDIRS= tests
-INSTALLDIRS= doc
+# $OpenLDAP$
+## This work is part of OpenLDAP Software <http://www.openldap.org/>.
+##
+## Copyright 1998-2011 The OpenLDAP Foundation.
+## All rights reserved.
+##
+## Redistribution and use in source and binary forms, with or without
+## modification, are permitted only as authorized by the OpenLDAP
+## Public License.
+##
+## A copy of this license is available in the file LICENSE in the
+## top-level directory of the distribution or, alternatively, at
+## <http://www.OpenLDAP.org/license.html>.
+
+SUBDIRS= include libraries clients servers tests doc
+CLEANDIRS=
+INSTALLDIRS= 
 
 makefiles:     FORCE
        ./config.status
 
-${srcdir}/configure: configure.in aclocal.m4
-       cd ${srcdir} && autoconf
-
-# autoheader might not change portable.h.in, so touch a stamp file
-${srcdir}/include/portable.h.in:       stamp-h.in
-${srcdir}/stamp-h.in: configure.in aclocal.m4 acconfig.h \
-       ${srcdir}/include/portable.h.top ${srcdir}/include/portable.h.bot       
-       cd ${srcdir} && autoheader
-       @echo timestamp > ${srcdir}/stamp-h.in
+# force a make all before make install
+#      only done at the top-level
+install-common: all FORCE
 
-./include/portable.h: stamp-h
-stamp-h: config.h.in config.status
-       ./config.status
+clean-local: FORCE
+       $(RM) config.cache config.log configure.lineno
+       $(RM) -r autom4te.cache
 
-Makefile: Makefile.in config.status
-       ./config.status
+veryclean-local: FORCE
+       $(RM) config.status libtool stamp-h stamp-h.in
 
-config.status: configure
-       ./config.status --recheck
+distclean: veryclean FORCE
 
+check: test
+test: FORCE
+       cd tests; make test