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 (63 lines) | stat: -rw-r--r-- 1,390 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
## Process this file with automake to produce Makefile.in
#
# Makefile for Hercules S/370, ESA/390 and z/Architecture emulator
#

# $Id: Makefile.am 4102 2006-12-08 09:43:35Z jj $
#
# $Log$

lns=@LN_S@

LDADD = @LTLIBINTL@ @LIBS@ ../libhercs.la ../libherc.la ../libhercu.la

AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)\intl

dyndev_SRC = dyncrypt.c sha1.c sha256.c des.c aes.c

if BUILD_SHARED
   XSTATIC =
else
   XSTATIC = -static
endif

if OPTION_DYNAMIC_LOAD
  DYNSRC         =
  LTDL           =

  DYNMOD_LD_FLAGS = -module         \
                   -no-undefined   \
                   $(XSTATIC)      \
                   -export-dynamic \
                   -avoid-version

  DYNMOD_LD_ADD   = $(LDADD)

  LIB_LD_FLAGS    = -export-dynamic  \
                   $(XSTATIC)       \
                   -no-undefined    \
                   -avoid-version
else
  DYNSRC         = $(dyndev_SRC)
  LTDL           =
  DYNMOD_LD_FLAGS =
  DYNMOD_LD_ADD =
  LIB_LD_FLAGS    = $(XSTATIC)    \
                   -no-undefined \
                   -avoid-version
endif

  HERCMODS = dyncrypt.la

if OPTION_DYNAMIC_LOAD
  modexec_LTLIBRARIES = $(HERCMODS)
endif

  dyncrypt_la_SOURCES  = dyncrypt.c sha1.c sha256.c des.c aes.c
  dyncrypt_la_LDFLAGS  = $(DYNMOD_LD_FLAGS)
  dyncrypt_la_LIBADD   = $(DYNMOD_LD_ADD)

noinst_HEADERS = sha1.h sha256.h des.h aes.h

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