]>
Commit | Line | Data |
---|---|---|
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) | |
12 | LIBTOOL=@LIBTOOL@ | |
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@ | |
23 | top_builddir=@top_builddir@ | |
24 | BUILDTOP=../.. | |
25 | mrbindir=@mrbindir@ | |
26 | ||
27 | WINAD_OBJS=winad.lo ldap_adgssapi_bind.lo krb5_utils.lo setpw.lo | |
28 | ||
29 | TARGET=winad.incr | |
30 | ||
31 | .SUFFIXES: .pc .lo | |
32 | ||
33 | .pc.c: | |
34 | $(PRO_C) $(PRO_C_FLAGS) INAME=$< | |
35 | ||
36 | .c.lo: | |
37 | $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $< | |
38 | ||
39 | all: $(TARGET) | |
40 | ||
41 | clean: | |
42 | $(LIBTOOL) --mode=clean rm -f $(WINAD_OBJS) $(TARGET) | |
43 | ||
44 | cleandir distclean: clean | |
45 | rm -f Makefile | |
46 | ||
47 | depend: | |
48 | ||
49 | install: | |
50 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) winad.incr $(DESTDIR)$(mrbindir) | |
51 | ||
52 | winad.incr: $(WINAD_OBJS) $(MR_LIBDEP) | |
53 | $(LIBTOOL) --mode=link $(CC) -o $@ $(LDAP_LIBS) $(LDFLAGS) $(WINAD_OBJS) -lldap -llber \ | |
54 | -lgssapi_krb5 $(LIBS) |