Makefile.in revision 1.1.1.1
1# Makefile for -llutil 2# $OpenLDAP: pkg/ldap/libraries/liblutil/Makefile.in,v 1.38.2.3 2008/02/11 23:26:42 kurt Exp $ 3## This work is part of OpenLDAP Software <http://www.openldap.org/>. 4## 5## Copyright 1998-2008 The OpenLDAP Foundation. 6## All rights reserved. 7## 8## Redistribution and use in source and binary forms, with or without 9## modification, are permitted only as authorized by the OpenLDAP 10## Public License. 11## 12## A copy of this license is available in the file LICENSE in the 13## top-level directory of the distribution or, alternatively, at 14## <http://www.OpenLDAP.org/license.html>. 15 16LIBRARY = liblutil.a 17PROGRAM = testavl 18 19LDAP_INCDIR= ../../include 20LDAP_LIBDIR= ../../libraries 21 22NT_SRCS = ntservice.c 23NT_OBJS = ntservice.o slapdmsg.res 24 25UNIX_SRCS = detach.c 26UNIX_OBJS = detach.o 27 28XLIBS = $(LIBRARY) $(LDAP_LIBLBER_LA) 29 30SRCS = base64.c csn.c entropy.c sasl.c signal.c hash.c passfile.c \ 31 md5.c passwd.c sha1.c getpass.c lockf.c utils.c uuid.c sockpair.c \ 32 avl.c tavl.c ldif.c fetch.c \ 33 testavl.c \ 34 @LIBSRCS@ $(@PLAT@_SRCS) 35 36OBJS = base64.o csn.o entropy.o sasl.o signal.o hash.o passfile.o \ 37 md5.o passwd.o sha1.o getpass.o lockf.o utils.o uuid.o sockpair.o \ 38 avl.o tavl.o ldif.o fetch.o \ 39 @LIBOBJS@ $(@PLAT@_OBJS) 40 41testavl: $(XLIBS) testavl.o 42 (LTLINK) -o $@ testavl.o $(LIBS) 43 44testtavl: $(XLIBS) testtavl.o 45 (LTLINK) -o $@ testtavl.o $(LIBS) 46 47# These rules are for a Mingw32 build, specifically. 48# It's ok for them to be here because the clean rule is harmless, and 49# slapdmsg.res won't get built unless it's declared in OBJS. 50 51slapdmsg.bin: FORCE 52 @if [ ! -f $@ ]; then cp $(srcdir)/$@ .; fi 53 54slapdmsg.res: slapdmsg.rc slapdmsg.bin 55 windres $< -O coff -o $@ 56 57clean-local: 58 $(RM) *.res 59 60