mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr.git
synced 2025-11-02 13:13:29 +00:00
When using 'check_PROGRAMS', autoconf/automake generates smarter Makefiles, so that the test programs are not being compiled during the normal 'make all', but only during 'make check'. Change-Id: I70cf75b3cb6ae59c92248cc529546750fb0da07b
37 lines
572 B
Makefile
37 lines
572 B
Makefile
AM_CPPFLAGS = \
|
|
$(all_includes) \
|
|
$(NULL)
|
|
|
|
AM_CFLAGS = \
|
|
-I$(top_srcdir)/include \
|
|
$(LIBOSMOCORE_CFLAGS) \
|
|
$(LIBOSMOGSM_CFLAGS) \
|
|
$(NULL)
|
|
|
|
AM_LDFLAGS = \
|
|
-no-install \
|
|
$(NULL)
|
|
|
|
EXTRA_DIST = \
|
|
gsup_test.ok \
|
|
gsup_test.err \
|
|
$(NULL)
|
|
|
|
check_PROGRAMS = \
|
|
gsup_test \
|
|
$(NULL)
|
|
|
|
gsup_test_SOURCES = \
|
|
gsup_test.c \
|
|
$(NULL)
|
|
|
|
gsup_test_LDADD = \
|
|
$(top_builddir)/src/gsupclient/libosmo-gsup-client.la \
|
|
$(LIBOSMOCORE_LIBS) \
|
|
$(LIBOSMOGSM_LIBS) \
|
|
$(NULL)
|
|
|
|
.PHONY: update_exp
|
|
update_exp:
|
|
$(builddir)/gsup_test >"$(srcdir)/gsup_test.ok" 2>"$(srcdir)/gsup_test.err"
|