Henry S. Thompson writes:
So the Makefile I'm using is
modules/postgresql/Makefile
That's the problem, then. That Makefile doesn't know how to link
xemacs, only .ells.
This script
cd $builddir
$srcdir/configure --without-modules --with-postgresql $OTHER_OPTIONS
make distclean # or in a fresh checkout
make
should Just Work[tm] due to this definition in src/Makefile.in.in:
#if defined(HAVE_POSTGRESQL) && !defined(HAVE_SHLIB)
postgresql_objs=$(BLDMODULES)/postgresql/postgresql.o
#endif
where $(postgresql_objs) is cited in the dependencies for temacs.
What happens when you do that?
In none of these do I find -Demacs, although it _is_ spread
throughout
the Makefiles under src and lib-src (and nt) . . .
This is the magic:
MODCC=../../lib-src/ellcc
.c.o:
$(MODCC) $(MODCFLAGS) -c $<
ellcc is a special compiler control program that knows to set
-Demacs. So those Makefiles are only for building modules.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta