~ttx/openldap/lucid-gssapi-495418

« back to all changes in this revision

Viewing changes to build/lib.mk

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2008-07-10 14:45:49 UTC
  • Revision ID: james.westby@ubuntu.com-20080710144549-wck73med0e72gfyo
Tags: upstream-2.4.10
ImportĀ upstreamĀ versionĀ 2.4.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $OpenLDAP: pkg/ldap/build/lib.mk,v 1.23.2.3 2008/02/11 23:26:37 kurt Exp $
 
2
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 
3
##
 
4
## Copyright 1998-2008 The OpenLDAP Foundation.
 
5
## All rights reserved.
 
6
##
 
7
## Redistribution and use in source and binary forms, with or without
 
8
## modification, are permitted only as authorized by the OpenLDAP
 
9
## Public License.
 
10
##
 
11
## A copy of this license is available in the file LICENSE in the
 
12
## top-level directory of the distribution or, alternatively, at
 
13
## <http://www.OpenLDAP.org/license.html>.
 
14
##---------------------------------------------------------------------------
 
15
#
 
16
# Makefile Template for Libraries
 
17
#
 
18
 
 
19
all-common: $(LIBRARY) $(PROGRAMS)
 
20
 
 
21
version.c: Makefile
 
22
        $(RM) $@
 
23
        $(MKVERSION) $(LIBRARY) > $@
 
24
 
 
25
version.o version.lo: version.c $(OBJS)
 
26
 
 
27
install-common: FORCE
 
28
 
 
29
lint: lint-local FORCE
 
30
        $(LINT) $(DEFS) $(DEFINES) $(SRCS)
 
31
 
 
32
lint5: lint5-local FORCE
 
33
        $(5LINT) $(DEFS) $(DEFINES) $(SRCS)
 
34
 
 
35
#
 
36
# In the mingw/cygwin environment, the so and dll files must be
 
37
# deleted separately, instead of using the {.so*,*.dll} construct
 
38
# that was previously used. It just didn't work.
 
39
#
 
40
clean-common:   FORCE
 
41
        $(RM) $(LIBRARY) ../$(LIBRARY) $(XLIBRARY) \
 
42
                $(PROGRAMS) $(XPROGRAMS) $(XSRCS) $(XXSRCS) \
 
43
                *.o *.lo a.out *.exe core version.c .libs/* \
 
44
                ../`$(BASENAME) $(LIBRARY) .la`.so* \
 
45
                ../`$(BASENAME) $(LIBRARY) .la`*.dll
 
46
 
 
47
depend-common: FORCE
 
48
        $(MKDEP) $(DEFS) $(DEFINES) $(SRCS) $(XXSRCS)
 
49
 
 
50
lint-local: FORCE
 
51
lint5-local: FORCE
 
52
 
 
53
Makefile: $(top_srcdir)/build/lib.mk
 
54