1: SRCRPLC=\
2: motif.rplc
3:
4: SRCH=\
5: motif.h
6:
7: EXAMPLES=\
8: example.rpl
9:
10: OBJ=$(SRCRPLC:.rplc=.o)
11:
12: all: motif.rplso
13:
14: EXTRA_DIST = $(SRCRPLC) $(SRCH) $(EXAMPLES)
15:
16: clean:
17: \rm -f $(OBJ) motif.rplso
18:
19: variables.h: definitions.sh
20: $(srcdir)/definitions.sh $(builddir) $(top_builddir) \
21: $(top_srcdir)/tools/@OPENMOTIF@
22:
23: %.o: %.rplc $(SRCH) \
24: $(top_builddir)/src/rplexternals.h $(top_builddir)/src/rpl.h \
25: variables.h
26: gfortran -x c -fPIC -Wall -DRPLCONFIG -O2 -g -funsigned-char \
27: -I$(top_srcdir) -I$(top_builddir)/src -I$(builddir) \
28: -DREADLINE_LIBRARY \
29: -I$(top_srcdir)/tools/@READLINE@ \
30: -I$(top_builddir)/tools/@READLINE@ \
31: -I$(top_builddir)/tools/@GSL@ \
32: @INCSIGSEGV@ \
33: -D_d_version_rpl=\"@VERSION@\" \
34: -c -o $@ $<
35:
36: motif.rplso: $(OBJ)
37: gfortran -shared -g -o $@ $+
38:
39: install: motif.rplso
40: $(INSTALL_DATA) $< $(DESTDIR)$(libdir)/$<
CVSweb interface <joel.bertrand@systella.fr>