]> git.sur5r.net Git - openldap/blob - libraries/liblutil/Makefile.in
Add UUID code from John E. Schimmel
[openldap] / libraries / liblutil / Makefile.in
1 # $OpenLDAP$
2 ## Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
3 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4 ##
5 ## Makefile for -llutil
6 ##
7
8 LIBRARY = liblutil.a
9
10 NT_SRCS = ntservice.c
11 NT_OBJS = ntservice.o slapdmsg.res
12
13 UNIX_SRCS = detach.c
14 UNIX_OBJS = detach.o
15
16 SRCS    = base64.c debug.c entropy.c sasl.c signal.c hash.c \
17         md5.c passwd.c sha1.c getpass.c lockf.c utils.c uuid.c sockpair.c \
18         @LIBSRCS@ $(@PLAT@_SRCS)
19
20 OBJS    = base64.o debug.o entropy.o sasl.o signal.o hash.o \
21         md5.o passwd.o sha1.o getpass.o lockf.o utils.o uuid.o sockpair.o \
22         @LIBOBJS@ $(@PLAT@_OBJS)
23
24 LDAP_INCDIR= ../../include       
25 LDAP_LIBDIR= ../../libraries
26
27 NT_DYN_LIB_DEFS = -DLDAP_DECL=dllimport
28 CPPFLAGS = $(@PLAT@_@LIB_LINKAGE@_LIB_DEFS)
29
30 # These rules are for a Mingw32 build, specifically.
31 # It's ok for them to be here because the clean rule is harmless, and
32 # slapdmsg.res won't get built unless it's declared in OBJS.
33
34 slapdmsg.res: slapdmsg.rc slapdmsg.bin
35         windres $< -O coff -o $@
36
37 clean-local:
38         $(RM) *.res
39