AS = @AS@
TAR = tar
GZIP_ENV = --best
+PAXCTL = @PAXCTL@
DEFS = @DEFS@ @SCHEME_DEFS@ -DDEFAULT_LIBRARY_PATH=\"$(AUXDIR)\"
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS)
LINK = $(CCLD) $(LDFLAGS) -o $@
+LINKTMP = $(CCLD) $(LDFLAGS) -o $@.tmp
EXPAND = $(M4) $(M4_FLAGS)
ASSEMBLE = $(AS) $(AS_FLAGS)
scheme: $(scheme_OBJECTS) $(scheme_DEPENDENCIES)
-rm -f $@
- $(LINK) $(scheme_LDFLAGS) $(scheme_OBJECTS) $(scheme_LIBS)
+ $(LINKTMP) $(scheme_LDFLAGS) $(scheme_OBJECTS) $(scheme_LIBS)
+ $(PAXCTL) +m $@.tmp
+ mv -f $@.tmp $@
usrdef.c: $(STD_SOURCES) findprim Makefile
-rm -f $@.tmp