File:  [local] / rpl / modules / motif / Makefile.am
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Wed Jul 5 13:53:39 2017 UTC (6 years, 11 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Premiers bouts de code pour la bibliothèque d'interface Xm.

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

CVSweb interface <joel.bertrand@systella.fr>