1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
MODULES = \
sequence list-as-sequence vector-as-sequence \
sequence-sgn sequence-sgn-simple \
sequence-list-impl sequence-vector-impl \
assoc-sgn assoc-list-impl hash-table module1 module2
PROGS = hello-world sequence-test sequence-sgn-test sequence-sgn-test2 \
assoc-test assoc-test2 \
objects1 objects2 module-test1 command-line-demo statprof-demo \
orientation1 orientation2 iterator-example nonpure-iterator-example \
bits fold
INTERFACE_SRC = $(MODULES:%=%.thi)
BODY_SRC = $(MODULES:%=%.thb)
PROG_SRC = $(PROGS:%=%.thp)
EXTRA_DIST = user.mk
examplesdir = $(THEME_D_EXAMPLES_DIR)
examples_DATA = $(INTERFACE_SRC) $(BODY_SRC) $(PROG_SRC) user.mk \
deps.mk module-deps.mk program-deps.mk \
run-programs.sh run-programs-mod.sh \
compute-pcode-module-deps.sh \
compute-example-program-deps.sh \
compute-example-target-module-deps.sh
install-data-hook ::
chmod 755 $(DESTDIR)/$(examplesdir)/run-programs.sh
chmod 755 $(DESTDIR)/$(examplesdir)/run-programs-mod.sh
chmod 755 $(DESTDIR)/$(examplesdir)/compute-pcode-module-deps.sh
chmod 755 $(DESTDIR)/$(examplesdir)/compute-example-program-deps.sh
chmod 755 $(DESTDIR)/$(examplesdir)/compute-example-target-module-deps.sh
mostlyclean-local: mostlyclean-local-check
.PHONY: mostlyclean-local-check
mostlyclean-local-check:
-rm -f *.tc?
|