version 1.16, 2010/04/17 18:57:34
|
version 1.119, 2023/08/07 13:30:50
|
Line 1
|
Line 1
|
ldadd_libncurses = $(top_builddir)/tools/@NCURSES@/lib/libncurses.a |
-include $(top_builddir)/tools/openmotif.lib |
|
|
|
ldadd_libncurses = $(top_builddir)/tools/@NCURSES@/lib/@LIB_PREFIX@ncurses.a |
include_libncurses = -I$(top_builddir)/tools/@NCURSES@/include \ |
include_libncurses = -I$(top_builddir)/tools/@NCURSES@/include \ |
-I$(top_srcdir)/tools/@NCURSES@/include |
-I$(top_srcdir)/tools/@NCURSES@/include |
|
|
Line 7 ldadd_libreadline = $(top_builddir)/tool
|
Line 9 ldadd_libreadline = $(top_builddir)/tool
|
include_libreadline = -I$(top_srcdir)/tools/@READLINE@ \ |
include_libreadline = -I$(top_srcdir)/tools/@READLINE@ \ |
-I$(top_builddir)/tools/@READLINE@ -DREADLINE_LIBRARY |
-I$(top_builddir)/tools/@READLINE@ -DREADLINE_LIBRARY |
|
|
ldadd_libgsl = $(top_builddir)/tools/@GSL@/.libs/libgsl.a |
ldadd_libgsl = $(top_builddir)/tools/@GSL@/.libs/@LIB_PREFIX@gsl.a \ |
|
$(top_builddir)/tools/@GSL@/cblas/.libs/@LIB_PREFIX@gslcblas.a |
include_libgsl = -I$(top_builddir)/tools/@GSL@ |
include_libgsl = -I$(top_builddir)/tools/@GSL@ |
|
|
ldadd_libiconv = $(top_builddir)/tools/@ICONV@/lib/.libs/libiconv.a |
ldadd_libiconv = $(top_builddir)/tools/@ICONV@/lib/.libs/@LIB_PREFIX@iconv.a |
include_libiconv = -I$(top_builddir)/tools/@ICONV@/include |
include_libiconv = -I$(top_builddir)/tools/@ICONV@/include |
|
|
ldadd_libcrypto = $(top_builddir)/tools/@OPENSSL@/libcrypto.a |
ldadd_libcrypto = $(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@crypto.a |
ldadd_libssl = $(top_builddir)/tools/@OPENSSL@/libssl.a |
ldadd_libssl = $(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@ssl.a |
include_libcrypto = -I$(top_builddir)/tools/@OPENSSL@/include |
include_libcrypto = -I$(top_builddir)/tools/@OPENSSL@/include |
|
|
ldadd_libsqlite = $(top_builddir)/tools/@SQLITE@/.libs/libsqlite3.a |
ldadd_libsqlite = $(top_builddir)/tools/@SQLITE@/.libs/@LIB_PREFIX@sqlite3.a |
include_libsqlite = -I$(top_srcdir)/tools/@SQLITE@ |
include_libsqlite = -I$(top_srcdir)/tools/@SQLITE@ |
|
|
date := -Dd_date_rpl="\"$(shell LC_ALL=fr_FR date +'%A %x, %X %Z' | \ |
ldadd_libsigsegv = @LIBSIGSEGV@ |
$(AWK) '{ v=$$0; gsub(/^[ \t]+/, "", v); gsub(/[ \t]+$$/, "", v); \ |
include_libsigsegv = @INCSIGSEGV@ |
printf("%s\n", v);}')\"" \ |
|
|
ldadd_libz = $(top_builddir)/tools/@ZLIB@/libz.a |
|
include_libz = -I$(top_builddir)/tools/@ZLIB@ |
|
|
|
ldadd_librplcas = @LIBRPLCAS@ @LIBGIAC@ |
|
include_librplcas = @INCRPLCAS@ |
|
|
|
ldadd_libmotif = @LIBMOTIF@ |
|
include_libmotif = @INCMOTIF@ |
|
|
|
date = -Dd_date_rpl="\"$(shell LC_ALL=C date +'%A' | \ |
|
$(AWK) '/Monday/ { printf("Lundi"); } \ |
|
/Tuesday/ { printf("Mardi"); } \ |
|
/Wednesday/ { printf("Mercredi"); } \ |
|
/Thursday/ { printf("Jeudi"); } \ |
|
/Friday/ { printf("Vendredi"); } \ |
|
/Saturday/ { printf("Samedi"); } \ |
|
/Sunday/ { printf("Dimanche"); }') \ |
|
$(shell LC_ALL=C date +'%d/%m/%Y, %X %Z' | \ |
|
$(AWK) '{ v=$$0; gsub(/^[ \t]+/, "", v); gsub(/[ \t]+$$/, "", v); \ |
|
printf("%s\n", v);}')\"" \ |
-Dd_date_en_rpl="\"$(shell LC_ALL=C date +'%A %x, %X %Z' | \ |
-Dd_date_en_rpl="\"$(shell LC_ALL=C date +'%A %x, %X %Z' | \ |
$(AWK) '{ v=$$0; gsub(/^[ \t]+/, "", v); gsub(/[ \t]+$$/, "", v); \ |
$(AWK) '{ v=$$0; gsub(/^[ \t]+/, "", v); gsub(/[ \t]+$$/, "", v); \ |
printf("%s\n", v);}')\"" |
printf("%s\n", v);}')\"" |
|
|
hash := -Drplpp_md5="\"$(shell $(top_builddir)/rplsums/rplmd5sum \ |
hash = -Drplpp_md5="\"$(shell @RPLTOOLS@/rplsums/rplmd5sum$(EXEEXT) \ |
$(top_builddir)/tools/@GPP@/src/gpp$(EXEEXT))\"" \ |
$(top_builddir)/tools/@GPP@/src/gpp$(EXEEXT))\"" \ |
-Drplpp_sha1="\"$(shell $(top_builddir)/rplsums/rplsha1sum \ |
-Drplpp_sha1="\"$(shell @RPLTOOLS@/rplsums/rplsha1sum$(EXEEXT) \ |
$(top_builddir)/tools/@GPP@/src/gpp$(EXEEXT))\"" \ |
$(top_builddir)/tools/@GPP@/src/gpp$(EXEEXT))\"" \ |
-Drplfile_md5="\"$(shell $(top_builddir)/rplsums/rplmd5sum \ |
-Drplfile_md5="\"$(shell @RPLTOOLS@/rplsums/rplmd5sum$(EXEEXT) \ |
$(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT))\"" \ |
$(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT))\"" \ |
-Drplfile_sha1="\"$(shell $(top_builddir)/rplsums/rplsha1sum \ |
-Drplfile_sha1="\"$(shell @RPLTOOLS@/rplsums/rplsha1sum$(EXEEXT) \ |
$(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT))\"" \ |
$(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT))\"" \ |
-Drpliconv_md5="\"$(shell $(top_builddir)/rplsums/rplmd5sum \ |
-Drpliconv_md5="\"$(shell @RPLTOOLS@/rplsums/rplmd5sum$(EXEEXT) \ |
$(top_builddir)/rpliconv/rpliconv$(EXEEXT))\"" \ |
$(top_builddir)/rpliconv/rpliconv$(EXEEXT))\"" \ |
-Drpliconv_sha1="\"$(shell $(top_builddir)/rplsums/rplsha1sum \ |
-Drpliconv_sha1="\"$(shell @RPLTOOLS@/rplsums/rplsha1sum$(EXEEXT) \ |
$(top_builddir)/rpliconv/rpliconv$(EXEEXT))\"" \ |
$(top_builddir)/rpliconv/rpliconv$(EXEEXT))\"" \ |
-Drplconvert_md5="\"$(shell $(top_builddir)/rplsums/rplmd5sum \ |
-Drplawk_md5="\"$(shell @RPLTOOLS@/rplsums/rplmd5sum$(EXEEXT) \ |
|
$(top_builddir)/rplawk/rplawk$(EXEEXT))\"" \ |
|
-Drplawk_sha1="\"$(shell @RPLTOOLS@/rplsums/rplsha1sum$(EXEEXT) \ |
|
$(top_builddir)/rplawk/rplawk$(EXEEXT))\"" \ |
|
-Drplconvert_md5="\"$(shell @RPLTOOLS@/rplsums/rplmd5sum$(EXEEXT) \ |
$(top_builddir)/tools/@UNITS@/units$(EXEEXT))\"" \ |
$(top_builddir)/tools/@UNITS@/units$(EXEEXT))\"" \ |
-Drplconvert_sha1="\"$(shell $(top_builddir)/rplsums/rplsha1sum \ |
-Drplconvert_sha1="\"$(shell @RPLTOOLS@/rplsums/rplsha1sum$(EXEEXT) \ |
$(top_builddir)/tools/@UNITS@/units$(EXEEXT))\"" |
$(top_builddir)/tools/@UNITS@/units$(EXEEXT))\"" |
|
|
SRCC=\ |
SRCC=\ |
Line 49 SRCC=\
|
Line 76 SRCC=\
|
algebre_lineaire2.c\ |
algebre_lineaire2.c\ |
algebre_lineaire3.c\ |
algebre_lineaire3.c\ |
algebre_lineaire4.c\ |
algebre_lineaire4.c\ |
|
allocateur.c\ |
analyse.c\ |
analyse.c\ |
analyse_notation_algebrique.c\ |
analyse_notation_algebrique.c\ |
analyse_notation_rpn.c\ |
analyse_notation_rpn.c\ |
Line 57 SRCC=\
|
Line 85 SRCC=\
|
calcul_differentiel.c\ |
calcul_differentiel.c\ |
calcul_integral.c\ |
calcul_integral.c\ |
chainage.c\ |
chainage.c\ |
|
chiffrement.c\ |
compilation.c\ |
compilation.c\ |
completion.c\ |
completion.c\ |
controle.c \ |
controle.c \ |
Line 69 SRCC=\
|
Line 98 SRCC=\
|
fonctions_trigonometriques.c\ |
fonctions_trigonometriques.c\ |
formateur.c\ |
formateur.c\ |
formateur_fichiers.c\ |
formateur_fichiers.c\ |
|
formateur_flux.c\ |
fusible.c\ |
fusible.c\ |
generateurs_aleatoires.c\ |
generateurs_aleatoires.c\ |
gestion_fichiers.c\ |
gestion_fichiers.c\ |
Line 83 SRCC=\
|
Line 113 SRCC=\
|
gestion_variables.c\ |
gestion_variables.c\ |
gestion_variables_statiques.c\ |
gestion_variables_statiques.c\ |
gestion_variables_partagees.c\ |
gestion_variables_partagees.c\ |
|
getaddrinfo.c\ |
indicateurs.c\ |
indicateurs.c\ |
instructions_a1.c\ |
instructions_a1.c\ |
instructions_a2.c\ |
instructions_a2.c\ |
Line 97 SRCC=\
|
Line 128 SRCC=\
|
instructions_c5.c\ |
instructions_c5.c\ |
instructions_c6.c\ |
instructions_c6.c\ |
instructions_c7.c\ |
instructions_c7.c\ |
|
instructions_c8.c\ |
|
instructions_c9.c\ |
instructions_d1.c\ |
instructions_d1.c\ |
instructions_d2.c\ |
instructions_d2.c\ |
instructions_d3.c\ |
instructions_d3.c\ |
Line 128 SRCC=\
|
Line 161 SRCC=\
|
instructions_l3.c\ |
instructions_l3.c\ |
instructions_l4.c\ |
instructions_l4.c\ |
instructions_l5.c\ |
instructions_l5.c\ |
|
instructions_l6.c\ |
instructions_m1.c\ |
instructions_m1.c\ |
instructions_m2.c\ |
instructions_m2.c\ |
instructions_m3.c\ |
instructions_m3.c\ |
instructions_m4.c\ |
instructions_m4.c\ |
|
instructions_m5.c\ |
instructions_n1.c\ |
instructions_n1.c\ |
instructions_n2.c\ |
instructions_n2.c\ |
instructions_o1.c\ |
instructions_o1.c\ |
Line 143 SRCC=\
|
Line 178 SRCC=\
|
instructions_p5.c\ |
instructions_p5.c\ |
instructions_p6.c\ |
instructions_p6.c\ |
instructions_p7.c\ |
instructions_p7.c\ |
|
instructions_p8.c\ |
instructions_q1.c\ |
instructions_q1.c\ |
instructions_r1.c\ |
instructions_r1.c\ |
instructions_r2.c\ |
instructions_r2.c\ |
Line 150 SRCC=\
|
Line 186 SRCC=\
|
instructions_r4.c\ |
instructions_r4.c\ |
instructions_r5.c\ |
instructions_r5.c\ |
instructions_r6.c\ |
instructions_r6.c\ |
|
instructions_r7.c\ |
instructions_s1.c\ |
instructions_s1.c\ |
instructions_s2.c\ |
instructions_s2.c\ |
instructions_s3.c\ |
instructions_s3.c\ |
Line 160 SRCC=\
|
Line 197 SRCC=\
|
instructions_s8.c\ |
instructions_s8.c\ |
instructions_s9.c\ |
instructions_s9.c\ |
instructions_s10.c\ |
instructions_s10.c\ |
|
instructions_s11.c\ |
instructions_t1.c\ |
instructions_t1.c\ |
instructions_t2.c\ |
instructions_t2.c\ |
instructions_t3.c\ |
instructions_t3.c\ |
instructions_u1.c\ |
instructions_u1.c\ |
|
instructions_u2.c\ |
instructions_v1.c\ |
instructions_v1.c\ |
instructions_v2.c\ |
instructions_v2.c\ |
instructions_w1.c\ |
instructions_w1.c\ |
Line 172 SRCC=\
|
Line 211 SRCC=\
|
instructions_x2.c\ |
instructions_x2.c\ |
instructions_y1.c\ |
instructions_y1.c\ |
interface_gnuplot.c\ |
interface_gnuplot.c\ |
|
interface_readline.c\ |
interface_tex.c\ |
interface_tex.c\ |
interruptions.c\ |
interruptions.c\ |
messages.c\ |
messages.c\ |
Line 191 SRCC=\
|
Line 231 SRCC=\
|
transliteration.c\ |
transliteration.c\ |
types.c |
types.c |
|
|
|
SRCCPP=\ |
|
interface_cas.cpp |
|
|
SRCH=\ |
SRCH=\ |
completion.h\ |
completion.h\ |
convert.h\ |
convert.h\ |
copyright.h\ |
copyright.h\ |
garanties.h\ |
garanties.h\ |
|
getaddrinfo.h\ |
gnuplot.h\ |
gnuplot.h\ |
librpl.h\ |
librpl.h\ |
licence.h\ |
licence.h\ |
Line 226 INIT_EXE=init.c
|
Line 270 INIT_EXE=init.c
|
|
|
INIT_LIB=librpl.c |
INIT_LIB=librpl.c |
|
|
LIB=-lz @LIBMTMALLOC@ |
LIB=@MALLOC@ @OPENMP@ |
|
|
bin_PROGRAMS = rpl |
bin_PROGRAMS = rpl |
lib_LIBRARIES = librpl.a |
lib_LIBRARIES = librpl.a |
|
|
SRCCc=$(SRCC:.c=.conv.c) |
SRCCc=$(SRCC:.c=-conv.c) |
SRCHc=$(SRCH:.h=.conv.h) |
SRCHc=$(SRCH:.h=-conv.h) |
SRCFc=$(SRCF:.f=.conv.f) |
SRCCPPc=$(SRCCPP:.cpp=-conv.cpp) |
SRCF90c=$(SRCF90:.F90=.conv.F90) |
SRCFc=$(SRCF:.f=-conv.f) |
SRCINCc=$(SRCINC:.inc=.conv.inc) |
SRCF90c=$(SRCF90:.F90=-conv.F90) |
INIT_LIBc=$(INIT_LIB:.c=.conv.c) |
SRCINCc=$(SRCINC:.inc=-conv.inc) |
INIT_EXEc=$(INIT_EXE:.c=.conv.c) |
INIT_LIBc=$(INIT_LIB:.c=-conv.c) |
|
INIT_EXEc=$(INIT_EXE:.c=-conv.c) |
%.conv.c: %.c |
|
$(top_builddir)/rpliconv/rpliconv \ |
%-conv.c: %.c |
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
@echo " CONV $<" |
-m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \ |
@@RPLTOOLS@/rpliconv/rpliconv \ |
|
-f `@RPLTOOLS@/tools/@FILE@/src/rplfile \ |
|
-m @RPLTOOLS@/tools/@FILE@/magic/magic -i $< | \ |
$(AWK) -F= '{print $$2;}'` \ |
$(AWK) -F= '{print $$2;}'` \ |
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
|
|
%.conv.h: %.h |
%-conv.cpp: %.cpp |
$(top_builddir)/rpliconv/rpliconv \ |
@echo " CONV $<" |
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
@@RPLTOOLS@/rpliconv/rpliconv \ |
-m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \ |
-f `@RPLTOOLS@/tools/@FILE@/src/rplfile \ |
|
-m @RPLTOOLS@/tools/@FILE@/magic/magic -i $< | \ |
$(AWK) -F= '{print $$2;}'` \ |
$(AWK) -F= '{print $$2;}'` \ |
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
|
|
%.conv.f: %.f |
%-conv.h: %.h |
$(top_builddir)/rpliconv/rpliconv \ |
@echo " CONV $<" |
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
@@RPLTOOLS@/rpliconv/rpliconv \ |
-m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \ |
-f `@RPLTOOLS@/tools/@FILE@/src/rplfile \ |
|
-m @RPLTOOLS@/tools/@FILE@/magic/magic -i $< | \ |
$(AWK) -F= '{print $$2;}'` \ |
$(AWK) -F= '{print $$2;}'` \ |
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
|
|
%.conv.F90: %.F90 |
%-conv.f: %.f |
$(top_builddir)/rpliconv/rpliconv \ |
@echo " CONV $<" |
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
@@RPLTOOLS@/rpliconv/rpliconv \ |
-m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \ |
-f `@RPLTOOLS@/tools/@FILE@/src/rplfile \ |
|
-m @RPLTOOLS@/tools/@FILE@/magic/magic -i $< | \ |
$(AWK) -F= '{print $$2;}'` \ |
$(AWK) -F= '{print $$2;}'` \ |
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
|
|
%.conv.inc: %.inc |
%-conv.F90: %.F90 |
$(top_builddir)/rpliconv/rpliconv \ |
@echo " CONV $<" |
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
@@RPLTOOLS@/rpliconv/rpliconv \ |
-m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \ |
-f `@RPLTOOLS@/tools/@FILE@/src/rplfile \ |
|
-m @RPLTOOLS@/tools/@FILE@/magic/magic -i $< | \ |
|
$(AWK) -F= '{print $$2;}'` \ |
|
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
|
|
|
%-conv.inc: %.inc |
|
@echo " CONV $<" |
|
@@RPLTOOLS@/rpliconv/rpliconv \ |
|
-f `@RPLTOOLS@/tools/@FILE@/src/rplfile \ |
|
-m @RPLTOOLS@/tools/@FILE@/magic/magic -i $< | \ |
$(AWK) -F= '{print $$2;}'` \ |
$(AWK) -F= '{print $$2;}'` \ |
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
|
|
licences: |
licences: |
cat $(srcdir)/../COPYING > $(srcdir)/licence.h |
cat $(srcdir)/../HEADER > $(srcdir)/licence.h |
echo >> $(srcdir)/licence.h |
echo >> $(srcdir)/licence.h |
echo >> $(srcdir)/licence.h |
echo >> $(srcdir)/licence.h |
echo "#ifndef INCLUSION_LICENCE" >> $(srcdir)/licence.h |
echo "#ifndef INCLUSION_LICENCE" >> $(srcdir)/licence.h |
Line 293 licences:
|
Line 351 licences:
|
echo "#endif" >> $(srcdir)/licence.h |
echo "#endif" >> $(srcdir)/licence.h |
echo >> $(srcdir)/licence.h |
echo >> $(srcdir)/licence.h |
echo "// vim: ts=4" >> $(srcdir)/licence.h |
echo "// vim: ts=4" >> $(srcdir)/licence.h |
for i in $(SRCC) $(SRCH) $(INIT_EXE) $(INIT_LIB); \ |
for i in $(SRCC) $(SRCCPP) $(SRCH) $(INIT_EXE) $(INIT_LIB); \ |
do \ |
do \ |
cat $(srcdir)/../COPYING > $(srcdir)/tmp; \ |
cat $(srcdir)/../HEADER > $(srcdir)/tmp; \ |
echo >> $(srcdir)/tmp; \ |
echo >> $(srcdir)/tmp; \ |
echo >> $(srcdir)/tmp; \ |
echo >> $(srcdir)/tmp; \ |
$(AWK) -F'\n' 'BEGIN {d=0;} /^#/ {d=1;} {if(d==1) print $$1;}' \ |
$(AWK) -F'\n' 'BEGIN {d=0;} /^#/ {d=1;} {if(d==1) print $$1;}' \ |
Line 304 licences:
|
Line 362 licences:
|
done |
done |
for i in $(SRCINC); \ |
for i in $(SRCINC); \ |
do \ |
do \ |
iconv -f `file -i $(srcdir)/../COPYING | $(AWK) -F= '{print $$2;}'` \ |
iconv -f `file -i $(srcdir)/../HEADER | $(AWK) -F= '{print $$2;}'` \ |
$(srcdir)/../COPYING | \ |
$(srcdir)/../HEADER | \ |
$(AWK) -F'\n' '! (/^\/\*/ || /^\*\//) \ |
$(AWK) -F'\n' '! (/^\/\*/ || /^\*\//) \ |
{printf("!%s\n", substr($$1,2));}' | \ |
{printf("!%s\n", substr($$1,2));}' | \ |
iconv -t `file -i $(srcdir)/../COPYING | \ |
iconv -t `file -i $(srcdir)/../HEADER | \ |
$(AWK) -F= '{print $$2;}'` > $(srcdir)/tmp; \ |
$(AWK) -F= '{print $$2;}'` > $(srcdir)/tmp; \ |
$(AWK) -F'\n' 'BEGIN {d=0;} ! /^!/ {d=1;} {if(d==1) print $$1;}' \ |
$(AWK) -F'\n' 'BEGIN {d=0;} ! /^!/ {d=1;} {if(d==1) print $$1;}' \ |
$(srcdir)/$$i >> $(srcdir)/tmp; \ |
$(srcdir)/$$i >> $(srcdir)/tmp; \ |
Line 316 licences:
|
Line 374 licences:
|
done |
done |
for i in $(SRCF); \ |
for i in $(SRCF); \ |
do \ |
do \ |
iconv -f `file -i $(srcdir)/../COPYING | $(AWK) -F= '{print $$2;}'` \ |
iconv -f `file -i $(srcdir)/../HEADER | $(AWK) -F= '{print $$2;}'` \ |
$(srcdir)/../COPYING | \ |
$(srcdir)/../HEADER | \ |
$(AWK) -F'\n' '! (/^\/\*/ || /^\*\//) \ |
$(AWK) -F'\n' '! (/^\/\*/ || /^\*\//) \ |
{printf("C%s\n", substr($$1,2));}' | \ |
{printf("C%s\n", substr($$1,2));}' | \ |
iconv -t `file -i $(srcdir)/../COPYING | \ |
iconv -t `file -i $(srcdir)/../HEADER | \ |
$(AWK) -F= '{print $$2;}'` > $(srcdir)/tmp; \ |
$(AWK) -F= '{print $$2;}'` > $(srcdir)/tmp; \ |
$(AWK) -F'\n' 'BEGIN {d=0;} ! /^C/ {d=1;} {if(d==1) print $$1;}' \ |
$(AWK) -F'\n' 'BEGIN {d=0;} ! /^C/ {d=1;} {if(d==1) print $$1;}' \ |
$(srcdir)/$$i >> $(srcdir)/tmp; \ |
$(srcdir)/$$i >> $(srcdir)/tmp; \ |
Line 328 licences:
|
Line 386 licences:
|
done |
done |
for i in $(SRCF90); \ |
for i in $(SRCF90); \ |
do \ |
do \ |
iconv -f `file -i $(srcdir)/../COPYING | $(AWK) -F= '{print $$2;}'` \ |
iconv -f `file -i $(srcdir)/../HEADER | $(AWK) -F= '{print $$2;}'` \ |
$(srcdir)/../COPYING | \ |
$(srcdir)/../HEADER | \ |
$(AWK) -F'\n' '! (/^\/\*/ || /^\*\//) \ |
$(AWK) -F'\n' '! (/^\/\*/ || /^\*\//) \ |
{printf("!%s\n", substr($$1,2));}' | \ |
{printf("!%s\n", substr($$1,2));}' | \ |
iconv -t `file -i $(srcdir)/../COPYING | \ |
iconv -t `file -i $(srcdir)/../HEADER | \ |
$(AWK) -F= '{print $$2;}'` > $(srcdir)/tmp; \ |
$(AWK) -F= '{print $$2;}'` > $(srcdir)/tmp; \ |
$(AWK) -F'\n' 'BEGIN {d=0;} ! /^!/ {d=1;} {if(d==1) print $$1;}' \ |
$(AWK) -F'\n' 'BEGIN {d=0;} ! /^!/ {d=1;} {if(d==1) print $$1;}' \ |
$(srcdir)/$$i >> $(srcdir)/tmp; \ |
$(srcdir)/$$i >> $(srcdir)/tmp; \ |
Line 340 licences:
|
Line 398 licences:
|
done |
done |
|
|
librplprototypes.h: rpl.h conversion.awk |
librplprototypes.h: rpl.h conversion.awk |
$(AWK) -f $(srcdir)/conversion.awk $(srcdir)/rpl.h > \ |
@echo " AWK $@" |
|
@$(AWK) -f $(srcdir)/conversion.awk $(srcdir)/rpl.h > \ |
$(top_builddir)/src/librplprototypes.h |
$(top_builddir)/src/librplprototypes.h |
|
|
generateurs.c: generateurs_aleatoires.awk |
generateurs.c: generateurs_aleatoires.awk |
$(AWK) -f $(srcdir)/generateurs_aleatoires.awk \ |
@echo " AWK $@" |
|
@$(AWK) -f $(srcdir)/generateurs_aleatoires.awk \ |
$(srcdir)/../tools/@GSL@/rng/gsl_rng.h > \ |
$(srcdir)/../tools/@GSL@/rng/gsl_rng.h > \ |
$(top_builddir)/src/generateurs.c |
$(top_builddir)/src/generateurs.c |
|
|
rpl.inc: |
rpl.inc: |
echo BUILDPATH=$(shell pwd)/.. > $@ |
@echo " BUILD $@" |
echo COMPILE=$(DEFS) >> $@ |
@echo RPL_BUILDPATH=$(top_builddir)/.. > $@ |
echo LINK=@libX@ @libMySQLlib@ @libPgSQLlib@ $(LIBS) >> $@ |
@echo RPL_COMPILE="$(DEFS) @ABI@" | sed -e '1,$$s/"/\\"/g' | \ |
echo OBJECTS=$(SRCCc:.c=.o) $(SRCFc:.f=.o) $(SRCF90c:.F90=.o) \ |
sed -e '1,$$s/=\\"/="\\"/g' | sed -e '1,$$s/\\" /\\"" /g' >> $@ |
librpl.conv.o >> $@ |
@echo -n RPL_LINK=@libX@ @libMySQLlib@ @libPgSQLlib@ @LIBS@ -lgfortran >> $@ |
echo EXTOBJECTS= \ |
@if [ -f $(top_builddir)/tools/openmotif.lib ]; then \ |
$(top_builddir)/lapack/lapack/liblapack.a \ |
$(AWK) -F= '/^LD_MOTIF_LIBS/ { printf(" %s", $$2); }' \ |
$(top_builddir)/lapack/blas/libblas.a \ |
$(top_builddir)/tools/openmotif.lib >> $@; \ |
$(ldadd_libhistory) \ |
$(AWK) -F= '/^LD_MOTIF_X_XMU/ { printf(" %s", $$2); }' \ |
$(ldadd_libreadline) \ |
$(top_builddir)/tools/openmotif.lib >> $@; \ |
$(ldadd_libncurses) \ |
fi |
$(ldadd_libgsl) \ |
@echo >> $@ |
$(ldadd_libiconv) \ |
@echo RPL_FLAGS=-Wno-pointer-sign >> $@ |
$(ldadd_libcrypto) \ |
@echo RPL_OBJECTS=$(SRCCc:.c=.$(OBJEXT)) $(SRCFc:.f=.$(OBJEXT)) \ |
$(ldadd_libssl) \ |
$(SRCF90c:.F90=.$(OBJEXT)) $(SRCCPPc:.cpp=.$(OBJEXT)) \ |
$(ldadd_libsqlite) \ |
librpl-conv.$(OBJEXT) >> $@ |
>> $@ |
@echo RPL_EXTOBJECTS= @EXT_SQL@ \ |
gcc $(INCLUDES) $(DEFS) $(AM_CFLAGS) $(rpl_CFLAGS) librpl.conv.c \ |
$(top_builddir)/lapack/lapack/liblapack.a \ |
-c -o rpl-librpl.conv.o |
$(top_builddir)/lapack/blas/libblas.a \ |
|
$(ldadd_libhistory) \ |
|
$(ldadd_libreadline) \ |
|
$(ldadd_libncurses) \ |
|
$(ldadd_libgsl) \ |
|
$(ldadd_libiconv) \ |
|
$(ldadd_libcrypto) \ |
|
$(ldadd_libssl) \ |
|
$(ldadd_libsqlite) \ |
|
$(ldadd_librplcas) \ |
|
$(ldadd_libsigsegv) \ |
|
$(ldadd_libmotif) \ |
|
$(ldadd_libz) \ |
|
>> $@ |
|
|
EXTRA_DIST = $(SRCC) $(SRCH) $(SRCF) $(SRCF90) $(SRCINC) \ |
EXTRA_DIST = $(SRCC) $(SRCH) $(SRCCPP) $(SRCF) $(SRCF90) $(SRCINC) \ |
$(INIT_EXE) $(INIT_LIB) $(SRCXPM) \ |
$(INIT_EXE) $(INIT_LIB) $(SRCXPM) \ |
conversion.awk generateurs_aleatoires.awk |
conversion.awk generateurs_aleatoires.awk |
BUILT_SOURCES = librplprototypes.h generateurs.c \ |
BUILT_SOURCES = librplprototypes.h generateurs.c \ |
$(SRCCc) $(SRCHc) $(SRCFc) $(SRCF90c) \ |
$(SRCCc) $(SRCHc) $(SRCCPPc) $(SRCFc) $(SRCF90c) \ |
$(INIT_LIBc) $(SRCINCc) $(INIT_EXEc) \ |
$(INIT_LIBc) $(SRCINCc) $(INIT_EXEc) \ |
rpl.inc |
rpl.inc |
CLEANFILES= $(SRCCc) $(SRCHc) $(SRCFc) $(SRCF90c) $(SRCINCc) \ |
CLEANFILES= $(SRCCc) $(SRCHc) $(SRCCPPc) $(SRCFc) $(SRCF90c) $(SRCINCc) \ |
$(INIT_LIBc) $(INIT_EXEc) librplprototypes.h generateurs.c \ |
$(INIT_LIBc) $(INIT_EXEc) librplprototypes.h generateurs.c \ |
rpl.inc rpl-librpl.conv.o |
rpl.inc |
|
|
nodist_rpl_SOURCES = $(SRCCc) $(SRCHc) $(SRCFc) $(SRCF90c) $(INIT_EXEc) \ |
nodist_rpl_SOURCES = \ |
|
$(SRCCc) $(SRCHc) $(SRCCPPc) $(SRCFc) $(SRCF90c) $(INIT_EXEc) \ |
$(SRCXPM) $(SRCINCc) |
$(SRCXPM) $(SRCINCc) |
rpl_LDFLAGS = -g @PROFILAGE@ $(LIB) -Wl,@EXPORT_DYNAMIC@ |
rpl_LDFLAGS = -g @PROFILAGE@ @EXPORT_DYNAMIC@ @ELF@ @CYGWIN_LDFLAGS@ \ |
|
-Wl,--exclude-libs,libssl.a:libcrypto.a:libsqlite3.a:liblapack.a:libblas.a:librplcas.a:libncurses.a:libz.a:libgsl.a:libreadline.a:libhistory.a:libsigsegv.a |
rpl_CFLAGS = $(AM_CFLAGS) -ULIBRPL -Wall -Wextra \ |
rpl_CFLAGS = $(AM_CFLAGS) @C_STANDARD@ -Wall -Wextra -Wno-unused-function \ |
-Wno-pointer-sign -Wno-unused-parameter @NESTED_FUNCTIONS@ |
-Wno-pointer-sign -Wno-unused-parameter @NESTED_FUNCTIONS@ \ |
|
-Wconversion -ftabstop=4 |
|
rpl_CXXFLAGS = $(AM_CFLAGS) -Wall -Wextra |
rpl_FFLAGS = $(AM_FFLAGS) -fno-f2c |
rpl_FFLAGS = $(AM_FFLAGS) -fno-f2c |
rpl_FCFLAGS = $(AM_FCFLAGS) -fno-second-underscore -fno-f2c |
rpl_FCFLAGS = $(AM_FCFLAGS) -fno-second-underscore -fno-f2c |
|
|
nodist_librpl_a_SOURCES = $(SRCCc) $(SRCHc) $(SRCFc) $(SRCF90c) $(INIT_LIBc) \ |
nodist_librpl_a_SOURCES = \ |
$(SRCXPM) $(SRCINCc) |
$(SRCCc) $(SRCHc) $(SRCFc) $(SRCCPPc) $(SRCF90c) $(INIT_LIBc) \ |
librpl_a_CFLAGS = $(AM_CFLAGS) -DLIBRPL -Wall -Wextra \ |
$(SRCXPM) $(SRCINCc) |
-Wno-pointer-sign -Wno-unused-parameter @NESTED_FUNCTIONS@ |
librpl_a_CFLAGS = $(AM_CFLAGS) @C_STANDARD@ -Wall -Wextra -Wno-unused-function \ |
|
-Wno-pointer-sign -Wno-unused-parameter @NESTED_FUNCTIONS@ \ |
|
-Wconversion |
|
librpl_a_CXXFLAGS = $(AM_CFLAGS) -Wall -Wextra |
librpl_a_FFLAGS = $(AM_FFLAGS) -ff2c |
librpl_a_FFLAGS = $(AM_FFLAGS) -ff2c |
librpl_a_FCFLAGS = $(AM_FCLAGS) -fno-second-underscore |
librpl_a_FCFLAGS = $(AM_FCLAGS) -fno-second-underscore |
|
|
include_HEADERS = rplexternals.h rpltypes.h rpl.h librpl.h rpl.inc |
include_HEADERS = rplexternals.h rpltypes.h rpl.h librpl.h rpl.inc \ |
|
librplprototypes.h |
|
|
INCLUDES = -I$(srcdir) -I$(top_builddir) \ |
INCLUDES = -I$(srcdir) -I$(top_builddir) \ |
$(include_libreadline) $(include_libncurses) $(include_libgsl) \ |
$(include_libreadline) $(include_libncurses) $(include_libgsl) \ |
$(include_libiconv) $(include_libcrypto) $(include_libsqlite)\ |
$(include_libiconv) $(include_libcrypto) $(include_libsqlite) \ |
@includeX@ @libMySQLinc@ @libPgSQLinc@ |
$(include_librplcas) $(include_libsigsegv) \ |
|
$(include_libmotif) $(include_libz) \ |
|
@SYSROOT@ @includeX@ @libMySQLinc@ @libPgSQLinc@ |
DEFS = -DHAVE_CONFIG_H -Dd_version_rpl=\"@VERSION@\" \ |
DEFS = -DHAVE_CONFIG_H -Dd_version_rpl=\"@VERSION@\" \ |
-Dd_exec_path=\"@RUNPATH@\" @FORCE_GNUPLOT_PATH@ @DEBUG@ \ |
-Dd_exec_path=\"@RUNPATH@\" @FORCE_GNUPLOT_PATH@ @DEBUG@ \ |
@MOTIF_SUPPORT@ @POSTSCRIPT_SUPPORT@ @GNUPLOT_SUPPORT@ \ |
@MOTIF_SUPPORT@ @POSTSCRIPT_SUPPORT@ @GNUPLOT_SUPPORT@ \ |
@VIM_SUPPORT@ @MYSQL_SUPPORT@ @POSTGRESQL_SUPPORT@ \ |
@VIM_SUPPORT@ @MYSQL_SUPPORT@ @POSTGRESQL_SUPPORT@ \ |
@SEMAPHORES_NOMMES@ \ |
@SEMAPHORES_NOMMES@ @IPCS_SYSV@ @SEMUN@ @IPV6@ \ |
@EXPERIMENTAL_CODE@ $(date) $(hash) -g @PROFILAGE@ \ |
@EXPERIMENTAL_CODE@ $(date) $(hash) -g @PROFILAGE@ \ |
|
@BROKEN_SIGSEGV@ \ |
-Dd_locale=\"@FINAL_ENCODING@\" \ |
-Dd_locale=\"@FINAL_ENCODING@\" \ |
-D@OS@ |
-Dd_forced_locale=@FORCED_FINAL_ENCODING@ \ |
rpl_LDADD = $(top_builddir)/lapack/lapack/liblapack.a \ |
-D@OS@ @BSH_PATH@ @RPLCAS@ -DHOST=\"@HOST@\" @SHARED_MEMORY@ |
$(top_builddir)/lapack/blas/libblas.a \ |
rpl_LDADD = \ |
|
$(LIB) \ |
$(ldadd_libhistory) $(ldadd_libreadline) $(ldadd_libncurses) \ |
$(ldadd_libhistory) $(ldadd_libreadline) $(ldadd_libncurses) \ |
$(ldadd_libiconv) $(ldadd_libcrypto) $(ldadd_libssl) \ |
$(ldadd_libiconv) $(ldadd_libcrypto) $(ldadd_libssl) \ |
$(ldadd_libsqlite) \ |
$(ldadd_libsqlite) $(ldadd_libsigsegv) $(ldadd_libz) \ |
$(ldadd_libgsl) @libX@ @libMySQLlib@ @libPgSQLlib@ |
$(ldadd_librplcas) $(ldadd_libgsl) @libMySQLlib@ @libPgSQLlib@ \ |
|
$(top_builddir)/lapack/lapack/liblapack.a \ |
always: $(top_builddir)/src/rpl.conv.c |
$(top_builddir)/lapack/blas/libblas.a \ |
touch $(top_builddir)/src/rpl.conv.c; \ |
@WHOLE_LIB1@ \ |
if [ x$(shell which ctags) != x ]; then \ |
$(ldadd_libmotif) $(LD_MOTIF_LIBS) $(LD_MOTIF_X_XMU) \ |
(cd $(srcdir); ctags $(SRCC) $(SRCF) $(SRCF90) \ |
@WHOLE_LIB2@ @libX@ \ |
|
-lgfortran |
|
|
|
always: $(top_builddir)/src/rpl-conv.c |
|
@touch $<; |
|
@if [ x$(shell which ctags) != x ]; then \ |
|
(cd $(srcdir); ctags $(SRCC) $(SRCF) $(SRCF90) $(SRCCPP) \ |
$(INIT_LIB) $(INIT_EXE) 2>&1 /dev/null); \ |
$(INIT_LIB) $(INIT_EXE) 2>&1 /dev/null); \ |
fi; |
fi; |
|
|
Line 428 always: $(top_builddir)/src/rpl.conv.c
|
Line 518 always: $(top_builddir)/src/rpl.conv.c
|
|
|
all-local: always |
all-local: always |
|
|
install-exec-local: librpl |
install-exec-local: s-librpl s-rpl |
|
|
librpl: install-libLIBRARIES |
s-rpl: install-binPROGRAMS |
if [ ! -d $(top_builddir)/librpl ]; then mkdir -p $(top_builddir)/librpl; fi |
@if [ @OS@ != OS2 -a @OS@ != Darwin ]; then \ |
\rm -rf $(top_builddir)/librpl/* |
echo " STRIP rpl" && strip -d $(DESTDIR)$(bindir)/rpl; \ |
for i in $(top_builddir)/src/librpl.a \ |
if [ @OS@ = Cygwin ]; then \ |
$(ldadd_libhistory) $(ldadd_libreadline) \ |
cp $(top_builddir)/src/rpl.exe.a $(DESTDIR)$(libdir)/rpl.exe.a; \ |
|
fi; \ |
|
fi |
|
|
|
s-librpl: install-libLIBRARIES librpl |
|
$(INSTALL_DATA) $(top_builddir)/librpl/librpl.a $(DESTDIR)$(libdir)/librpl.a |
|
|
|
librpl: |
|
@echo " BUILD $@" |
|
@if [ -d $(top_builddir)/librpl ]; then \ |
|
rm -rf $(top_builddir)/librpl; \ |
|
fi |
|
@mkdir -p $(top_builddir)/librpl; |
|
@for i in $(top_builddir)/src/librpl.a \ |
|
$(ldadd_libhistory) $(ldadd_libreadline) $(ldadd_libz) \ |
$(top_builddir)/lapack/lapack/liblapack.a \ |
$(top_builddir)/lapack/lapack/liblapack.a \ |
$(top_builddir)/lapack/blas/libblas.a \ |
$(top_builddir)/lapack/blas/libblas.a \ |
$(ldadd_libncurses) $(ldadd_libgsl) $(ldadd_libiconv) \ |
$(ldadd_libncurses) $(ldadd_libgsl) $(ldadd_libiconv) \ |
$(ldadd_libcrypto) $(ldadd_libssl) $(ldadd_libsqlite); \ |
$(ldadd_libcrypto) $(ldadd_libssl) $(ldadd_libsqlite) \ |
|
$(ldadd_librplcas) $(ldadd_libsigsegv) $(ldadd_libmotif); \ |
do \ |
do \ |
\cp -f $$i $(top_builddir)/librpl; \ |
if [ -e $$i ]; then cp -f $$i $(top_builddir)/librpl; fi; \ |
done |
done |
(cd $(top_builddir)/librpl && \ |
@(cd $(top_builddir)/librpl && n=0 && \ |
for i in *.a; do ar x $$i && \rm -f $$i; done; \ |
echo " Building standalone librpl.a"; \ |
ar cr librpl.a *) |
for i in *.a; \ |
\mv -f $(top_builddir)/librpl/librpl.a $(top_builddir)/src/librpl.a |
do echo " Extracting $$i"; ar x $$i; \ |
\rm -rf $(top_builddir)/librpl |
for j in `ar t $$i`; \ |
$(RANLIB) $(top_builddir)/src/librpl.a |
do cp -f $$j rpl-$$n-$$j; \ |
|
rm -f $$j; \ |
|
done; \ |
|
n=`expr $$n + 1`; \ |
|
rm -f $$i; \ |
|
done; \ |
|
L="start"; \ |
|
while test -n "$$L"; \ |
|
do \ |
|
echo -n " Remaining files "; \ |
|
find . -name "*.$(OBJEXT)" | wc -l; \ |
|
L=""; j=0; \ |
|
for i in `find . -name "*.$(OBJEXT)"`; \ |
|
do \ |
|
k=`echo $$i | wc -c`; \ |
|
j=`expr $$j + $$k + 1`; \ |
|
if test $$j -le 8000; then \ |
|
L="$$L $$i"; \ |
|
else \ |
|
break; \ |
|
fi; \ |
|
done; \ |
|
if test -n "$$L"; then \ |
|
echo -n " Adding files to librpl.a archive... "; \ |
|
ar cr librpl.a $$L; \ |
|
rm -f $$L; \ |
|
echo "done"; \ |
|
fi; \ |
|
done; \ |
|
echo " Archive created"; \ |
|
ar s librpl.a; \ |
|
if [ @OS@ != OS2 -a @OS@ != Darwin ]; then \ |
|
echo " STRIP librpl.a" && strip -d librpl.a; \ |
|
fi;); |