mirror of https://gerrit.osmocom.org/osmo-pcap
build: Properly link and package the example configurations
This commit is contained in:
parent
557215fd56
commit
fc3a427fb1
|
@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
|
|||
SUBDIRS = include src contrib
|
||||
|
||||
BUILT_SOURCES = $(top_srcdir)/.version
|
||||
EXTRA_DIST = git-version-gen
|
||||
EXTRA_DIST = git-version-gen osmo-pcap-server.cfg osmo-pcap-client.cfg
|
||||
$(top_srcdir)/.version:
|
||||
echo $(VERSION) > $@-t && mv $@-t $@
|
||||
dist-hook:
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)/
|
||||
AM_CFLAGS = -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(PCAP_CFLAGS)
|
||||
AM_LDFLAGS = $(LIBOSMOCORE_LIBS) $(LIBOSMOVTY_LIBS)
|
||||
|
||||
bin_PROGRAMS = osmo_pcap_client osmo_pcap_server
|
||||
|
||||
osmo_pcap_client_SOURCES = osmo_client_main.c osmo_common.c \
|
||||
osmo_client_core.c osmo_client_vty.c \
|
||||
osmo_client_network.c
|
||||
osmo_pcap_client_LDADD = $(PCAP_LIBS)
|
||||
osmo_pcap_client_LDADD = $(PCAP_LIBS) $(LIBOSMOCORE_LIBS) $(LIBOSMOVTY_LIBS)
|
||||
|
||||
osmo_pcap_server_SOURCES = osmo_server_main.c osmo_common.c \
|
||||
osmo_server_vty.c osmo_server_network.c
|
||||
osmo_pcap_server_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOVTY_LIBS)
|
||||
|
|
Loading…
Reference in New Issue