Re: Calling other external Makefiles and outside Make systems

2004-01-25 Thread Alexandre Duret-Lutz
 John == John Ling [EMAIL PROTECTED] writes:

 John My project, for which I use Automake, needs to build libraries from
 John projects outside of itself.  I tried incorporating this outside
 John project's Makefiles into my own but without success.  This is because
 John they define things like CPPFLAGS and top_srcdir in their own
 John Makefiles.  If I try to include these into my own Makefile.am it will
 John obviously conflict with what my own project needs.  If anyone knows a
 John way around this let me know.

 John In the meantime, I think the solution is to simply call the Makefile
 John of this other project and let it do the building of these libraries.
 John But, I want to do this call from inside my Makefile.am.

Hi John,

Here is proposed section about this for the manual.  Please let
me know if this answers your question, or if it can be improved
in any way (including English mistakes).

When Automake Isn't Enough
**

In some situations, where Automake is not up to one task, one has to
resort to handwritten rules or even handwritten `Makefile's.
  
* Menu:
  
* Extending::   Adding new rules or overriding existing ones.
* Third-Party Makefiles::   Integrating Non-Automake `Makefile's.

[I'm skipping the `Extending' node here.  It contains all what
was under the title `When Automake Isn't Enough' in previous manual.]

Third-Party `Makefile's
===

In most projects all `Makefile's are generated by Automake.  In some
cases, however, projects need to embed subdirectories with handwritten
`Makefile's.  For instance one subdirectory could be a third-party
project with its own build system, not using Automake.
  
   It is possible to list arbitrary directories in `SUBDIRS' or
`DIST_SUBDIRS' provided each of these directories has a `Makefile' that
recognizes all the following recursive targets.

   When a user runs one of these targets, that target is run recursively
in all subdirectories.  This is why it is important that even
third-party `Makefile's support them.

`all'
 Compile the entire package.  This is the default target in
 Automake-generated `Makefile's, but it does not need to be the
 default in third-party `Makefile's.

`distdir'
 Copy files to distribute into `$(distdir)', before a tarball is
 constructed.  Of course this target is not required if the
 `no-dist' option (*note Options::) is used.

`install'
`install-data'
`install-exec'
`uninstall'
 Install or uninstall files (*note Install::).

`install-info'
 Install only the Texinfo documentation (*note Texinfo::).

`installdirs'
 Create install directories, but do not install any file.

`check'
`installcheck'
 Check the package (*note Tests::).

`mostlyclean'
`clean'
`distclean'
`maintainer-clean'
 Cleaning rules (*note Clean::).

`dvi'
`pdf'
`ps'
`info'
`html'
 Build the documentation in various format (*note Texinfo::).

`tags'
`ctags'
 Build `TAGS' and `CTAGS' (*note Tags::).

   If you have ever used Gettext in a project, this is how it works.
The `Makefile's in the `po/' and `intl/' directories are handwritten
`Makefile's that implement all these targets.  That way they can be
added to `SUBDIRS' in Automake packages.
   
   Directories which are only listed in `DIST_SUBDIRS' but not in
`SUBDIRS', need only the `distclean', `maintainer-clean', and `distdir'
rules (*note Top level::).
   
   Usually, many of these rules are irrelevant to the third-party
subproject, but they are required for the whole package to work.  It's
OK to have a rule that does nothing, so if you are integrating a
third-party project with no documentation or tag support, you could
simply augment its `Makefile' as follows:

 EMPTY_AUTOMAKE_TARGETS = dvi pdf ps info html tags ctags
 .PHONY: $(EMPTY_AUTOMAKE_TARGETS)
 $(EMPTY_AUTOMAKE_TARGETS):
   
   It is sometimes inconvenient to modify a third-party `Makefile' to
introduce these required targets.  For instance one may want to keep
the third-party sources untouched to ease upgrade to new versions.

   Here are two other ideas.  If GNU make is assumed, one possibility is
to add to that subdirectory a `GNUmakefile' that defines the required
targets and include the third-party `Makefile'.  For example if we
assume `Makefile' defines all targets except the documentation targets,
and that the `check' target is actually called `test', here the
`GNUmakefile' we could write:

 # First, include the real Makefile
 include Makefile
 # Then, define the other targets needed by Automake Makefiles.
 .PHONY: dvi pdf ps info html check
 dvi pdf ps info html:
 check: test

   A similar idea, that does not use `include' is to write a proxy
`Makefile' that dispatches rules to the real `Makefile', either with
`$(MAKE) -f Makefile.real $(AM_MAKEFLAGS) target' (if it's OK to rename
the original `Makefile') or with `cd subdir  $(MAKE) $(AM_MAKEFLAGS)
target' (if it's OK to store the 

FINAL AWARD WINNING NOTIFICATION

2004-01-25 Thread [EMAIL PROTECTED]
SWEEPS TAKE LOTERIA (LOTERIA PRIMITIVA DE ESPAÑA)

CALLE SAN MARCOS 240-2

280004 MADRID, SPAIN.


FROM: THE DESK OF THE MANAGING DIRECTOR

INTERNATIONAL PROMOTION PRIZE AWARD DEPT.

Ref:LP255481/2003/ES

BATCH:02033/1PD

RE: FINAL AWARD WINNING NOTIFICATION.

WE ARE PLEASED TO INFORM YOU ABOUT THE RELEASE TODAY THE 25TH OF JANUARY 2004, OF 
SWEEPSTAKE LOTERIA PRIMITIVA DE ESPAÑA HELD ON THE DECEMBER 26TH 2003, YOUR NAME 
ATTACHED TO TICKET NUMBER: 564- 40996-ES, WITH SERIAL NUMBER 5388/03 DREW THE LUCKY 
NUMBER:54-86-02-46-26, WHICH CONSEQUENTLY WON THE LOTTERY IN THE 3RD CATEGORY.

YOU HAVE THEREFORE BEEN APPROVED FOR A LUMP SUM PAY OUT OF €500,000.00EUROS(FIVE 
HUNDRED THOUSAND EUROS) IN CASH CREDITED TO FILE:LP255481/2003/ES.
THIS FORM IS FROM A TOTAL CASH PRIZE OF €2 MILLION EUROS SHARE! AMONG THE FOUR 
INTERNATIONAL LUCKY WINNERS IN THISCATEGORY.

FURTHERMORE, YOUR LUCKY WINNING NUMBER FALLS WITHIN OUR EUROPEAN BOOKLETREPRESNTATIVE 
OFFICE IN MADRID - SPAIN AS INDICATED IN YOURPLAY COUPON. IN VIEW OF THIS, YOUR 
€500,000.00 (FIVE HUNDRED THOUSAND EUROS)WOULD BE RELEASED TO YOU BY OUR PRIVATE 
SECURITY AND TRUST COMPANY WHICH HAD INSURED YOUR WINNING IN YOUR NAME WITH THEIR 
OFFICE IN MADRID- SPAIN,

CONGRATULATIONS!

YOUR FUND HAS BEEN THEREFORE DEPOSITED WITH OURFINANCIAL INSTITUTION (AXA INSURANCE 
COMAPNY) AND INSURED ON YOUR NAME. . DUE TO MIXED UP OF SOME NUMBERS AND NAMES, WE ASK 
THAT YOU KEEP THIS TOP SECRET FROM THE PUBLIC NOTICE UNTIL YOUR CLAIM HAS BEEN 
PROCESSED AND YOUR MONEY REMMITTED TO YOUR ACCOUNT AS THIS IS PART OF SECURITY 
PROTOCOLS TO AVOID DOUBLE CLAIMING OR UNWARRANTED TAKING ADVANTAGE OF THIS PROGRAMS BY 
PARTICIPANTS.

TO BEGIN YOUR CLAIM,PLEASE CONTACT YOUR PRIZE CLAIMS AGENT : DR. PAUL LUIS BY 
TELEPHONE +34 696 318 879 E-MAIL:
[EMAIL PROTECTED],FOR THE PROCESSING AND REMITTANCE OF YOUR FUNDS TO A DESIGNATED 
ACCOUNT OF YOUR CHOICE.

ENDEAVOR TO INCLUDE YOUR FULL RECENTCONTACT ADDRESS, TELEPHONE NUMBER/FAX NUMBERS AND 
YOUR BANK ACCOUNT DETAILS WHERE YOU WANT THIS FUND TO BE REMITTED TO YOU. WHILE 
REPLYING THIS NOTIFICATION, YOU SHALL BE ADVISED/DIRECTED ON HOW TO CONTACT THE 
SECURITY AND TRUST COMPANY FOR ROCESSING AND REMITTANCE OF YOUR FUNDS TO YOUR 
NOMINATED BANK ACCOUNT.

REMEMBER, ALL WINNINGS MUST BE CLAIM NOT LATER THAN 23RD OF FEBRUARY 2004, AFTER THIS 
DATE ALL WILL BE RETURNED AS UNCLAIMED TO THE MINISTERIO DE HACIENDA.

NOTE:IN ORDER TO AVOID UNNECESSARY DELAYS AND COMPLICATIONS, PLEASE REMEMBER TO QUOTE 
YOUR REFERENCE AND BATCH NUMBERS IN VERY CORRESPONDENCE WITH YOUR PRIZE CLAIM AGENT.

FURTHERMORE, SHOULD THERE BE ANY CHANGE OF YOUR ADDRESS, DO INFORM US AS SOON AS 
POSSIBLE. CONGRATULATIONS AGAIN FROM ALL MEMBERS OF OUR STAFF AND THANK YOU BEING PART 
OF OUR PROMOTIONAL PROGRAMS.

BEST REGARDS,

MRS SONIA LOPEZ






Inclusion of caml support into automake

2004-01-25 Thread Roberto Bagnara
Hi there,

is there any chance the work of Tom Murray on caml support for automake
(http://sources.redhat.com/ml/automake/2003-12/msg00153.html)
can be incorporated into automake's mainline?
If so, is this going to happen soon?  I believe this is would be a very
important addition to automake's capabilities.
All the best,
Roberto

--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:[EMAIL PROTECTED]




Re: Inclusion of caml support into automake

2004-01-25 Thread Tom Murray
Hi,

I think they're going to, I just need to get my paperwork back so all 
the legal issues are covered. School started up again, so it's been 
harder for me to sneak some time on this ;-)

Cheers,

tm

On Sunday, Jan 25, 2004, at 10:38 US/Pacific, Roberto Bagnara wrote:

Hi there,

is there any chance the work of Tom Murray on caml support for automake
(http://sources.redhat.com/ml/automake/2003-12/msg00153.html)
can be incorporated into automake's mainline?
If so, is this going to happen soon?  I believe this is would be a very
important addition to automake's capabilities.
All the best,
Roberto

--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:[EMAIL PROTECTED]