On Wed, Feb 6, 2013 at 4:29 PM, Jerry James <james(a)xemacs.org> wrote:
Does the Windows build not use ellcc? If not, then how does it build
modules?
Is it this bit in nt/xemacs.mak?
###################### Random .obj dependencies
# An explicit rule looks like this ($< works only in implicit rules):
# $(OUTDIR)\foo.obj: $(SRC)\foo.c
# $(CCV) $(TEMACS_CPP_FLAGS) $(SRC)\$((a)B).c -Fo$@ $(BROWSERFLAGS)
$(OUTDIR)\emacs.obj: $(SRCROOT)\version.sh
$(OUTDIR)\libinterface.obj: $(SRC)\libinterface.c
$(CCV) $(TEMACS_CPP_CDECL_FLAGS) $(SRC)\$((a)B).c -Fo$@ $(BROWSERFLAGS)
$(OUTDIR)\postgresql.obj: $(SRCROOT)\modules\postgresql\postgresql.c
$(CCV) -I$(SRC) $(TEMACS_CPP_FLAGS)
$(SRCROOT)\modules\postgresql\postgresql.c -Fo$@ $(BROWSERFLAGS)
$(OUTDIR)\eldap.obj: $(SRCROOT)\modules\ldap\eldap.c
$(CCV) -I$(SRC) $(TEMACS_CPP_FLAGS)
$(SRCROOT)\modules\ldap\eldap.c -Fo$@ $(BROWSERFLAGS)
If so, then it should still work, because up above, I see these:
DEFINES=$(OPT_DEFINES) \
-DWIN32_LEAN_AND_MEAN -DWIN32_NATIVE -Demacs \
-DHAVE_CONFIG_H $(PROGRAM_DEFINES) $(PATH_DEFINES)
TEMACS_CPP_FLAGS_NO_CFLAGS=-c $(CPLUSPLUS_COMPILE_FLAGS) \
$(INCLUDES) $(DEFINES) \
-DEMACS_MAJOR_VERSION=$(emacs_major_version) \
-DEMACS_MINOR_VERSION=$(emacs_minor_version) \
$(EMACS_BETA_VERSION) $(EMACS_PATCH_LEVEL) \
-DXEMACS_CODENAME=\"$(xemacs_codename:&=and)\" \
!if defined(xemacs_extra_name)
-DXEMACS_EXTRA_NAME=\""$(xemacs_extra_name:"=)"\" \
!endif
TEMACS_CPP_FLAGS=$(CFLAGS) $(TEMACS_CPP_FLAGS_NO_CFLAGS)
So the -Demacs in $(DEFINES) should end up in $TEMACS_CPP_FLAGS, which
is used to build the modules, no?
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta