blob: 19cc65cde86018ce3d07de6efb6b004e37b7f573 [file] [log] [blame]
brynercb91a2f2006-08-25 21:14:45 +00001## Process this file with automake to produce Makefile.in
2
3# Make sure that when we re-make ./configure, we get the macros we need
4ACLOCAL_AMFLAGS = -I `pwd`/../autoconf
5
6# This is so we can #include <google/foo>
7AM_CPPFLAGS = -I$(top_srcdir)/src
8
9googleincludedir = $(includedir)/google
10## The .h files you want to install (that is, .h files that people
11## who install this package can include in their own applications.)
12googleinclude_HEADERS =
13
14docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
15## This is for HTML and other documentation you want to install.
16## Add your documentation files (in doc/) in addition to these
17## top-level boilerplate files. Also add a TODO file if you have one.
18dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README
19
20## The libraries (.so's) you want to install
21lib_LTLIBRARIES = libairbag.la
22
23## unittests you want to run when people type 'make check'.
24## TESTS is for binary unittests, check_SCRIPTS for script-based unittests.
25## TESTS_ENVIRONMENT sets environment variables for when you run unittest,
26## but it only seems to take effect for *binary* unittests (argh!)
27TESTS = source_line_resolver_unittest
28TESTS_ENVIRONMENT =
29check_SCRIPTS =
30# Every time you add a unittest to check_SCRIPTS, add it here too
31noinst_SCRIPTS =
32
33## vvvv RULES TO MAKE THE LIBRARIES, BINARIES, AND UNITTESTS
34
35libairbag_la_SOURCES = \
36 src/processor/source_line_resolver.cc \
37 src/processor/source_line_resolver.h
38
39source_line_resolver_unittest_SOURCES = \
40 src/processor/source_line_resolver_unittest.cc \
41 src/processor/source_line_resolver.h
42source_line_resolver_unittest_LDADD = source_line_resolver.lo
43
44## ^^^^ END OF RULES TO MAKE THE LIBRARIES, BINARIES, AND UNITTESTS
45
46
47## This should always include $(TESTS), but may also include other
48## binaries that you compile but don't want automatically installed.
49noinst_PROGRAMS = $(TESTS)
50
51rpm: dist-gzip packages/rpm.sh packages/rpm/rpm.spec
52 @cd packages && ./rpm.sh ${PACKAGE} ${VERSION}
53
54deb: dist-gzip packages/deb.sh packages/deb/*
55 @cd packages && ./deb.sh ${PACKAGE} ${VERSION}
56
57libtool: $(LIBTOOL_DEPS)
58 $(SHELL) ./config.status --recheck
59EXTRA_DIST = packages/rpm.sh packages/rpm/rpm.spec packages/deb.sh packages/deb \
60 $(SCRIPTS) libtool
61
62## If you create hash_map.h, hash_set.h, and/or hash_fun.h via the
63## ACC_CXX_MAKE_*_H configure.ac macros, add those files here.
64DISTCLEANFILES =