This is the mail archive of the mailing list for the frysk project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: why not generate rules for assembly programs in common/

Good idea; ok.  Delete this line also though :-)

# XXX: This needs to be make less-architecture independant.


Yong Zheng wrote:

In frysk-core/frysk/pkglibexecdir, there are some assembly programs(with
the development going on, more assembly programs may be added). But the
rules for making them are not generated by If one
assembly program will be added, the rules must be added in
frysk-core/ too! This is not so good because adding rules in by hand is not only one boring task but also this will make larger! So we do some modifications on
common/ and automatically generate all rules for assembly
programs. About the details, see the attached patch.

2006-09-15 Yong Zheng <>

	* common/ Add instructions to generate rules for
	assembly programs.
	* frysk-core/ Remove rules for assembly programs.

please review. If it ok, we will check them in. Thanks.

Best regards
Yong Zheng

Index: common/
RCS file: /cvs/frysk/frysk-common/,v
retrieving revision 1.109
diff -u -r1.109
--- common/ 29 Aug 2006 21:40:12 -0000 1.109
+++ common/ 15 Sep 2006 03:53:48 -0000
@@ -400,6 +400,23 @@
+# Generate rules for .S/.s assembly files
+for suffix in .s .S ; do
+ print_header "... ${suffix}"
+ find ${dirs} \
+ -name "[A-Za-z]*${suffix}" -print \
+ | sort -f | while read file ; do
+ d=`dirname ${file}`
+ b=`basename ${file} ${suffix}`
+ name=${d}/${b}
+ name_=`echo ${name} | sed -e 'y,/-,__,'`
+ echo "${name_}_SOURCES = ${file}"
+ echo_PROGRAMS ${name}
+ done
# Grep the cni/*.cxx files forming a list of included files. Assume
# these are all generated from .class files. The list can be pruned a
Index: frysk-core/
RCS file: /cvs/frysk/frysk-core/,v
retrieving revision 1.66
diff -u -r1.66
--- frysk-core/ 12 Sep 2006 17:28:57 -0000 1.66
+++ frysk-core/ 15 Sep 2006 03:55:42 -0000
@@ -94,18 +94,6 @@
# XXX: This needs to be make less-architecture independant.
-frysk_pkglibexecdir_funit_ia32_regs_SOURCES = frysk/pkglibexecdir/funit-ia32-regs.S
-pkglibexec_PROGRAMS += frysk/pkglibexecdir/funit-ia32-regs
-frysk_pkglibexecdir_funit_ia32_modify_SOURCES = frysk/pkglibexecdir/funit-ia32-modify.S
-pkglibexec_PROGRAMS += frysk/pkglibexecdir/funit-ia32-modify
-frysk_pkglibexecdir_funit_x8664_regs_SOURCES = frysk/pkglibexecdir/funit-x8664-regs.S
-pkglibexec_PROGRAMS += frysk/pkglibexecdir/funit-x8664-regs
-frysk_pkglibexecdir_funit_x8664_modify_SOURCES = frysk/pkglibexecdir/funit-x8664-modify.S
-pkglibexec_PROGRAMS += frysk/pkglibexecdir/funit-x8664-modify
-frysk_pkglibexecdir_funit_ppc64_regs_SOURCES = frysk/pkglibexecdir/funit-ppc64-regs.S
-pkglibexec_PROGRAMS += frysk/pkglibexecdir/funit-ppc64-regs
# For
pkglibexec_PROGRAMS += frysk/pkglibexecdir/funit-child-alias
frysk_pkglibexecdir_funit_child_alias_SOURCES =

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]