open5gs/Makefile.am

63 lines
2.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/>.
2017-02-02 11:34:37 +00:00
ACLOCAL_AMFLAGS = -I m4
2019-04-27 14:54:30 +00:00
EXTRA_DIST = build/git-version-gen .version README.md LICENSE
2017-02-02 11:34:37 +00:00
SUBDIRS = lib src support test
2017-02-02 11:34:37 +00:00
bin_PROGRAMS = nextepc-mmed nextepc-hssd nextepc-sgwd nextepc-pgwd nextepc-pcrfd nextepc-epcd
2017-02-02 11:34:37 +00:00
dist_nextepc_mmed_SOURCES = main.c
nextepc_mmed_LDADD = $(top_srcdir)/src/libmme.la
2017-07-11 10:16:45 +00:00
dist_nextepc_hssd_SOURCES = main.c
nextepc_hssd_LDADD = $(top_srcdir)/src/libhss.la
2017-07-11 10:16:45 +00:00
dist_nextepc_sgwd_SOURCES = main.c
nextepc_sgwd_LDADD = $(top_srcdir)/src/libsgw.la
2017-02-02 11:34:37 +00:00
dist_nextepc_pgwd_SOURCES = main.c
nextepc_pgwd_LDADD = $(top_srcdir)/src/libpgw.la
2017-07-11 10:16:45 +00:00
dist_nextepc_pcrfd_SOURCES = main.c
nextepc_pcrfd_LDADD = $(top_srcdir)/src/libpcrf.la
2017-08-17 05:15:08 +00:00
dist_nextepc_epcd_SOURCES = main.c
nextepc_epcd_LDADD = $(top_srcdir)/src/libepc.la
2017-02-20 12:16:45 +00:00
2017-02-02 11:34:37 +00:00
AM_CPPFLAGS = \
2019-04-27 14:54:30 +00:00
@OGSCORE_CFLAGS@ \
-I$(top_srcdir)/lib \
2018-08-14 08:28:22 +00:00
-I$(top_srcdir)/src \
2017-11-07 14:01:27 +00:00
$(NULL)
2017-02-02 11:34:37 +00:00
2017-07-13 06:16:41 +00:00
install-data-hook:
2017-10-24 11:52:58 +00:00
$(MKDIR_P) $(DESTDIR)/$(localstatedir)/log/nextepc
$(MKDIR_P) $(DESTDIR)/$(localstatedir)/run/nextepc-mmed
$(MKDIR_P) $(DESTDIR)/$(localstatedir)/run/nextepc-sgwd
$(MKDIR_P) $(DESTDIR)/$(localstatedir)/run/nextepc-pgwd
$(MKDIR_P) $(DESTDIR)/$(localstatedir)/run/nextepc-pcrfd
$(MKDIR_P) $(DESTDIR)/$(localstatedir)/run/nextepc-hssd
$(MKDIR_P) $(DESTDIR)/$(localstatedir)/run/nextepc-epcd
2017-07-13 06:16:41 +00:00
2019-04-27 14:54:30 +00:00
BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:
echo $(VERSION) > $@-t && mv $@-t $@
dist-hook:
echo $(VERSION) > $(distdir)/.tarball-version