OSDN Git Service

Add MS7619SE
[uclinux-h8/uClinux-dist.git] / lib / libldap / makefile
1 #
2 # build using configure as best we can, should work for most targets
3 # David McCullough <davidm@snapgear.com>
4 #
5
6 CONFOPTS = --without-threads --without-local --disable-ipv6 \
7                    --enable-x-compile --disable-slapd --disable-slurpd \
8                    --prefix=
9
10 all: builddir/build
11         $(MAKE) -C builddir LIBTOOL="$(LIBTOOL)"
12
13 romfs: builddir/build
14         $(MAKE) -C builddir LIBTOOL="$(LIBTOOL)" romfs
15         $(ROMFSINST) builddir/clients/tools/ldapsearch /bin/ldapsearch
16
17 builddir/build: makefile
18         rm -rf builddir
19         mkdir builddir
20         (cd builddir; \
21                 CPP="$(CC) $(CFLAGS) -E" \
22                 sh ../configure $(CONFIGURE_OPTS) $(CONFOPTS))
23         $(MAKE) -C builddir LIBTOOL="$(LIBTOOL)" depend
24         touch builddir/build
25
26 clean:
27         rm -rf builddir
28