1BUILT_SOURCES = femparameters.C # femparameters.h 2DISTCLEANFILES = $(BUILT_SOURCES) 3 4femparameters.C: $(top_srcdir)/examples/adjoints/adjoints_ex1/femparameters.C 5 $(AM_V_GEN)$(LN_S) -f $< $@ 6 7#femparameters.h: $(top_srcdir)/examples/adjoints/adjoints_ex1/femparameters.h 8# $(AM_V_GEN)$(LN_S) -f $< . 9 10example_name = adjoints_ex4 11check_SCRIPTS = run.sh 12install_dir = $(examples_install_path)/adjoints/ex4 13data = L-shaped.C element_qoi_derivative.C general.in side_postprocess.C L-shaped.h adjoints_ex4.C femparameters.C l-shaped.in side_qoi_derivative.C element_postprocess.C femparameters.h lshaped.xda run.sh 14sources = $(data) run.sh 15 16CLEANFILES = primal.out.* adjoint_*.out.* primal.e* adjoint_0.e* adjoint_1.e* 17 18# also need links for VPATH builds 19if LIBMESH_VPATH_BUILD 20 BUILT_SOURCES += .linkstamp 21.linkstamp: 22 -rm -f general.in && $(LN_S) -f $(srcdir)/general.in . 23 -rm -f lshaped.xda && $(LN_S) -f $(srcdir)/lshaped.xda . 24 -rm -f l-shaped.in && $(LN_S) -f $(srcdir)/l-shaped.in . 25 $(AM_V_GEN)touch .linkstamp 26 27 CLEANFILES += general.in lshaped.xda l-shaped.in .linkstamp 28endif 29 30############################################## 31# include common example environment 32include $(top_srcdir)/examples/Make.common 33