openldap/libraries/liblutil/Makefile.in

62 lines
1.6 KiB
Makefile
Raw Normal View History

2003-11-26 10:58:56 +08:00
# Makefile for -llutil
1999-09-09 06:52:19 +08:00
# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
2017-01-04 04:36:47 +08:00
## Copyright 1998-2017 The OpenLDAP Foundation.
2003-11-26 10:58:56 +08:00
## All rights reserved.
1998-10-25 09:41:42 +08:00
##
2003-11-26 10:58:56 +08:00
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
1998-10-25 09:41:42 +08:00
##
2003-11-26 10:58:56 +08:00
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
1998-10-25 09:41:42 +08:00
LIBRARY = liblutil.a
PROGRAM = testavl
LDAP_INCDIR= ../../include
LDAP_LIBDIR= ../../libraries
NT_SRCS = ntservice.c
NT_OBJS = ntservice.o slapdmsg.res
UNIX_SRCS = detach.c
UNIX_OBJS = detach.o
XLIBS = $(LIBRARY) $(LDAP_LIBLBER_LA)
2009-08-19 07:48:15 +08:00
SRCS = base64.c entropy.c sasl.c signal.c hash.c passfile.c \
2001-12-05 13:39:34 +08:00
md5.c passwd.c sha1.c getpass.c lockf.c utils.c uuid.c sockpair.c \
avl.c tavl.c \
testavl.c \
2009-02-05 17:38:07 +08:00
meter.c \
@LIBSRCS@ $(@PLAT@_SRCS)
2009-08-19 07:48:15 +08:00
OBJS = base64.o entropy.o sasl.o signal.o hash.o passfile.o \
2001-12-05 13:39:34 +08:00
md5.o passwd.o sha1.o getpass.o lockf.o utils.o uuid.o sockpair.o \
avl.o tavl.o \
2009-02-05 17:38:07 +08:00
meter.o \
@LIBOBJS@ $(@PLAT@_OBJS)
1998-10-25 09:41:42 +08:00
testavl: $(XLIBS) testavl.o
(LTLINK) -o $@ testavl.o $(LIBS)
1998-10-25 09:41:42 +08:00
testtavl: $(XLIBS) testtavl.o
(LTLINK) -o $@ testtavl.o $(LIBS)
# 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.bin: FORCE
@if [ ! -f $@ ]; then cp $(srcdir)/$@ .; fi
slapdmsg.res: slapdmsg.rc slapdmsg.bin
windres $< -O coff -o $@
clean-local:
$(RM) *.res