2013-06-16 10:29:54 +00:00
|
|
|
#
|
|
|
|
# Copyright 2008 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# This software is distributed under the terms of the GNU Public License.
|
|
|
|
# See the COPYING file in the main directory for details.
|
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program 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 General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.common
|
|
|
|
|
2013-08-20 23:31:14 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I config
|
2018-01-09 14:09:08 +00:00
|
|
|
AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(USB_INCLUDES) $(WITH_INCLUDES)
|
2018-01-16 11:43:46 +00:00
|
|
|
AM_CXXFLAGS = -Wall -pthread
|
|
|
|
#AM_CXXFLAGS = -Wall -O2 -NDEBUG -pthread
|
|
|
|
#AM_CFLAGS = -Wall -O2 -NDEBUG -pthread
|
2013-06-16 10:29:54 +00:00
|
|
|
|
2022-11-28 18:21:08 +00:00
|
|
|
SUBDIRS =
|
|
|
|
|
|
|
|
if ENABLE_MS_TRX
|
2022-12-27 20:36:11 +00:00
|
|
|
SUBDIRS += $(LIBTRXCON_DIR)
|
2022-11-28 18:21:08 +00:00
|
|
|
endif
|
|
|
|
|
2013-06-16 10:29:54 +00:00
|
|
|
# Order must be preserved
|
2022-11-28 18:21:08 +00:00
|
|
|
SUBDIRS += \
|
2013-06-16 10:29:54 +00:00
|
|
|
CommonLibs \
|
|
|
|
GSM \
|
2018-01-09 16:44:49 +00:00
|
|
|
Transceiver52M \
|
2018-09-10 11:39:02 +00:00
|
|
|
contrib \
|
2020-05-02 20:27:14 +00:00
|
|
|
tests \
|
2020-10-29 09:44:46 +00:00
|
|
|
utils \
|
|
|
|
doc \
|
|
|
|
$(NULL)
|
2013-06-16 10:29:54 +00:00
|
|
|
|
2024-01-26 16:45:28 +00:00
|
|
|
BUILT_SOURCES = $(top_srcdir)/.version
|
|
|
|
$(top_srcdir)/.version:
|
|
|
|
echo $(VERSION) > $@-t && mv $@-t $@
|
|
|
|
dist-hook:
|
|
|
|
echo $(VERSION) > $(distdir)/.tarball-version
|
|
|
|
|
2013-06-16 10:29:54 +00:00
|
|
|
EXTRA_DIST = \
|
2024-01-26 16:45:28 +00:00
|
|
|
.version \
|
2013-06-16 10:29:54 +00:00
|
|
|
LEGAL \
|
|
|
|
COPYING \
|
2020-05-22 11:48:11 +00:00
|
|
|
README.md \
|
|
|
|
contrib/osmo-trx.spec.in \
|
|
|
|
debian \
|
2024-01-26 16:45:28 +00:00
|
|
|
git-version-gen \
|
2020-05-22 11:48:11 +00:00
|
|
|
$(NULL)
|
2013-06-16 10:29:54 +00:00
|
|
|
|
2018-12-04 14:41:40 +00:00
|
|
|
AM_DISTCHECK_CONFIGURE_FLAGS = \
|
2018-09-10 11:39:02 +00:00
|
|
|
--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
|
|
|
|
|
2018-01-04 12:40:42 +00:00
|
|
|
.PHONY: release
|
|
|
|
|
2017-08-28 10:10:55 +00:00
|
|
|
@RELMAKE@
|
2013-06-16 10:29:54 +00:00
|
|
|
|
|
|
|
dox: FORCE
|
|
|
|
doxygen doxconfig
|
|
|
|
|
|
|
|
FORCE:
|