2 -LIBGL_ALWAYS_SOFTWARE=true @ASY@ -config "" -d -render=4 -f png -o $(@:.png=) $<
5 --LIBGL_ALWAYS_SOFTWARE=true @ASY@ -config "" -d -render=0 -f pdf -noprc -o $@ $<
10 AM_CPPFLAGS = -Wextra -D_DEFAULT_SOURCE \
13 -I$(top_srcdir)/third-party \
14 -ftrack-macro-expansion=0 \
19 # wee need access to the private part until the trajectory is done.
20 AM_LDFLAGS = -Wl,--whole-archive,$(top_builddir)/hkl/.libs/libhkl.a,--no-whole-archive
23 $(top_builddir)/hkl/libhkl.la \
24 $(top_builddir)/hkl/api2/libhkl2.la \
29 noinst_PROGRAMS = sirius
31 SIRIUSFILES=s1-11.dat s2-11.dat s1-101.dat s2-101.dat m1-11.dat m2-11.dat m1-101.dat m2-101.dat m3-100.dat traj_n.dat
32 SVGFILES=sirius-s.svg sirius-m.svg sirius-m-zoom.svg traj_n.svg sirius-m3-100.svg
34 $(SVGFILES): $(SIRIUSFILES)
39 cd $(builddir) && ./sirius
42 $(SIRIUSFILES): sirius-stamp
43 ## Recover from the removal of $@
44 @if test -f $@; then :; else \
45 trap 'rm -rf sirius.lock sirius.stamp' 1 2 13 15; \
46 ## mkdir is a portable test-and-set
47 if mkdir sirius.lock 2>/dev/null; then \
48 ## This code is being executed by the first process.
50 $(MAKE) $(AM_MAKEFLAGS) sirius.stamp; \
52 ## This code is being executed by the follower processes.
53 ## Wait until the first process is done.
54 while test -d sirius.lock; do sleep 1; done; \
55 ## Succeed if and only if the first process succeeded.
56 test -f sirius.stamp; exit $$?; \
67 4S+2D_reciprocal.png \
68 4S+2D_reciprocal2.png \
69 4S+2D_reciprocal3.png \
70 4S+2D_reciprocal4.png \
83 CLEANFILES = $(SIRIUSFILES) $(SVGFILES) sirius-stamp
85 MAINTAINERCLEANFILES = $(dist_noinst_DATA)
94 4S+2D_reciprocal.asy \
95 4S+2D_reciprocal2.asy \
96 4S+2D_reciprocal3.asy \
97 4S+2D_reciprocal4.asy \
111 sirius-m-zoom.gnuplot \
112 sirius-m3-100.gnuplot \
115 # Support for GNU Flymake, in Emacs.
117 check-syntax: AM_CFLAGS += -fsyntax-only -pipe
119 test -z "$(CHK_SOURCES)" || $(COMPILE) $(CHK_SOURCES)