File:  [local] / rpl / modules / motif / Makefile.am
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Thu Jul 6 10:18:04 2017 UTC (6 years, 11 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Patches pour motif.rplso.

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

CVSweb interface <joel.bertrand@systella.fr>