open5gs/lib/sctp/Makefile.am

43 lines
1.1 KiB
Makefile
Raw Normal View History

2019-04-27 14:54:30 +00:00
# Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
# This file is part of Open5GS.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero 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 <https://www.gnu.org/licenses/>.
2019-09-13 12:07:47 +00:00
pkglib_LTLIBRARIES = libogssctp.la
2019-09-13 12:07:47 +00:00
libogssctp_la_SOURCES = \
ogs-sctp.h ogs-sctp.c \
2017-12-07 05:37:58 +00:00
$(NULL)
2017-09-29 01:10:55 +00:00
2019-09-13 12:07:47 +00:00
if WITH_USRSCTP
libogssctp_la_SOURCES += ogs-usrsctp.c
else
libogssctp_la_SOURCES += ogs-lksctp.c
endif
libogssctp_la_LIBADD = \
2019-04-27 14:54:30 +00:00
@OGSCORE_LIBS@ \
2017-12-07 05:37:58 +00:00
$(NULL)
AM_CPPFLAGS = \
2019-04-27 14:54:30 +00:00
@OGSCORE_CFLAGS@ \
-I$(top_srcdir)/lib \
2017-12-07 05:37:58 +00:00
$(NULL)
AM_CFLAGS = \
2019-09-13 12:07:47 +00:00
-DOGS_SCTP_COMPILATION \
2017-12-07 05:37:58 +00:00
-Wall -Werror \
$(NULL)