blob: 2c449e0165f8220765fbf91eee9b9008836ca8ca [file] [log] [blame]
dburgess82c46ff2011-10-07 02:40:51 +00001#
2# Copyright 2008, 2009 Free Software Foundation, Inc.
kurtis.heimerldb70eb42012-12-16 06:06:32 +00003# Copyright 2011, 2012 Range Networks, Inc.
dburgess82c46ff2011-10-07 02:40:51 +00004#
5# This software is distributed under the terms of the GNU Public License.
6# See the COPYING file in the main directory for details.
7#
8# This program is free software: you can redistribute it and/or modify
9# it under the terms of the GNU General Public License as published by
10# the Free Software Foundation, either version 3 of the License, or
11# (at your option) any later version.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with this program. If not, see <http://www.gnu.org/licenses/>.
20#
21
22include $(top_srcdir)/Makefile.common
23
24AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES)
Pau Espin Pedrol3da1f832018-02-20 20:01:10 +010025AM_CXXFLAGS = -Wall -O3 -g -lpthread $(LIBOSMOCORE_CFLAGS) $(LIBOSMOCTRL_CFLAGS) $(LIBOSMOVTY_CFLAGS)
Pau Espin Pedrol5ea18172018-02-20 16:48:15 +010026AM_CFLAGS = $(LIBOSMOCORE_CFLAGS) $(LIBOSMOCTRL_CFLAGS) $(LIBOSMOVTY_CFLAGS)
kurtis.heimerl5a872472013-05-31 21:47:25 +000027
dburgess82c46ff2011-10-07 02:40:51 +000028noinst_LTLIBRARIES = libcommon.la
29
30libcommon_la_SOURCES = \
31 BitVector.cpp \
32 LinkedLists.cpp \
dburgess82c46ff2011-10-07 02:40:51 +000033 Threads.cpp \
34 Timeval.cpp \
Pau Espin Pedrol5ea18172018-02-20 16:48:15 +010035 Logger.cpp \
Oliver Smith8d9a05c2018-12-12 16:03:38 +010036 Utils.cpp \
Pau Espin Pedrol4456b6f2019-05-24 16:54:19 +020037 trx_rate_ctr.cpp \
Pau Espin Pedrol5ea18172018-02-20 16:48:15 +010038 trx_vty.c \
39 debug.c
Pau Espin Pedrol55dd2aa2018-10-02 09:34:52 +020040libcommon_la_LIBADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOCTRL_LIBS) $(LIBOSMOVTY_LIBS)
dburgess82c46ff2011-10-07 02:40:51 +000041
dburgess82c46ff2011-10-07 02:40:51 +000042noinst_HEADERS = \
43 BitVector.h \
Alexander Chemeris082bbbf2017-04-02 12:45:36 +020044 PRBS.h \
dburgess82c46ff2011-10-07 02:40:51 +000045 Interthread.h \
46 LinkedLists.h \
dburgess82c46ff2011-10-07 02:40:51 +000047 Threads.h \
48 Timeval.h \
dburgess82c46ff2011-10-07 02:40:51 +000049 Vector.h \
Pau Espin Pedrol5ea18172018-02-20 16:48:15 +010050 Logger.h \
Oliver Smith8d9a05c2018-12-12 16:03:38 +010051 Utils.h \
Pau Espin Pedrol4456b6f2019-05-24 16:54:19 +020052 trx_rate_ctr.h \
Pau Espin Pedrol5ea18172018-02-20 16:48:15 +010053 trx_vty.h \
Pau Espin Pedrolefac20b2018-02-21 14:59:19 +010054 debug.h \
Pau Espin Pedroldb936b92018-09-03 16:50:49 +020055 osmo_signal.h \
Pau Espin Pedrolefac20b2018-02-21 14:59:19 +010056 config_defs.h