version 1.45, 2010/12/08 20:58:16
|
version 1.108, 2016/10/11 14:01:40
|
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 |
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);}')\"" \ |
|
-Dd_date_en_rpl="\"$(shell LC_ALL=C date +'%A %x, %X %Z' | \ |
ldadd_libz = $(top_builddir)/tools/@ZLIB@/libz.a |
$(AWK) '{ v=$$0; gsub(/^[ \t]+/, "", v); gsub(/[ \t]+$$/, "", v); \ |
include_libz = -I$(top_builddir)/tools/@ZLIB@ |
printf("%s\n", v);}')\"" |
|
|
|
|
ldadd_librplcas = @LIBRPLCAS@ |
|
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' | \ |
|
$(AWK) '{ v=$$0; gsub(/^[ \t]+/, "", v); gsub(/[ \t]+$$/, "", v); \ |
|
printf("%s\n", v);}')\"" |
|
|
hash = -Drplpp_md5="\"$(shell $(top_builddir)/rplsums/rplmd5sum$(EXEEXT) \ |
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$(EXEEXT) \ |
-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$(EXEEXT) \ |
-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$(EXEEXT) \ |
-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$(EXEEXT) \ |
-Drpliconv_md5="\"$(shell @RPLTOOLS@/rplsums/rplmd5sum$(EXEEXT) \ |
$(top_builddir)/rpliconv/rpliconv$(EXEEXT))\"" \ |
$(top_builddir)/rpliconv/rpliconv$(EXEEXT))\"" \ |
-Drpliconv_sha1="\"$(shell $(top_builddir)/rplsums/rplsha1sum$(EXEEXT) \ |
-Drpliconv_sha1="\"$(shell @RPLTOOLS@/rplsums/rplsha1sum$(EXEEXT) \ |
$(top_builddir)/rpliconv/rpliconv$(EXEEXT))\"" \ |
$(top_builddir)/rpliconv/rpliconv$(EXEEXT))\"" \ |
-Drplawk_md5="\"$(shell $(top_builddir)/rplsums/rplmd5sum$(EXEEXT) \ |
-Drplawk_md5="\"$(shell @RPLTOOLS@/rplsums/rplmd5sum$(EXEEXT) \ |
$(top_builddir)/rplawk/rplawk$(EXEEXT))\"" \ |
$(top_builddir)/rplawk/rplawk$(EXEEXT))\"" \ |
-Drplawk_sha1="\"$(shell $(top_builddir)/rplsums/rplsha1sum$(EXEEXT) \ |
-Drplawk_sha1="\"$(shell @RPLTOOLS@/rplsums/rplsha1sum$(EXEEXT) \ |
$(top_builddir)/rplawk/rplawk$(EXEEXT))\"" \ |
$(top_builddir)/rplawk/rplawk$(EXEEXT))\"" \ |
-Drplconvert_md5="\"$(shell $(top_builddir)/rplsums/rplmd5sum$(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$(EXEEXT) \ |
-Drplconvert_sha1="\"$(shell @RPLTOOLS@/rplsums/rplsha1sum$(EXEEXT) \ |
$(top_builddir)/tools/@UNITS@/units$(EXEEXT))\"" |
$(top_builddir)/tools/@UNITS@/units$(EXEEXT))\"" |
|
|
SRCC=\ |
SRCC=\ |
Line 54 SRCC=\
|
Line 75 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 62 SRCC=\
|
Line 84 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 74 SRCC=\
|
Line 97 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 103 SRCC=\
|
Line 127 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 134 SRCC=\
|
Line 160 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\ |
Line 150 SRCC=\
|
Line 177 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 157 SRCC=\
|
Line 185 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 167 SRCC=\
|
Line 196 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 179 SRCC=\
|
Line 210 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 223 SRCC=\
|
rplcore.c\ |
rplcore.c\ |
semaphores.c\ |
semaphores.c\ |
sequenceur.c\ |
sequenceur.c\ |
siginfo.c\ |
|
simplification.c\ |
simplification.c\ |
sommations.c\ |
sommations.c\ |
sql.c\ |
sql.c\ |
Line 199 SRCC=\
|
Line 230 SRCC=\
|
transliteration.c\ |
transliteration.c\ |
types.c |
types.c |
|
|
|
SRCCPP=\ |
|
interface_cas.cpp |
|
|
SRCH=\ |
SRCH=\ |
completion.h\ |
completion.h\ |
convert.h\ |
convert.h\ |
Line 235 INIT_EXE=init.c
|
Line 269 INIT_EXE=init.c
|
|
|
INIT_LIB=librpl.c |
INIT_LIB=librpl.c |
|
|
LIB=-lz |
LIB=@MALLOC@ |
|
|
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) |
|
SRCCPPc=$(SRCCPP:.cpp=-conv.cpp) |
SRCFc=$(SRCF:.f=-conv.f) |
SRCFc=$(SRCF:.f=-conv.f) |
SRCF90c=$(SRCF90:.F90=-conv.F90) |
SRCF90c=$(SRCF90:.F90=-conv.F90) |
SRCINCc=$(SRCINC:.inc=-conv.inc) |
SRCINCc=$(SRCINC:.inc=-conv.inc) |
Line 249 INIT_LIBc=$(INIT_LIB:.c=-conv.c)
|
Line 284 INIT_LIBc=$(INIT_LIB:.c=-conv.c)
|
INIT_EXEc=$(INIT_EXE:.c=-conv.c) |
INIT_EXEc=$(INIT_EXE:.c=-conv.c) |
|
|
%-conv.c: %.c |
%-conv.c: %.c |
$(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.cpp: %.cpp |
|
@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 > $@ |
|
|
%-conv.h: %.h |
%-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.f: %.f |
%-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.F90: %.F90 |
%-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;}'` \ |
$(AWK) -F= '{print $$2;}'` \ |
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
|
|
%-conv.inc: %.inc |
%-conv.inc: %.inc |
$(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 > $@ |
|
|
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 302 licences:
|
Line 350 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 313 licences:
|
Line 361 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 325 licences:
|
Line 373 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 337 licences:
|
Line 385 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 349 licences:
|
Line 397 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=$(top_builddir)/.. > $@ |
@echo " BUILD $@" |
echo COMPILE=$(DEFS) | sed -e '1,$$s/"/\\"/g' | \ |
@echo RPL_BUILDPATH=$(top_builddir)/.. > $@ |
|
@echo RPL_COMPILE="$(DEFS) @ABI@" | sed -e '1,$$s/"/\\"/g' | \ |
sed -e '1,$$s/=\\"/="\\"/g' | sed -e '1,$$s/\\" /\\"" /g' >> $@ |
sed -e '1,$$s/=\\"/="\\"/g' | sed -e '1,$$s/\\" /\\"" /g' >> $@ |
echo LINK=@libX@ @libMySQLlib@ @libPgSQLlib@ -lz >> $@ |
@echo -n RPL_LINK=@libX@ @libMySQLlib@ @libPgSQLlib@ @LIBS@ -lgfortran >> $@ |
echo OBJECTS=$(SRCCc:.c=.$(OBJEXT)) $(SRCFc:.f=.$(OBJEXT)) \ |
@if [ -f $(top_builddir)/tools/openmotif.lib ]; then \ |
$(SRCF90c:.F90=.$(OBJEXT)) \ |
$(AWK) -F= '/^LD_MOTIF_LIBS/ { printf(" %s", $$2); }' \ |
|
$(top_builddir)/tools/openmotif.lib >> $@; \ |
|
$(AWK) -F= '/^LD_MOTIF_X_XMU/ { printf(" %s", $$2); }' \ |
|
$(top_builddir)/tools/openmotif.lib >> $@; \ |
|
fi |
|
@echo >> $@ |
|
@echo RPL_FLAGS=-Wno-pointer-sign >> $@ |
|
@echo RPL_OBJECTS=$(SRCCc:.c=.$(OBJEXT)) $(SRCFc:.f=.$(OBJEXT)) \ |
|
$(SRCF90c:.F90=.$(OBJEXT)) $(SRCCPPc:.cpp=.$(OBJEXT)) \ |
librpl-conv.$(OBJEXT) >> $@ |
librpl-conv.$(OBJEXT) >> $@ |
echo EXTOBJECTS= @EXT_SQL@ \ |
@echo RPL_EXTOBJECTS= @EXT_SQL@ \ |
$(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_libhistory) \ |
$(ldadd_libhistory) \ |
$(ldadd_libreadline) \ |
$(ldadd_libreadline) \ |
$(ldadd_libncurses) \ |
$(ldadd_libncurses) \ |
$(ldadd_libgsl) \ |
$(ldadd_libgsl) \ |
$(ldadd_libiconv) \ |
$(ldadd_libiconv) \ |
$(ldadd_libcrypto) \ |
$(ldadd_libcrypto) \ |
$(ldadd_libssl) \ |
$(ldadd_libssl) \ |
$(ldadd_libsqlite) \ |
$(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.$(OBJEXT) |
rpl.inc rpl-librpl-conv.$(OBJEXT) |
|
|
nodist_rpl_SOURCES = \ |
nodist_rpl_SOURCES = \ |
$(SRCCc) $(SRCHc) $(SRCFc) $(SRCF90c) $(INIT_EXEc) \ |
$(SRCCc) $(SRCHc) $(SRCCPPc) $(SRCFc) $(SRCF90c) $(INIT_EXEc) \ |
$(SRCXPM) $(SRCINCc) |
$(SRCXPM) $(SRCINCc) |
rpl_LDFLAGS = -g @PROFILAGE@ $(LIB) @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) @C_STANDARD@ -Wall -Wextra -Wno-unused-function \ |
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 |
|
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 = \ |
nodist_librpl_a_SOURCES = \ |
$(SRCCc) $(SRCHc) $(SRCFc) $(SRCF90c) $(INIT_LIBc) \ |
$(SRCCc) $(SRCHc) $(SRCFc) $(SRCCPPc) $(SRCF90c) $(INIT_LIBc) \ |
$(SRCXPM) $(SRCINCc) |
$(SRCXPM) $(SRCINCc) |
librpl_a_CFLAGS = $(AM_CFLAGS) @C_STANDARD@ -Wall -Wextra -Wno-unused-function \ |
librpl_a_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 |
|
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 |
|
|
Line 411 include_HEADERS = rplexternals.h rpltype
|
Line 479 include_HEADERS = rplexternals.h rpltype
|
|
|
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) \ |
DEFS = -DHAVE_CONFIG_H -Dd_version_rpl=\"@VERSION@\" @BROKEN_SIGINFO@ \ |
$(include_libmotif) $(include_libz) \ |
|
@SYSROOT@ @includeX@ @libMySQLinc@ @libPgSQLinc@ |
|
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@ @IPCS_SYSV@ @SEMUN@ @IPV6@ \ |
@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@ @BSH_PATH@ |
-Dd_forced_locale=@FORCED_FINAL_ENCODING@ \ |
|
-D@OS@ @BSH_PATH@ @RPLCAS@ -DHOST=\"@HOST@\" @SHARED_MEMORY@ |
rpl_LDADD = \ |
rpl_LDADD = \ |
|
$(LIB) \ |
$(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_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_libgsl) $(ldadd_librplcas) @libMySQLlib@ @libPgSQLlib@ \ |
|
@WHOLE_LIB1@ \ |
|
$(ldadd_libmotif) $(LD_MOTIF_LIBS) $(LD_MOTIF_X_XMU) \ |
|
@WHOLE_LIB2@ @libX@ \ |
|
-lgfortran |
|
|
always: $(top_builddir)/src/rpl-conv.c |
always: $(top_builddir)/src/rpl-conv.c |
touch $(top_builddir)/src/rpl-conv.c; \ |
@touch $<; |
if [ x$(shell which ctags) != x ]; then \ |
@if [ x$(shell which ctags) != x ]; then \ |
(cd $(srcdir); ctags $(SRCC) $(SRCF) $(SRCF90) \ |
(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 440 always: $(top_builddir)/src/rpl-conv.c
|
Line 517 always: $(top_builddir)/src/rpl-conv.c
|
|
|
all-local: always |
all-local: always |
|
|
install-exec-local: librpl |
install-exec-local: librpl s-rpl |
|
|
|
s-rpl: install-binPROGRAMS |
|
@if [ @OS@ != OS2 -a @OS@ != Darwin ]; then \ |
|
echo " STRIP rpl" && strip -d $(DESTDIR)$(bindir)/rpl; \ |
|
@if [ @OS@ == Cygwin ]; then \ |
|
cp $(top_builddir)/src/rpl.exe.a $(DESTDIR)$(libdir)/rpl.exe.a; \ |
|
fi; \ |
|
fi |
|
|
librpl: install-libLIBRARIES |
librpl: install-libLIBRARIES |
if [ -d $(top_builddir)/librpl ]; then \ |
@echo " BUILD $@" |
|
@if [ -d $(top_builddir)/librpl ]; then \ |
rm -rf $(top_builddir)/librpl; \ |
rm -rf $(top_builddir)/librpl; \ |
fi |
fi |
mkdir -p $(top_builddir)/librpl; \ |
@mkdir -p $(top_builddir)/librpl; |
for i in $(top_builddir)/src/librpl.a \ |
@for i in $(top_builddir)/src/librpl.a \ |
$(ldadd_libhistory) $(ldadd_libreadline) \ |
$(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; \ |
cp -f $$i $(top_builddir)/librpl; \ |
done |
done |
(cd $(top_builddir)/librpl && n=0 && \ |
@(cd $(top_builddir)/librpl && n=0 && \ |
echo Building standalone librpl.a; \ |
echo " Building standalone librpl.a"; \ |
for i in *.a; \ |
for i in *.a; \ |
do echo Extracting $$i; ar x $$i; \ |
do echo " Extracting $$i"; ar x $$i; \ |
for j in `ar t $$i`; \ |
for j in `ar t $$i`; \ |
do cp -f $$j $$n-$$j; \ |
do cp -f $$j rpl-$$n-$$j; \ |
rm -f $$j; \ |
rm -f $$j; \ |
done; \ |
done; \ |
n=`expr $$n + 1`; \ |
n=`expr $$n + 1`; \ |
Line 470 librpl: install-libLIBRARIES
|
Line 557 librpl: install-libLIBRARIES
|
L="start"; \ |
L="start"; \ |
while test -n "$$L"; \ |
while test -n "$$L"; \ |
do \ |
do \ |
echo -n "Remaining files "; \ |
echo -n " Remaining files "; \ |
find . -name "*.$(OBJEXT)" | wc -l; \ |
find . -name "*.$(OBJEXT)" | wc -l; \ |
L=""; j=0; \ |
L=""; j=0; \ |
for i in `find . -name "*.$(OBJEXT)"`; \ |
for i in `find . -name "*.$(OBJEXT)"`; \ |
do \ |
do \ |
k=`echo $$i | wc -c`; \ |
k=`echo $$i | wc -c`; \ |
j=`expr $$j + $$k + 1`; \ |
j=`expr $$j + $$k + 1`; \ |
if test $$j -le 5000; then \ |
if test $$j -le 8000; then \ |
L="$$L $$i"; \ |
L="$$L $$i"; \ |
else \ |
else \ |
break; \ |
break; \ |
fi; \ |
fi; \ |
done; \ |
done; \ |
if test -n "$$L"; then \ |
if test -n "$$L"; then \ |
echo -n "Adding files to librpl.a archive... "; \ |
echo -n " Adding files to librpl.a archive... "; \ |
ar cru librpl.a $$L; \ |
ar cr librpl.a $$L; \ |
rm -f $$L; \ |
rm -f $$L; \ |
echo "done"; \ |
echo "done"; \ |
fi; \ |
fi; \ |
done; \ |
done; \ |
echo Archive created; \ |
echo " Archive created"; \ |
ar s librpl.a; \ |
ar s librpl.a; \ |
if [ @OS@ != OS2 ]; then \ |
if [ @OS@ != OS2 -a @OS@ != Darwin ]; then \ |
echo Stripping librpl.a && strip -d librpl.a; \ |
echo " STRIP librpl.a" && strip -d librpl.a; \ |
fi;); \ |
fi;); |
$(INSTALL_DATA) $(top_builddir)/librpl/librpl.a $(DESTDIR)$(libdir)/librpl.a |
$(INSTALL_DATA) $(top_builddir)/librpl/librpl.a $(DESTDIR)$(libdir)/librpl.a |
|
|