1 # Master Makefile for OpenLDAP
3 ## Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
4 ## All rights reserved.
6 ## Redistribution and use in source and binary forms are permitted only
7 ## as authorized by the OpenLDAP Public License. A copy of this
8 ## license is available at http://www.OpenLDAP.org/license.html or
9 ## in file LICENSE in the top-level directory of the distribution.
12 SUBDIRS= include libraries clients servers # contrib
19 ${srcdir}/configure: configure.in aclocal.m4
20 cd ${srcdir} && autoconf
22 # autoheader might not change portable.h.in, so touch a stamp file
23 ${srcdir}/include/portable.h.in: stamp-h.in
24 ${srcdir}/stamp-h.in: configure.in aclocal.m4 acconfig.h \
25 ${srcdir}/include/portable.h.top ${srcdir}/include/portable.h.bot
26 cd ${srcdir} && autoheader
27 @echo timestamp > ${srcdir}/stamp-h.in
29 ./include/portable.h: stamp-h
30 stamp-h: config.h.in config.status
33 Makefile: Makefile.in config.status
36 config.status: configure
37 ./config.status --recheck
40 # force a make all before make install
41 # only done at the top-level
42 install-common: all FORCE
47 veryclean-local: FORCE
48 $(RM) config.cache config.status libtool stamp-h stamp-h.in
50 distclean: veryclean FORCE