Cosmetic: {lib,gtp}/Makefile.am: diff friendly

Change-Id: Ib1956794edc6e82cfa6c5419b2609565674d98a4
This commit is contained in:
Oliver Smith 2024-02-22 15:21:22 +01:00
parent 6929391ecf
commit fa91a10498
2 changed files with 43 additions and 3 deletions

View File

@ -15,6 +15,20 @@ AM_CFLAGS = \
$(LIBOSMOCORE_CFLAGS) \
$(NULL)
libgtp_la_SOURCES = gtp.c gtp.h gsn.c gsn.h gtpie.c gtpie.h pdp.c pdp.h lookupa.c lookupa.h queue.c queue.h
libgtp_la_SOURCES = \
gsn.c \
gsn.h \
gtp.c \
gtp.h \
gtpie.c \
gtpie.h \
lookupa.c \
lookupa.h \
pdp.c \
pdp.h \
queue.c \
queue.h \
$(NULL)
libgtp_la_LDFLAGS = -version-info $(LIBVERSION) -no-undefined
libgtp_la_LIBADD = $(LIBOSMOCORE_LIBS)

View File

@ -1,6 +1,19 @@
noinst_LIBRARIES = libmisc.a
noinst_HEADERS = gnugetopt.h ippool.h lookup.h syserr.h tun.h in46_addr.h netdev.h gtp-kernel.h netns.h util.h icmpv6.h checksum.h
noinst_HEADERS = \
checksum.h \
gnugetopt.h \
gtp-kernel.h \
icmpv6.h \
in46_addr.h \
ippool.h \
lookup.h \
netdev.h \
netns.h \
syserr.h \
tun.h \
util.h \
$(NULL)
AM_CFLAGS = \
-fno-builtin \
@ -9,7 +22,20 @@ AM_CFLAGS = \
$(LIBOSMOCORE_CFLAGS) \
$(NULL)
libmisc_a_SOURCES = getopt1.c getopt.c ippool.c lookup.c tun.c debug.c in46_addr.c netdev.c netns.c util.c icmpv6.c checksum.c
libmisc_a_SOURCES = \
checksum.c \
debug.c \
getopt.c \
getopt1.c \
icmpv6.c \
in46_addr.c \
ippool.c \
lookup.c \
netdev.c \
netns.c \
tun.c \
util.c \
$(NULL)
if ENABLE_GTP_KERNEL
AM_CFLAGS += -DGTP_KERNEL $(LIBGTPNL_CFLAGS)