Makefile.in 1.3 KB
Newer Older
Kurt Zeilenga's avatar
Kurt Zeilenga committed
1
# Master Makefile for OpenLDAP
2
3
4
5
6
7
8
9
10
##
## Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
## All rights reserved.
##
## Redistribution and use in source and binary forms are permitted only
## as authorized by the OpenLDAP Public License.  A copy of this
## license is available at http://www.OpenLDAP.org/license.html or
## in file LICENSE in the top-level directory of the distribution.
##
Kurt Zeilenga's avatar
Kurt Zeilenga committed
11
12

SUBDIRS= include libraries clients servers # contrib
13
CLEANDIRS= tests doc
Kurt Zeilenga's avatar
Kurt Zeilenga committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
INSTALLDIRS= doc

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

./include/portable.h: stamp-h
stamp-h: config.h.in config.status
	./config.status

Makefile: Makefile.in config.status
	./config.status

config.status: configure
	./config.status --recheck

39
40
41
42
43
44
45
46
47
48

# force a make all before make install
#	only done at the top-level
install-common: all FORCE

clean-local: FORCE
	$(RM) config.log

veryclean-local: FORCE
	$(RM) config.cache config.status libtool stamp-h stamp-h.in