File: Makefile.am

package info (click to toggle)
hercules 3.07-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 14,572 kB
  • ctags: 18,225
  • sloc: ansic: 162,921; sh: 8,522; makefile: 781; perl: 202; sed: 16
file content (77 lines) | stat: -rw-r--r-- 1,633 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
## Process this file with automake to produce Makefile.in
#
# Makefile for building the decNumber package
# for use with Hercules S/370, ESA/390 and z/Architecture emulator
#
# This file was added by the Hercules project.
# It is not part of the original decNumber distribution.
#
# $Id: Makefile.am 4175 2006-12-30 18:31:08Z rbowler $
#
# $Log$
# Revision 1.3  2006/12/13 11:49:02  rbowler
# Correct make tar error: No rule to make target `decNumber.pdf'
#
# Revision 1.2  2006/12/12 14:07:50  rbowler
# Make decNumber a shared library not a loadable module
#
#

lns=@LN_S@

LDADD = @LIBS@ 

AM_CPPFLAGS = -I$(top_srcdir)

decNumber_SRC = decContext.c \
		decimal128.c \
		decimal32.c  \
		decimal64.c  \
		decNumber.c  \
		decPacked.c  

if BUILD_SHARED
   XSTATIC =
else
   XSTATIC = -static
endif

if OPTION_DYNAMIC_LOAD
  LTDL  	 =
  LIB_LD_FLAGS    = -export-dynamic  \
		   $(XSTATIC)       \
		   -no-undefined    \
		   -avoid-version
else
  LTDL  	 =
  LIB_LD_FLAGS    = $(XSTATIC)    \
		   -no-undefined \
		   -avoid-version
endif

  HERCLIBS =
  HERCLIBS2 = libdecNumber.la
  noinst_LTLIBRARIES = $(HERCLIBS)
  lib_LTLIBRARIES = $(HERCLIBS2)

  libdecNumber_la_SOURCES = $(decNumber_SRC)
  libdecNumber_la_LDFLAGS = $(LIB_LD_FLAGS)
  libdecNumber_la_LIBADD  = $(LDADD)

noinst_HEADERS = decContext.h      \
		 decDPD.h          \
		 decimal128.h      \
		 decimal32.h       \
		 decimal64.h       \
		 decNumber.h       \
		 decNumberLocal.h  \
		 decPacked.h  

EXTRA_DIST = decNumber.def     \
	     decnumber.pdf     \
	     decNumber.rc      \
	     ICU-license.html  \
	     readme.txt

%.s: %.c
	$(COMPILE) -S $<