~ubuntu-branches/ubuntu/intrepid/openipmi/intrepid

« back to all changes in this revision

Viewing changes to utils/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Noèl Köthe
  • Date: 2005-07-04 21:29:17 UTC
  • Revision ID: james.westby@ubuntu.com-20050704212917-igddk5jawjmhrlay
Tags: upstream-2.0.1
Import upstream version 2.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
empty:=
 
3
space:= $(empty) $(empty)
 
4
 
 
5
LIB_VERSION = 0.0.1
 
6
 
 
7
SPACE_VERSION = $(subst .,$(space),$(LIB_VERSION))
 
8
VERSION_CURRENT = $(wordlist 1, 1, $(SPACE_VERSION))
 
9
VERSION_REVISION = $(wordlist 3, 3, $(SPACE_VERSION))
 
10
VERSION_AGE = $(wordlist 2, 2, $(SPACE_VERSION))
 
11
LD_VERSION = $(VERSION_CURRENT):$(VERSION_REVISION):$(VERSION_AGE)
 
12
 
 
13
AM_CFLAGS = -Wall -I$(top_srcdir)/include -DIPMI_CHECK_LOCKS
 
14
 
 
15
lib_LTLIBRARIES = libOpenIPMIutils.la
 
16
 
 
17
libOpenIPMIutils_la_SOURCES = md5.c md2.c ipmi_auth.c \
 
18
                              ipmi_malloc.c ilist.c locks.c hash.c \
 
19
                              locked_list.c
 
20
libOpenIPMIutils_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \
 
21
        -Wl,-Map -Wl,libOpenIPMIutils.map
 
22
 
 
23
clean:
 
24
        rm -f *.map