X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Fliblutil%2FMakefile.in;h=be9f2a08d523bd361bbba662627d0de3f8a86c23;hb=e2fa599482298372de6545b552b6b3a5ebd20ecb;hp=46fce8ea4fa90087f379c59282fca9ab16f0cfaa;hpb=bdca662249c3d17b53b4223955a9c9f474927f89;p=openldap diff --git a/libraries/liblutil/Makefile.in b/libraries/liblutil/Makefile.in index 46fce8ea4f..be9f2a08d5 100644 --- a/libraries/liblutil/Makefile.in +++ b/libraries/liblutil/Makefile.in @@ -1,15 +1,39 @@ # $OpenLDAP$ +## Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved. +## COPYING RESTRICTIONS APPLY, see COPYRIGHT file ## -## Makefile for -lutil +## Makefile for -llutil ## LIBRARY = liblutil.a -SRCS = base64.c debug.c detach.c entropy.c \ - md5.c passwd.c sha1.c getpass.c lockf.c utils.c sockpair.c -OBJS = base64.o debug.o detach.o entropy.o \ + +NT_SRCS = ntservice.c +NT_OBJS = ntservice.o slapdmsg.res + +UNIX_SRCS = detach.c +UNIX_OBJS = detach.o + +SRCS = base64.c debug.c entropy.c \ + md5.c passwd.c sha1.c getpass.c lockf.c utils.c sockpair.c \ + @LIBSRCS@ $(@PLAT@_SRCS) + +OBJS = base64.o debug.o entropy.o \ md5.o passwd.o sha1.o getpass.o lockf.o utils.o sockpair.o \ - @LIBOBJS@ + @LIBOBJS@ $(@PLAT@_OBJS) LDAP_INCDIR= ../../include LDAP_LIBDIR= ../../libraries +NT_DYN_LIB_DEFS = -DLDAP_DECL=dllimport +CPPFLAGS = $(@PLAT@_@LIB_LINKAGE@_LIB_DEFS) + +# 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 +