1: SRCRPLC=\
2: XSynchronize.rplc \
3: XtAddCallback.rplc \
4: XtAppExitMainLoop.rplc \
5: XtAppInitialize.rplc \
6: XtAppMainLoop.rplc \
7: XtCreatePopupShell.rplc \
8: XtCreateWidget.rplc \
9: XtDestroyWidget.rplc \
10: XtPopdown.rplc \
11: XtPopup.rplc \
12: XtRealizeWidget.rplc \
13: callbacks.rplc \
14: motif.rplc \
15: types.rplc
16:
17: SRCH=\
18: motif.h
19:
20: EXAMPLES=\
21: example.rpl
22:
23: OBJ=$(SRCRPLC:.rplc=.o)
24:
25: all: motif.rplso
26:
27: EXTRA_DIST = $(SRCRPLC) $(SRCH) $(EXAMPLES) definitions.sh
28:
29: clean:
30: \rm -f $(OBJ) motif.rplso
31:
32: variables.h: definitions.sh
33: @echo " DEF $@"
34: @$(srcdir)/definitions.sh $(builddir) $(top_builddir) \
35: $(top_srcdir)/tools/@OPENMOTIF@
36:
37: %.o: %.rplc $(SRCH) \
38: $(top_builddir)/src/rplexternals.h $(top_builddir)/src/rpl.h \
39: variables.h
40: @echo " RPLC $@"
41: @gfortran -x c -fPIC -Wall -DRPLCONFIG -O2 -g -funsigned-char \
42: -I$(top_srcdir) -I$(top_builddir)/src -I$(builddir) \
43: -DREADLINE_LIBRARY \
44: -I$(top_srcdir)/tools/@READLINE@ \
45: -I$(top_builddir)/tools/@READLINE@ \
46: -I$(top_builddir)/tools/@GSL@ \
47: -I$(top_srcdir)/tools/@OPENMOTIF@/lib \
48: @INCSIGSEGV@ \
49: -D_d_version_rpl=\"@VERSION@\" \
50: -c -o $@ $<
51:
52: motif.rplso: $(OBJ)
53: @echo " RPLSO $@"
54: @gfortran -shared -g -o $@ $+
55:
56: install: motif.rplso
57: $(INSTALL_DATA) $< $(DESTDIR)$(libdir)/$<
CVSweb interface <joel.bertrand@systella.fr>