-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.djdsl.in
52 lines (40 loc) · 1.16 KB
/
Makefile.djdsl.in
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
41
42
43
44
45
46
47
48
49
50
51
52
DJDSL_TESTABLES = lm ctx dada opeg v1e
DJDSL_PARTS = examples ${DJDSL_TESTABLES}
djdsl: build
configure:
@for i in $(DJDSL_PARTS); do \
(cd $$i && ./configure ${SPOTO_ARGS} --moddir=${moddir}/djdsl); \
done
djdsl-build:
$(INSTALL_LIBRARY) ${srcdir}/library/${SCLIBSRC} ${SCLIB}
build: configure all
deps='' && \
for i in $(DJDSL_PARTS); do \
$(MAKE) -C $$i ; \
dep=$$($(MAKE) -C $$i --no-print-directory require); \
deps="$$deps $$dep"; \
done \
&& echo $$deps >> ${SCLIB}
djdsl-clean: clean-spot
@for i in $(DJDSL_PARTS); do \
$(MAKE) -C $$i clean; \
done
if test X"${SCLIB}" != X"" && test -f "${SCLIB}" ; then \
rm -f "${SCLIB}" ; \
fi
djdsl-distclean: distclean-spot
@for i in $(DJDSL_PARTS); do \
$(MAKE) -C $$i distclean; \
done
djdsl-test: build
@for i in $(DJDSL_TESTABLES); do \
$(MAKE) -C $$i test; \
done
install: build install-script-lib
@for i in $(DJDSL_PARTS); do \
$(MAKE) -C $$i install DESTDIR="$(DESTDIR)"; \
done
djdsl-shell: build
@ ${TCLSH_PROG} $(SCRIPT)
djdsl-dist: configure dist-spot
.PHONY: djdsl configure djdsl-clean djdsl-distclean djdsl-test djdsl-shell djdsl-dist