mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 23:37:22 +00:00
add build system using Core Library
This commit is contained in:
parent
ea7950b2ea
commit
fdf97f47bb
104 changed files with 22806 additions and 0 deletions
46
Makefile.am
Normal file
46
Makefile.am
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SUBDIRS = lib src
|
||||
|
||||
bin_PROGRAMS = cellwired
|
||||
|
||||
dist_cellwired_SOURCES = main.c symtbl.h
|
||||
nodist_cellwired_SOURCES = symtbl.c
|
||||
|
||||
cellwired_LDADD = \
|
||||
$(top_srcdir)/src/libcellwire.la \
|
||||
$(top_srcdir)/lib/core/src/libcore.la \
|
||||
$(top_srcdir)/lib/logger/liblogger.la \
|
||||
-lpthread -lm -lsctp @OSLIBS@
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/lib/core/include \
|
||||
-I$(top_srcdir)/lib/logger \
|
||||
-I$(top_srcdir)/src
|
||||
|
||||
CLEANFILES = symtbl.c
|
||||
DISTCLEANFILES = $(DIST_ARCHIVES)
|
||||
MAINTAINERCLEANFILES = \
|
||||
configure config.in \
|
||||
aclocal.m4 m4/ltsugar.m4 m4/libtool.m4 m4/ltversion.m4 \
|
||||
m4/lt~obsolete.m4 m4/ltoptions.m4 \
|
||||
build-aux/depcomp build-aux/missing build-aux/config.guess \
|
||||
build-aux/config.sub build-aux/ltmain.sh build-aux/install-sh \
|
||||
.cscope.out .cscope.out.in .cscope.files .cscope.out.po \
|
||||
Makefile.in
|
||||
MOSTLYCLEANFILES = core *.stackdump
|
||||
|
||||
EXTRA_DIST = symtbl.sh
|
||||
|
||||
NM_TMP_FILE = nm.tmp
|
||||
.INTERMEDIATE: symtbl.c
|
||||
symtbl.c: $(bsd_DEPENDENCIES)
|
||||
@for las in $<; do \
|
||||
lib=`echo $$las | sed -e "s|\(.*\)/lib\([^/].*\)\.la|\1/.libs/lib\2.a|g"`; \
|
||||
echo $$lib; \
|
||||
nm $$lib >> $(NM_TMP_FILE); \
|
||||
done; \
|
||||
$(top_srcdir)/symtbl.sh $(NM_TMP_FILE) $@; \
|
||||
rm -f $(NM_TMP_FILE)
|
||||
Loading…
Add table
Add a link
Reference in a new issue