Weddington, Eric wrote:
-----Original Message-----
From: Joel Sherrill [mailto:[email protected]] Sent: Friday, March 20, 2009 11:04 AM
To: Weddington, Eric
Cc: [email protected]
Subject: Re: [Simulavr-devel] kbdgentables

Weddington, Eric wrote:
Hi All,

So I see that the executable kbdgentables(.exe) is
installed in /bin.
What is this used for? Is it used only for the examples?
Why is it installed?
If that is all it is used for and not needed if the examples are
installed, then it should be marked "noinst".  This patch does
that and I can apply it if you want.

From looking at the automake Makefile it seems that kbdgentables is used (with 
a couple of .dat data files) to generate a header file, which is dependency of 
keyboard.cpp, which in turn is part of the libsim library. So to my eyes it 
should not installed.

However, if these data files (keynumber_to_scancode.dat and 
xcode_to_keynumber.dat) never change, hence the header file never changes, then 
why don't we just check in the generated header file and be done with it? Why 
continue to build the generator program kbdgentables.exe?

I had similarly wondered about the output of swig.  Does it ever
change?

These look like things that there should be a "--enable-maintainer-mode"
added and the results checked in and not generated as part of a "normal"
build.
Eric Weddington


--
Joel Sherrill, Ph.D.             Director of Research & Development
[email protected]        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available             (256) 722-9985




_______________________________________________
Simulavr-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/simulavr-devel

Reply via email to