blob: 5baf460df5fd2d42ce4814fb579c54ec991c675f [file] [log] [blame]
brynercb91a2f2006-08-25 21:14:45 +00001## Process this file with automake to produce Makefile.in
2
mmentovai425d2562006-08-30 20:05:05 +00003# Copyright (C) 2006 Google Inc.
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
brynercb91a2f2006-08-25 21:14:45 +000016
brynercb91a2f2006-08-25 21:14:45 +000017
bryner07f8ef52006-09-05 19:42:57 +000018# This allows #includes to be relative to src/
19AM_CPPFLAGS = -I$(top_srcdir)/src
20
mmentovai425d2562006-08-30 20:05:05 +000021## Documentation
brynercb91a2f2006-08-25 21:14:45 +000022docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
brynercb91a2f2006-08-25 21:14:45 +000023
mmentovai425d2562006-08-30 20:05:05 +000024dist_doc_DATA = \
25 AUTHORS \
26 COPYING \
27 ChangeLog \
28 INSTALL \
29 NEWS \
30 README
brynercb91a2f2006-08-25 21:14:45 +000031
mmentovai425d2562006-08-30 20:05:05 +000032
33## Libraries
34lib_LTLIBRARIES = src/libairbag.la
35
36src_libairbag_la_SOURCES = \
37 src/processor/source_line_resolver.cc \
38 src/processor/source_line_resolver.h
39
40
41## Tests
42TESTS = src/processor/source_line_resolver_unittest
brynercb91a2f2006-08-25 21:14:45 +000043TESTS_ENVIRONMENT =
44check_SCRIPTS =
brynercb91a2f2006-08-25 21:14:45 +000045
mmentovai425d2562006-08-30 20:05:05 +000046src_processor_source_line_resolver_unittest_SOURCES = \
47 src/processor/source_line_resolver_unittest.cc
48src_processor_source_line_resolver_unittest_LDADD = \
49 src/processor/source_line_resolver.lo
brynercb91a2f2006-08-25 21:14:45 +000050
51
mmentovai425d2562006-08-30 20:05:05 +000052## Non-installables
brynercb91a2f2006-08-25 21:14:45 +000053noinst_PROGRAMS = $(TESTS)
mmentovai425d2562006-08-30 20:05:05 +000054noinst_SCRIPTS = $(check_SCRIPTS)
brynercb91a2f2006-08-25 21:14:45 +000055
brynercb91a2f2006-08-25 21:14:45 +000056
mmentovai425d2562006-08-30 20:05:05 +000057## Additional files to be included in a source distribution
58EXTRA_DIST = \
59 $(SCRIPTS) \
60 src/processor/testdata/module1.out \
61 src/processor/testdata/module2.out \
62 src/processor/testdata/module3_bad.out
brynercb91a2f2006-08-25 21:14:45 +000063
mmentovai425d2562006-08-30 20:05:05 +000064
65## Additional rules
brynercb91a2f2006-08-25 21:14:45 +000066libtool: $(LIBTOOL_DEPS)
67 $(SHELL) ./config.status --recheck