1999-09-09 06:52:19 +08:00
|
|
|
# $OpenLDAP$
|
2000-05-13 10:43:19 +08:00
|
|
|
## Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
|
|
|
|
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
1998-10-25 09:41:42 +08:00
|
|
|
##
|
2000-01-26 07:58:44 +08:00
|
|
|
## Makefile for -llutil
|
1998-10-25 09:41:42 +08:00
|
|
|
##
|
|
|
|
|
|
|
|
LIBRARY = liblutil.a
|
1999-10-28 15:31:59 +08:00
|
|
|
|
2000-05-13 05:16:15 +08:00
|
|
|
NT_SRCS = ntservice.c
|
|
|
|
NT_OBJS = ntservice.o slapdmsg.res
|
1999-10-28 15:31:59 +08:00
|
|
|
|
|
|
|
UNIX_SRCS = detach.c
|
|
|
|
UNIX_OBJS = detach.o
|
|
|
|
|
2000-09-23 06:19:46 +08:00
|
|
|
SRCS = base64.c debug.c entropy.c sasl.c signal.c hash.c \
|
1999-10-28 15:31:59 +08:00
|
|
|
md5.c passwd.c sha1.c getpass.c lockf.c utils.c sockpair.c \
|
|
|
|
@LIBSRCS@ $(@PLAT@_SRCS)
|
|
|
|
|
2000-09-23 06:19:46 +08:00
|
|
|
OBJS = base64.o debug.o entropy.o sasl.o signal.o hash.o \
|
1999-08-31 11:25:23 +08:00
|
|
|
md5.o passwd.o sha1.o getpass.o lockf.o utils.o sockpair.o \
|
1999-10-28 15:31:59 +08:00
|
|
|
@LIBOBJS@ $(@PLAT@_OBJS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
LDAP_INCDIR= ../../include
|
|
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
|
2000-06-19 03:48:07 +08:00
|
|
|
NT_DYN_LIB_DEFS = -DLDAP_DECL=dllimport
|
1999-11-28 07:40:08 +08:00
|
|
|
CPPFLAGS = $(@PLAT@_@LIB_LINKAGE@_LIB_DEFS)
|
|
|
|
|
1999-10-28 15:31:59 +08:00
|
|
|
# These rules are for a Mingw32 build, specifically.
|
|
|
|
# It's ok for them to be here because the clean rule is harmless, and
|
|
|
|
# slapdmsg.res won't get built unless it's declared in OBJS.
|
|
|
|
|
|
|
|
slapdmsg.res: slapdmsg.rc slapdmsg.bin
|
|
|
|
windres $< -O coff -o $@
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
$(RM) *.res
|
|
|
|
|