version 1.1, 2010/01/26 15:22:45
|
version 1.55, 2011/07/24 14:44:10
|
Line 13 include_libgsl = -I$(top_builddir)/tools
|
Line 13 include_libgsl = -I$(top_builddir)/tools
|
ldadd_libiconv = $(top_builddir)/tools/@ICONV@/lib/.libs/libiconv.a |
ldadd_libiconv = $(top_builddir)/tools/@ICONV@/lib/.libs/libiconv.a |
include_libiconv = -I$(top_builddir)/tools/@ICONV@/include |
include_libiconv = -I$(top_builddir)/tools/@ICONV@/include |
|
|
date := -Dd_date_rpl="\"$(shell LC_ALL=fr_FR date +'%A %x, %X %Z')\"" \ |
ldadd_libcrypto = $(top_builddir)/tools/@OPENSSL@/libcrypto.a |
-Dd_date_en_rpl="\"$(shell LC_ALL=C date +'%A %x, %X %Z')\"" |
ldadd_libssl = $(top_builddir)/tools/@OPENSSL@/libssl.a |
|
include_libcrypto = -I$(top_builddir)/tools/@OPENSSL@/include |
|
|
|
ldadd_libsqlite = $(top_builddir)/tools/@SQLITE@/.libs/libsqlite3.a |
|
include_libsqlite = -I$(top_srcdir)/tools/@SQLITE@ |
|
|
|
ldadd_librplcas = @LIBRPLCAS@ |
|
include_librplcas = -I$(top_builddir)/rplcas/include/giac \ |
|
-I$(top_builddir)/rplcas/include |
|
|
|
date = -Dd_date_rpl="\"$(shell LC_ALL=fr_FR date +'%A %x, %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) \ |
|
$(top_builddir)/tools/@GPP@/src/gpp$(EXEEXT))\"" \ |
|
-Drplpp_sha1="\"$(shell $(top_builddir)/rplsums/rplsha1sum$(EXEEXT) \ |
|
$(top_builddir)/tools/@GPP@/src/gpp$(EXEEXT))\"" \ |
|
-Drplfile_md5="\"$(shell $(top_builddir)/rplsums/rplmd5sum$(EXEEXT) \ |
|
$(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT))\"" \ |
|
-Drplfile_sha1="\"$(shell $(top_builddir)/rplsums/rplsha1sum$(EXEEXT) \ |
|
$(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT))\"" \ |
|
-Drpliconv_md5="\"$(shell $(top_builddir)/rplsums/rplmd5sum$(EXEEXT) \ |
|
$(top_builddir)/rpliconv/rpliconv$(EXEEXT))\"" \ |
|
-Drpliconv_sha1="\"$(shell $(top_builddir)/rplsums/rplsha1sum$(EXEEXT) \ |
|
$(top_builddir)/rpliconv/rpliconv$(EXEEXT))\"" \ |
|
-Drplawk_md5="\"$(shell $(top_builddir)/rplsums/rplmd5sum$(EXEEXT) \ |
|
$(top_builddir)/rplawk/rplawk$(EXEEXT))\"" \ |
|
-Drplawk_sha1="\"$(shell $(top_builddir)/rplsums/rplsha1sum$(EXEEXT) \ |
|
$(top_builddir)/rplawk/rplawk$(EXEEXT))\"" \ |
|
-Drplconvert_md5="\"$(shell $(top_builddir)/rplsums/rplmd5sum$(EXEEXT) \ |
|
$(top_builddir)/tools/@UNITS@/units$(EXEEXT))\"" \ |
|
-Drplconvert_sha1="\"$(shell $(top_builddir)/rplsums/rplsha1sum$(EXEEXT) \ |
|
$(top_builddir)/tools/@UNITS@/units$(EXEEXT))\"" |
|
|
SRCC=\ |
SRCC=\ |
algebre_lineaire1.c\ |
algebre_lineaire1.c\ |
Line 24 SRCC=\
|
Line 61 SRCC=\
|
analyse.c\ |
analyse.c\ |
analyse_notation_algebrique.c\ |
analyse_notation_algebrique.c\ |
analyse_notation_rpn.c\ |
analyse_notation_rpn.c\ |
|
asprintf.c\ |
bibliotheques_externes.c\ |
bibliotheques_externes.c\ |
calcul_differentiel.c\ |
calcul_differentiel.c\ |
calcul_integral.c\ |
calcul_integral.c\ |
chainage.c\ |
chainage.c\ |
compilation.c\ |
compilation.c\ |
completion.c\ |
completion.c\ |
|
controle.c \ |
daemon.c\ |
daemon.c\ |
date.c\ |
date.c\ |
depassements.c\ |
depassements.c\ |
Line 39 SRCC=\
|
Line 78 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 53 SRCC=\
|
Line 93 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 102 SRCC=\
|
Line 143 SRCC=\
|
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 152 SRCC=\
|
Line 194 SRCC=\
|
profilage.c\ |
profilage.c\ |
rpl.c\ |
rpl.c\ |
rplcore.c\ |
rplcore.c\ |
|
semaphores.c\ |
sequenceur.c\ |
sequenceur.c\ |
|
siginfo.c\ |
simplification.c\ |
simplification.c\ |
sommations.c\ |
sommations.c\ |
sql.c\ |
sql.c\ |
Line 160 SRCC=\
|
Line 204 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 195 INIT_EXE=init.c
|
Line 243 INIT_EXE=init.c
|
|
|
INIT_LIB=librpl.c |
INIT_LIB=librpl.c |
|
|
LIB=-lz @LIBMTMALLOC@ |
LIB=-lz @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) |
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 |
%-conv.c: %.c |
$(top_builddir)/rpliconv/rpliconv \ |
$(top_builddir)/rpliconv/rpliconv \ |
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
-m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \ |
-m $(top_builddir)/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 \ |
$(top_builddir)/rpliconv/rpliconv \ |
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
-m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \ |
-m $(top_builddir)/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 \ |
$(top_builddir)/rpliconv/rpliconv \ |
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
-m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \ |
-m $(top_builddir)/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 \ |
$(top_builddir)/rpliconv/rpliconv \ |
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
-m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \ |
-m $(top_builddir)/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 \ |
$(top_builddir)/rpliconv/rpliconv \ |
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
-m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \ |
-m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \ |
awk -F= '{print $$2;}'` \ |
$(AWK) -F= '{print $$2;}'` \ |
|
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
|
|
|
%-conv.inc: %.inc |
|
$(top_builddir)/rpliconv/rpliconv \ |
|
-f `$(top_builddir)/tools/@FILE@/src/rplfile \ |
|
-m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \ |
|
$(AWK) -F= '{print $$2;}'` \ |
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
-t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@ |
|
|
licences: |
licences: |
Line 251 licences:
|
Line 307 licences:
|
echo "# define INCLUSION_LICENCE" >> $(srcdir)/licence.h |
echo "# define INCLUSION_LICENCE" >> $(srcdir)/licence.h |
echo " unsigned char CeCILL_fr[] =" >> $(srcdir)/licence.h |
echo " unsigned char CeCILL_fr[] =" >> $(srcdir)/licence.h |
sed -e '1,$$s/"/\\"/g' $(srcdir)/../Licence_CeCILL_V2-fr.txt | \ |
sed -e '1,$$s/"/\\"/g' $(srcdir)/../Licence_CeCILL_V2-fr.txt | \ |
awk -F'\n' '{ printf("\"%s\\n\"\n", $$1);}' \ |
$(AWK) -F'\n' '{ printf("\"%s\\n\"\n", $$1);}' \ |
>> $(srcdir)/licence.h |
>> $(srcdir)/licence.h |
echo " ;" >> $(srcdir)/licence.h |
echo " ;" >> $(srcdir)/licence.h |
echo " unsigned char CeCILL_en[] =" >> $(srcdir)/licence.h |
echo " unsigned char CeCILL_en[] =" >> $(srcdir)/licence.h |
sed -e '1,$$s/"/\\"/g' $(srcdir)/../Licence_CeCILL_V2-en.txt | \ |
sed -e '1,$$s/"/\\"/g' $(srcdir)/../Licence_CeCILL_V2-en.txt | \ |
awk -F'\n' '{ printf("\"%s\\n\"\n", $$1);}' \ |
$(AWK) -F'\n' '{ printf("\"%s\\n\"\n", $$1);}' \ |
>> $(srcdir)/licence.h |
>> $(srcdir)/licence.h |
echo " ;" >> $(srcdir)/licence.h |
echo " ;" >> $(srcdir)/licence.h |
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)/../COPYING > $(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;}' \ |
$(srcdir)/$$i >> $(srcdir)/tmp; \ |
$(srcdir)/$$i >> $(srcdir)/tmp; \ |
mv -f $(srcdir)/tmp $(srcdir)/$$i; \ |
mv -f $(srcdir)/tmp $(srcdir)/$$i; \ |
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)/../COPYING | $(AWK) -F= '{print $$2;}'` \ |
$(srcdir)/../COPYING | \ |
$(srcdir)/../COPYING | \ |
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)/../COPYING | \ |
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; \ |
mv -f $(srcdir)/tmp $(srcdir)/$$i; \ |
mv -f $(srcdir)/tmp $(srcdir)/$$i; \ |
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)/../COPYING | $(AWK) -F= '{print $$2;}'` \ |
$(srcdir)/../COPYING | \ |
$(srcdir)/../COPYING | \ |
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)/../COPYING | \ |
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; \ |
mv -f $(srcdir)/tmp $(srcdir)/$$i; \ |
mv -f $(srcdir)/tmp $(srcdir)/$$i; \ |
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)/../COPYING | $(AWK) -F= '{print $$2;}'` \ |
$(srcdir)/../COPYING | \ |
$(srcdir)/../COPYING | \ |
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)/../COPYING | \ |
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; \ |
mv -f $(srcdir)/tmp $(srcdir)/$$i; \ |
mv -f $(srcdir)/tmp $(srcdir)/$$i; \ |
done |
done |
|
|
librplprototypes.h: rpl.h conversion.awk |
librplprototypes.h: rpl.h conversion.awk |
awk -f $(srcdir)/conversion.awk $(srcdir)/rpl.h > \ |
$(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 \ |
$(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 |
|
|
EXTRA_DIST = $(SRCC) $(SRCH) $(SRCF) $(SRCF90) $(SRCINC) \ |
rpl.inc: |
|
echo BUILDPATH=$(top_builddir)/.. > $@ |
|
echo COMPILE=$(DEFS) | sed -e '1,$$s/"/\\"/g' | \ |
|
sed -e '1,$$s/=\\"/="\\"/g' | sed -e '1,$$s/\\" /\\"" /g' @ABI@ >> $@ |
|
echo LINK=@libX@ @libMySQLlib@ @libPgSQLlib@ -lz >> $@ |
|
echo OBJECTS=$(SRCCc:.c=.$(OBJEXT)) $(SRCFc:.f=.$(OBJEXT)) \ |
|
$(SRCF90c:.F90=.$(OBJEXT)) \ |
|
librpl-conv.$(OBJEXT) >> $@ |
|
echo EXTOBJECTS= @EXT_SQL@ \ |
|
$(top_builddir)/lapack/lapack/liblapack.a \ |
|
$(top_builddir)/lapack/blas/libblas.a \ |
|
$(ldadd_libhistory) \ |
|
$(ldadd_libreadline) \ |
|
$(ldadd_libncurses) \ |
|
$(ldadd_libgsl) \ |
|
$(ldadd_libiconv) \ |
|
$(ldadd_libcrypto) \ |
|
$(ldadd_libssl) \ |
|
$(ldadd_libsqlite) \ |
|
$(ldadd_librplcas) \ |
|
>> $@ |
|
|
|
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) \ |
CLEANFILES= $(SRCCc) $(SRCHc) $(SRCFc) $(SRCF90c) $(SRCINCc) \ |
rpl.inc |
$(INIT_LIBc) $(INIT_EXEc) librplprototypes.h |
CLEANFILES= $(SRCCc) $(SRCHc) $(SRCCPPc) $(SRCFc) $(SRCF90c) $(SRCINCc) \ |
|
$(INIT_LIBc) $(INIT_EXEc) librplprototypes.h generateurs.c \ |
|
rpl.inc rpl-librpl-conv.$(OBJEXT) |
|
|
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 @DEBUG@ @PROFILAGE@ $(LIB) -rdynamic |
rpl_LDFLAGS = -g @PROFILAGE@ $(LIB) @EXPORT_DYNAMIC@ |
rpl_LDFLAGS = -g @DEBUG@ @PROFILAGE@ $(LIB) -export-dynamic |
rpl_CFLAGS = $(AM_CFLAGS) @C_STANDARD@ -Wall -Wextra -Wno-unused-function \ |
|
-Wno-pointer-sign -Wno-unused-parameter @NESTED_FUNCTIONS@ |
rpl_CFLAGS = $(AM_CFLAGS) -D_REENTRANT -Wall -Wextra \ |
|
-Wno-pointer-sign -Wno-unused-parameter |
|
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 -D_REENTRANT \ |
$(SRCXPM) $(SRCINCc) |
-Wall -Wextra -Wno-pointer-sign -Wno-unused-parameter |
librpl_a_CFLAGS = $(AM_CFLAGS) @C_STANDARD@ -Wall -Wextra -Wno-unused-function \ |
|
-Wno-pointer-sign -Wno-unused-parameter @NESTED_FUNCTIONS@ |
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 |
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_libiconv) $(include_libcrypto) $(include_libsqlite) \ |
|
$(include_librplcas) \ |
@includeX@ @libMySQLinc@ @libPgSQLinc@ |
@includeX@ @libMySQLinc@ @libPgSQLinc@ |
DEFS = -DHAVE_CONFIG_H -Dd_version_rpl=\"@VERSION@\" \ |
DEFS = -DHAVE_CONFIG_H -Dd_version_rpl=\"@VERSION@\" @BROKEN_SIGINFO@ \ |
-Dd_exec_path=\"@RUNPATH@\" @FORCE_GNUPLOT_PATH@ @DEBUG_CODE@ \ |
-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@ \ |
@EXPERIMENTAL_CODE@ $(date) -g @PROFILAGE@ \ |
@SEMAPHORES_NOMMES@ @IPCS_SYSV@ @SEMUN@ @IPV6@ \ |
-Dd_locale=\"$(shell locale charmap)\" \ |
@EXPERIMENTAL_CODE@ $(date) $(hash) -g @PROFILAGE@ \ |
-D$(shell uname) |
-Dd_locale=\"@FINAL_ENCODING@\" \ |
rpl_LDADD = $(top_builddir)/lapack/lapack/liblapack.a \ |
-D@OS@ @BSH_PATH@ @RPLCAS@ -DHOST=\"@HOST@\" |
|
rpl_LDADD = -lgfortran \ |
|
$(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_libiconv) $(ldadd_libcrypto) $(ldadd_libssl) \ |
$(ldadd_libgsl) @libX@ @libMySQLlib@ @libPgSQLlib@ |
$(ldadd_libsqlite) \ |
|
$(ldadd_libgsl) $(ldadd_librplcas) @libX@ @libMySQLlib@ @libPgSQLlib@ |
|
|
|
always: $(top_builddir)/src/rpl-conv.c |
|
touch $<; \ |
|
if [ x$(shell which ctags) != x ]; then \ |
|
(cd $(srcdir); ctags $(SRCC) $(SRCF) $(SRCF90) \ |
|
$(INIT_LIB) $(INIT_EXE) 2>&1 /dev/null); \ |
|
fi; |
|
|
always: $(top_builddir)/src/rpl.conv.c |
.PHONY: always librpl licences rpl.inc |
touch $(top_builddir)/src/rpl.conv.c; \ |
|
(cd $(srcdir); ctags $(SRCC) $(SRCF) $(SRCF90) $(SRCH) $(SRCINC) \ |
|
$(INIT_LIB) $(INIT_EXE) 2>&1 /dev/null); |
|
|
|
.PHONY: always librpl licences |
|
|
|
all-local: always |
all-local: always |
|
|
install-exec-local: librpl |
install-exec-local: librpl |
|
|
librpl: install-libLIBRARIES |
librpl: install-libLIBRARIES |
echo \ |
if [ -d $(top_builddir)/librpl ]; then \ |
open $(libdir)/librpl.a+ \ |
rm -rf $(top_builddir)/librpl; \ |
addlib $(top_builddir)/lapack/lapack/liblapack.a+ \ |
fi |
addlib $(top_builddir)/lapack/blas/libblas.a+ \ |
mkdir -p $(top_builddir)/librpl; \ |
addlib $(ldadd_libhistory)+ \ |
for i in $(top_builddir)/src/librpl.a \ |
addlib $(ldadd_libreadline)+ \ |
$(ldadd_libhistory) $(ldadd_libreadline) \ |
addlib $(ldadd_libncurses)+ \ |
$(top_builddir)/lapack/lapack/liblapack.a \ |
addlib $(ldadd_libgsl)+ \ |
$(top_builddir)/lapack/blas/libblas.a \ |
addlib $(ldadd_libiconv)+ \ |
$(ldadd_libncurses) $(ldadd_libgsl) $(ldadd_libiconv) \ |
save+ \ |
$(ldadd_libcrypto) $(ldadd_libssl) $(ldadd_libsqlite) \ |
end \ |
$(ldadd_librplcas); \ |
| tr '+' '\n' | ar -M; \ |
do \ |
$(RANLIB) $(libdir)/librpl.a |
cp -f $$i $(top_builddir)/librpl; \ |
|
done |
|
(cd $(top_builddir)/librpl && n=0 && \ |
|
echo Building standalone librpl.a; \ |
|
for i in *.a; \ |
|
do echo Extracting $$i; ar x $$i; \ |
|
for j in `ar t $$i`; \ |
|
do cp -f $$j $$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 5000; then \ |
|
L="$$L $$i"; \ |
|
else \ |
|
break; \ |
|
fi; \ |
|
done; \ |
|
if test -n "$$L"; then \ |
|
echo -n "Adding files to librpl.a archive... "; \ |
|
ar cru librpl.a $$L; \ |
|
rm -f $$L; \ |
|
echo "done"; \ |
|
fi; \ |
|
done; \ |
|
echo Archive created; \ |
|
ar s librpl.a; \ |
|
if [ @OS@ != OS2 ]; then \ |
|
echo Stripping librpl.a && strip -d librpl.a; \ |
|
fi;); \ |
|
$(INSTALL_DATA) $(top_builddir)/librpl/librpl.a $(DESTDIR)$(libdir)/librpl.a |
|
|