I use this little makefile for compiling XEmacs/GTK in all the various
incarnations of XEmacs. It builds in a platform specific directory, debug
& release versions, mule & nomule, and union/nounion. This version of the
makefile does pdump/dump instead of union/nounion.
You end up with a directory tree looking like:
[gtk-xemacs]find . -name xemacs
./i686-pc-linux-gnu/debug/mule/union/src/xemacs
./i686-pc-linux-gnu/debug/mule/nounion/src/xemacs
./i686-pc-linux-gnu/debug/nomule/union/src/xemacs
./i686-pc-linux-gnu/debug/nomule/nounion/src/xemacs
./i686-pc-linux-gnu/release/mule/union/src/xemacs
./i686-pc-linux-gnu/release/mule/nounion/src/xemacs
./i686-pc-linux-gnu/release/nomule/union/src/xemacs
./i686-pc-linux-gnu/release/nomule/nounion/src/xemacs
./i386-unknown-freebsd4.1/debug/mule/union/src/xemacs
./i386-unknown-freebsd4.1/debug/mule/nounion/src/xemacs
./i386-unknown-freebsd4.1/debug/nomule/union/src/xemacs
./i386-unknown-freebsd4.1/debug/nomule/nounion/src/xemacs
./i386-unknown-freebsd4.1/release/mule/union/src/xemacs
./i386-unknown-freebsd4.1/release/mule/nounion/src/xemacs
./i386-unknown-freebsd4.1/release/nomule/union/src/xemacs
./i386-unknown-freebsd4.1/release/nomule/nounion/src/xemacs
./sparc-sun-solaris2.7/debug/mule/union/src/xemacs
./sparc-sun-solaris2.7/debug/mule/nounion/src/xemacs
./sparc-sun-solaris2.7/debug/nomule/union/src/xemacs
./sparc-sun-solaris2.7/debug/nomule/nounion/src/xemacs
./sparc-sun-solaris2.7/release/mule/union/src/xemacs
./sparc-sun-solaris2.7/release/mule/nounion/src/xemacs
./sparc-sun-solaris2.7/release/nomule/union/src/xemacs
./sparc-sun-solaris2.7/release/nomule/nounion/src/xemacs
Its very handy for finding compilation errors that crop up only with union
type, or only in mule, etc. It only works in GNU make, but you could
probably come up with something equally sadistic for BSD make if you had
to.
It does chew up disk space though. :) Just with 3 platforms here it is
using up well over a gigabyte of space.
-Bill P.
Show replies by date