]> git.sur5r.net Git - openldap/blob - libraries/liblutil/Makefile.in
Moved nt_err from liblutil to liblber, renamed WSAGetErrorString to
[openldap] / libraries / liblutil / Makefile.in
1 # $OpenLDAP$
2 ##
3 ## Makefile for -llutil
4 ##
5
6 LIBRARY = liblutil.a
7
8 NT_SRCS = ntservice.c
9 NT_OBJS = 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 NT_DYN_LIB_DEFS = -DLIBLDAP_DECL=dllimport
26 CPPFLAGS = $(@PLAT@_@LIB_LINKAGE@_LIB_DEFS)
27
28 # These rules are for a Mingw32 build, specifically.
29 # It's ok for them to be here because the clean rule is harmless, and
30 # slapdmsg.res won't get built unless it's declared in OBJS.
31
32 slapdmsg.res: slapdmsg.rc slapdmsg.bin
33         windres $< -O coff -o $@
34
35 clean-local:
36         $(RM) *.res
37