]> git.sur5r.net Git - openldap/blob - libraries/liblutil/Makefile.in
83cf2af597cfb0a507703fdeaf9f307f38a962d9
[openldap] / libraries / liblutil / Makefile.in
1 # $OpenLDAP$
2 ##
3 ## Makefile for -lutil
4 ##
5
6 LIBRARY = liblutil.a
7
8 NT_SRCS = nt_err.c ntservice.c
9 NT_OBJS = nt_err.o ntservice.o slapdmsg.res
10
11 UNIX_SRCS = detach.c
12 UNIX_OBJS = detach.o
13
14 SRCS    = base64.c debug.c entropy.c \
15         md5.c passwd.c sha1.c getpass.c lockf.c utils.c sockpair.c \
16         @LIBSRCS@ $(@PLAT@_SRCS)
17
18 OBJS    = base64.o debug.o entropy.o \
19         md5.o passwd.o sha1.o getpass.o lockf.o utils.o sockpair.o \
20         @LIBOBJS@ $(@PLAT@_OBJS)
21
22 LDAP_INCDIR= ../../include       
23 LDAP_LIBDIR= ../../libraries
24
25 # These rules are for a Mingw32 build, specifically.
26 # It's ok for them to be here because the clean rule is harmless, and
27 # slapdmsg.res won't get built unless it's declared in OBJS.
28
29 slapdmsg.res: slapdmsg.rc slapdmsg.bin
30         windres $< -O coff -o $@
31
32 clean-local:
33         $(RM) *.res
34