Skip to content
Snippets Groups Projects
Commit 502fbeed authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

Fix building and cleaning examples when '--without-example-programs'.

parent ad851fb5
No related branches found
No related tags found
1 merge request!14Draft: K202125/cdi 1.8.x pio merge followup
......@@ -2,6 +2,7 @@ SUBDIRS = pio
noinst_PROGRAMS =
check_PROGRAMS =
CLEANFILES =
EXTRA_PROGRAMS = \
cdi_copy \
......@@ -29,8 +30,10 @@ endif !with_on_demand_check_programs
if with_example_programs
noinst_PROGRAMS += $(EXTRA_PROGRAMS)
endif with_example_programs
examples: $(test_PROGRAMS_) $(EXTRA_PROGRAMS)
else !with_example_programs
CLEANFILES += $(EXTRA_PROGRAMS)
endif !with_example_programs
examples-local: $(test_PROGRAMS_) $(EXTRA_PROGRAMS)
AM_CPPFLAGS = -I$(top_srcdir)/src
......
noinst_PROGRAMS =
CLEANFILES =
EXTRA_PROGRAMS = \
collectData \
......@@ -22,8 +23,10 @@ endif ENABLE_CF_INTERFACE
if with_example_programs
noinst_PROGRAMS += $(EXTRA_PROGRAMS)
endif with_example_programs
examples: $(EXTRA_PROGRAMS)
else !with_example_programs
CLEANFILES += $(EXTRA_PROGRAMS)
endif !with_example_programs
examples-local: $(EXTRA_PROGRAMS)
AM_CPPFLAGS = -I$(top_srcdir)/src
AM_CFLAGS = $(YAXT_C_INCLUDE) $(MPI_C_INCLUDE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment