Alexander Chemeris | 040b305 | 2013-06-16 14:29:54 +0400 | [diff] [blame] | 1 | # |
| 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 | |
| 21 | include $(top_srcdir)/Makefile.common |
| 22 | |
Thomas Tsou | 3eaae80 | 2013-08-20 19:31:14 -0400 | [diff] [blame] | 23 | ACLOCAL_AMFLAGS = -I config |
Pau Espin Pedrol | caf2abc | 2018-01-09 15:09:08 +0100 | [diff] [blame] | 24 | AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(USB_INCLUDES) $(WITH_INCLUDES) |
Pau Espin Pedrol | 89be118 | 2018-01-16 12:43:46 +0100 | [diff] [blame] | 25 | AM_CXXFLAGS = -Wall -pthread |
| 26 | #AM_CXXFLAGS = -Wall -O2 -NDEBUG -pthread |
| 27 | #AM_CFLAGS = -Wall -O2 -NDEBUG -pthread |
Alexander Chemeris | 040b305 | 2013-06-16 14:29:54 +0400 | [diff] [blame] | 28 | |
Eric | b7253c6 | 2022-11-28 19:21:08 +0100 | [diff] [blame] | 29 | SUBDIRS = |
| 30 | |
| 31 | if ENABLE_MS_TRX |
Vadim Yanitskiy | 4a867be | 2022-12-28 03:36:11 +0700 | [diff] [blame] | 32 | SUBDIRS += $(LIBTRXCON_DIR) |
Eric | b7253c6 | 2022-11-28 19:21:08 +0100 | [diff] [blame] | 33 | endif |
| 34 | |
Alexander Chemeris | 040b305 | 2013-06-16 14:29:54 +0400 | [diff] [blame] | 35 | # Order must be preserved |
Eric | b7253c6 | 2022-11-28 19:21:08 +0100 | [diff] [blame] | 36 | SUBDIRS += \ |
Alexander Chemeris | 040b305 | 2013-06-16 14:29:54 +0400 | [diff] [blame] | 37 | CommonLibs \ |
| 38 | GSM \ |
Pau Espin Pedrol | 2ac788b | 2018-01-09 17:44:49 +0100 | [diff] [blame] | 39 | Transceiver52M \ |
Pau Espin Pedrol | 5ac2cb3 | 2018-09-10 13:39:02 +0200 | [diff] [blame] | 40 | contrib \ |
Harald Welte | 6879bb0 | 2020-05-02 22:27:14 +0200 | [diff] [blame] | 41 | tests \ |
Vadim Yanitskiy | 3fb4d31 | 2020-10-29 16:44:46 +0700 | [diff] [blame] | 42 | utils \ |
| 43 | doc \ |
| 44 | $(NULL) |
Alexander Chemeris | 040b305 | 2013-06-16 14:29:54 +0400 | [diff] [blame] | 45 | |
Vadim Yanitskiy | a118d98 | 2024-01-26 23:45:28 +0700 | [diff] [blame] | 46 | BUILT_SOURCES = $(top_srcdir)/.version |
| 47 | $(top_srcdir)/.version: |
| 48 | echo $(VERSION) > $@-t && mv $@-t $@ |
| 49 | dist-hook: |
| 50 | echo $(VERSION) > $(distdir)/.tarball-version |
| 51 | |
Alexander Chemeris | 040b305 | 2013-06-16 14:29:54 +0400 | [diff] [blame] | 52 | EXTRA_DIST = \ |
Vadim Yanitskiy | a118d98 | 2024-01-26 23:45:28 +0700 | [diff] [blame] | 53 | .version \ |
Alexander Chemeris | 040b305 | 2013-06-16 14:29:54 +0400 | [diff] [blame] | 54 | LEGAL \ |
| 55 | COPYING \ |
Oliver Smith | f3155e3 | 2020-05-22 13:48:11 +0200 | [diff] [blame] | 56 | README.md \ |
| 57 | contrib/osmo-trx.spec.in \ |
| 58 | debian \ |
Vadim Yanitskiy | a118d98 | 2024-01-26 23:45:28 +0700 | [diff] [blame] | 59 | git-version-gen \ |
Oliver Smith | f3155e3 | 2020-05-22 13:48:11 +0200 | [diff] [blame] | 60 | $(NULL) |
Alexander Chemeris | 040b305 | 2013-06-16 14:29:54 +0400 | [diff] [blame] | 61 | |
Oliver Smith | 4adc4eb | 2018-12-04 15:41:40 +0100 | [diff] [blame] | 62 | AM_DISTCHECK_CONFIGURE_FLAGS = \ |
Pau Espin Pedrol | 5ac2cb3 | 2018-09-10 13:39:02 +0200 | [diff] [blame] | 63 | --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) |
| 64 | |
Max | e48c136 | 2018-01-04 13:40:42 +0100 | [diff] [blame] | 65 | .PHONY: release |
| 66 | |
Max | 099a44a | 2017-08-28 12:10:55 +0200 | [diff] [blame] | 67 | @RELMAKE@ |
Alexander Chemeris | 040b305 | 2013-06-16 14:29:54 +0400 | [diff] [blame] | 68 | |
| 69 | dox: FORCE |
| 70 | doxygen doxconfig |
| 71 | |
| 72 | FORCE: |