From xemacs-m  Mon Mar  3 17:20:40 1997
Received: from venus.Sun.COM (venus.Sun.COM [192.9.25.5])
	by xemacs.org (8.8.5/8.8.5) with SMTP id RAA23043
	for <xemacs-beta@xemacs.org>; Mon, 3 Mar 1997 17:20:39 -0600 (CST)
Received: from Eng.Sun.COM ([129.146.1.25]) by venus.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id PAA10855; Mon, 3 Mar 1997 15:20:08 -0800
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id PAA12779; Mon, 3 Mar 1997 15:20:07 -0800
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id PAA03646; Mon, 3 Mar 1997 15:20:03 -0800
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id PAA07164; Mon, 3 Mar 1997 15:20:01 -0800
Date: Mon, 3 Mar 1997 15:20:01 -0800
Message-Id: <199703032320.PAA07164@xemacs.eng.sun.com>
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: Per Abrahamsen <abraham@dina.kvl.dk>
Cc: xemacs-beta@xemacs.org
Subject: Re: PATCH: auc-tex XEmacs Makefile patch for non-GNU make.
In-Reply-To: <rjsp2c4p7k.fsf@zuse.dina.kvl.dk>
References: <199703030656.WAA05450@xemacs.eng.sun.com>
	<rjybc55myh.fsf@zuse.dina.kvl.dk>
	<199703032144.NAA06984@xemacs.eng.sun.com>
	<rjsp2c4p7k.fsf@zuse.dina.kvl.dk>
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>
Mime-Version: 1.0 (generated by tm-edit 7.100)
Content-Type: text/plain; charset=US-ASCII

>>>>> "Per" == Per Abrahamsen <abraham@dina.kvl.dk> writes:

Per> Martin Buchholz <mrb@Eng.Sun.COM> writes:

>> XEmacs uses it in src/Makefile.in.in
>> so you can use it too without loss of portability.

Per> Not unless Emacs also use it.

True, Emacs does not use it.  On the other hand, XEmacs has been using
it for a while, and this is one aspect of the build system no one has
ever complained about.  Nevertheless, you should just hardcode your
.elc's if you don't want this extra dependency on make features.

Per> What make are you using?  I tried

Per> alpha% touch style/report.el
Per> alpha% /usr/ccs/bin/make some
Per> emacs -batch -q -l lpath.el -f batch-byte-compile style/report.el
Per> Wrote /home/user_22/abraham/auctex/style/report.elc
Per> Done
Per> alpha% 

Per> on Solaris 2.5.1 with only the .SUFFIXES part of your patch, and it
Per> looks ok to me.

We are using the same make and OS levels.

Try

$ rm style/*.elc
$ make some
make: Fatal error: Don't know how to make target `style/*.elc'

Also, if only some of the .elc's exist, then the .el's without .elc's
will not get byte-compiled.

Martin

