File: Makefile.am

package info (click to toggle)
libi8x 0.0.5-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 7,192 kB
  • ctags: 1,365
  • sloc: ansic: 6,874; python: 1,339; makefile: 146; sh: 102
file content (92 lines) | stat: -rw-r--r-- 2,212 bytes parent folder | download | duplicates (2)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Copyright (C) 2016 Red Hat, Inc.
# This file is part of the Infinity Note Execution Library.
#
# The Infinity Note Execution Library is free software; you can
# redistribute it and/or modify it under the terms of the GNU Lesser
# General Public License as published by the Free Software
# Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# The Infinity Note Execution Library is distributed in the hope
# that it will be useful, but WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE.  See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with the Infinity Note Execution Library; if not,
# see <http://www.gnu.org/licenses/>.

EXTRA_DIST =
CLEANFILES =

AM_CPPFLAGS = \
	-include $(top_builddir)/config.h

AM_CFLAGS = ${my_CFLAGS} \
	-fvisibility=hidden \
	-ffunction-sections \
	-fdata-sections \
	-fno-gcse

AM_LDFLAGS = \
	-Wl,--gc-sections \
	-Wl,--as-needed

SED_PROCESS = \
	$(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
	-e 's,@VERSION\@,$(VERSION),g' \
	-e 's,@prefix\@,$(prefix),g' \
	-e 's,@exec_prefix\@,$(exec_prefix),g' \
	-e 's,@libdir\@,$(libdir),g' \
	-e 's,@includedir\@,$(includedir),g' \
	< $< > $@ || rm $@

%.pc: %.pc.in Makefile
	$(SED_PROCESS)

LIBI8X_CURRENT=0
LIBI8X_REVISION=0
LIBI8X_AGE=0

include_HEADERS = libi8x.h
lib_LTLIBRARIES = libi8x.la

libi8x_la_SOURCES = \
	libi8x-private.h \
	interp-private.h \
	funcref-private.h \
	inferior-private.h \
	reloc-private.h \
	xctx-private.h \
	archspec.h \
	opcodes.h \
	chunk.c \
	code.c \
	context.c \
	dbg-interp.c \
	errors.c \
	function.c \
	funcref.c \
	inferior.c \
	interp.c \
	list.c \
	object.c \
	note.c \
	readbuf.c \
	reloc.c \
	type.c \
	validator.c \
	xctx.c

EXTRA_DIST += libi8x.sym optable.c

libi8x_la_LDFLAGS = $(AM_LDFLAGS) \
	-version-info $(LIBI8X_CURRENT):$(LIBI8X_REVISION):$(LIBI8X_AGE) \
	-Wl,--version-script=$(top_srcdir)/libi8x/libi8x.sym
libi8x_la_DEPENDENCIES = ${top_srcdir}/libi8x/libi8x.sym

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libi8x.pc
EXTRA_DIST += libi8x.pc.in
CLEANFILES += libi8x.pc