]>
Commit | Line | Data |
---|---|---|
61a2844b | 1 | # $Id$ |
2 | ||
3 | SHELL=/bin/sh | |
4 | @SET_MAKE@ | |
5 | ||
6 | CC=@CC@ | |
7 | CPPFLAGS=@CPPFLAGS@ | |
8 | LDAP_CPPFLAGS=@LDAP_CPPFLAGS@ | |
9 | CFLAGS=@CFLAGS@ | |
10 | DEFS=@DEFS@ | |
11 | ALL_CFLAGS=$(LDAP_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) $(DEFS) | |
a816420b | 12 | LIBTOOL=@LIBTOOL@ |
61a2844b | 13 | LDFLAGS=@LDFLAGS@ |
14 | LDAP_LIBS=@LDAP_LIBS@ | |
15 | LIBS=@LIBS@ | |
16 | MR_LIBDEP=@MR_LIBDEP@ | |
17 | INSTALL=@INSTALL@ | |
18 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ | |
19 | ||
20 | srcdir=@srcdir@ | |
21 | VPATH=@srcdir@ | |
22 | SRCTOP=@top_srcdir@ | |
a816420b | 23 | top_builddir=@top_builddir@ |
61a2844b | 24 | BUILDTOP=../.. |
25 | mrbindir=@mrbindir@ | |
26 | ||
a816420b | 27 | WINAD_OBJS=winad.lo ldap_adgssapi_bind.lo krb5_utils.lo setpw.lo |
61a2844b | 28 | |
29 | TARGET=ldap.incr | |
30 | ||
a816420b | 31 | .SUFFIXES: .pc .lo |
61a2844b | 32 | |
33 | .pc.c: | |
34 | $(PRO_C) $(PRO_C_FLAGS) INAME=$< | |
35 | ||
a816420b | 36 | .c.lo: |
37 | $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $< | |
61a2844b | 38 | |
39 | all: $(TARGET) | |
40 | ||
41 | clean: | |
a816420b | 42 | $(LIBTOOL) --mode=clean rm -f $(WINAD_OBJS) $(TARGET) |
61a2844b | 43 | |
44 | cleandir distclean: clean | |
45 | rm -f Makefile | |
46 | ||
47 | depend: | |
48 | ||
49 | install: | |
a816420b | 50 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ldap.incr $(mrbindir) |
61a2844b | 51 | |
52 | ldap.incr: $(WINAD_OBJS) $(MR_LIBDEP) | |
a816420b | 53 | $(LIBTOOL) --mode=link $(CC) -o $@ $(LDAP_LIBS) $(LDFLAGS) $(WINAD_OBJS) -lldap -llber \ |
61a2844b | 54 | -lgssapi_krb5 $(LIBS) |