blob: aee0d9d6332fa8f11cc2fa2a0d3d93342bd1f0a3 [file] [log] [blame]
Alexander Chemeris040b3052013-06-16 14:29:54 +04001#
2# Copyright 2008 Free Software Foundation, Inc.
3#
4# This software is distributed under the terms of the GNU Public License.
5# See the COPYING file in the main directory for details.
6#
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation, either version 3 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20
21include $(top_srcdir)/Makefile.common
22
Thomas Tsou3eaae802013-08-20 19:31:14 -040023ACLOCAL_AMFLAGS = -I config
Pau Espin Pedrolcaf2abc2018-01-09 15:09:08 +010024AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(USB_INCLUDES) $(WITH_INCLUDES)
Pau Espin Pedrol89be1182018-01-16 12:43:46 +010025AM_CXXFLAGS = -Wall -pthread
26#AM_CXXFLAGS = -Wall -O2 -NDEBUG -pthread
27#AM_CFLAGS = -Wall -O2 -NDEBUG -pthread
Alexander Chemeris040b3052013-06-16 14:29:54 +040028
Ericb7253c62022-11-28 19:21:08 +010029SUBDIRS =
30
31if ENABLE_MS_TRX
Vadim Yanitskiy4a867be2022-12-28 03:36:11 +070032SUBDIRS += $(LIBTRXCON_DIR)
Ericb7253c62022-11-28 19:21:08 +010033endif
34
Alexander Chemeris040b3052013-06-16 14:29:54 +040035# Order must be preserved
Ericb7253c62022-11-28 19:21:08 +010036SUBDIRS += \
Alexander Chemeris040b3052013-06-16 14:29:54 +040037 CommonLibs \
38 GSM \
Pau Espin Pedrol2ac788b2018-01-09 17:44:49 +010039 Transceiver52M \
Pau Espin Pedrol5ac2cb32018-09-10 13:39:02 +020040 contrib \
Harald Welte6879bb02020-05-02 22:27:14 +020041 tests \
Vadim Yanitskiy3fb4d312020-10-29 16:44:46 +070042 utils \
43 doc \
44 $(NULL)
Alexander Chemeris040b3052013-06-16 14:29:54 +040045
Vadim Yanitskiya118d982024-01-26 23:45:28 +070046BUILT_SOURCES = $(top_srcdir)/.version
47$(top_srcdir)/.version:
48 echo $(VERSION) > $@-t && mv $@-t $@
49dist-hook:
50 echo $(VERSION) > $(distdir)/.tarball-version
51
Alexander Chemeris040b3052013-06-16 14:29:54 +040052EXTRA_DIST = \
Vadim Yanitskiya118d982024-01-26 23:45:28 +070053 .version \
Alexander Chemeris040b3052013-06-16 14:29:54 +040054 LEGAL \
55 COPYING \
Oliver Smithf3155e32020-05-22 13:48:11 +020056 README.md \
57 contrib/osmo-trx.spec.in \
58 debian \
Vadim Yanitskiya118d982024-01-26 23:45:28 +070059 git-version-gen \
Oliver Smithf3155e32020-05-22 13:48:11 +020060 $(NULL)
Alexander Chemeris040b3052013-06-16 14:29:54 +040061
Oliver Smith4adc4eb2018-12-04 15:41:40 +010062AM_DISTCHECK_CONFIGURE_FLAGS = \
Pau Espin Pedrol5ac2cb32018-09-10 13:39:02 +020063 --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
64
Maxe48c1362018-01-04 13:40:42 +010065.PHONY: release
66
Max099a44a2017-08-28 12:10:55 +020067@RELMAKE@
Alexander Chemeris040b3052013-06-16 14:29:54 +040068
69dox: FORCE
70 doxygen doxconfig
71
72FORCE: