~ubuntu-branches/ubuntu/vivid/openipmi/vivid

« back to all changes in this revision

Viewing changes to tcl/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Noèl Köthe
  • Date: 2006-09-15 17:56:24 UTC
  • mfrom: (1.1.2 upstream) (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20060915175624-ljk0mg3xtcm65tvm
Tags: 2.0.7-1
* new upstream release from 2006-06-08
  Thanks to John Wright <john.wright hp.com> for initial work
  (closes: Bug#380149)
* updated Standards Version
* new binaries openipmicmd, openipmish, rmcp_ping

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 -Wsign-compare -I$(top_srcdir)/include
 
14
 
 
15
lib_LTLIBRARIES = @TCL_TARGET@
 
16
EXTRA_LTLIBRARIES = libOpenIPMItcl.la
 
17
 
 
18
libOpenIPMItcl_la_SOURCES = tcl_os_hnd.c
 
19
libOpenIPMItcl_la_CFLAGS = $(TCL_CFLAGS) $(AM_CFLAGS)
 
20
libOpenIPMItcl_la_LIBADD = $(GDBM_LIB)
 
21
libOpenIPMItcl_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \
 
22
        -rpath $(libdir) -L$(DESTDIR)$(libdir) -R$(libdir) \
 
23
        -Wl,-Map -Wl,libOpenIPMItcl.map $(TCL_LIBS)
 
24
 
 
25
noinst_PROGRAMS = test_handlers
 
26
 
 
27
test_handlers_SOURCES = test_handlers.c
 
28
test_handlers_LDADD = libOpenIPMItcl.la \
 
29
        $(top_builddir)/utils/libOpenIPMIutils.la $(GDBM_LIB)
 
30
 
 
31
TESTS = test_handlers
 
32
 
 
33
CLEANFILES = libOpenIPMItcl.map