diff src/Makefile.in @ 109169:5df3f77a9df9

Remove src/prefix-args.c. * configure.in (PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS): Remove. * msdos/sed1v2.inp: Remove reference to prefix-args. * prefix-args.c: Remove file. * src/autodeps.mk (ALLOBJS): Remove reference to prefix-args. * src/Makefile.in (temacs${EXEEXT}): Remove references to PRE_EDIT_LDFLAGS and POST_EDIT_LDFLAGS. (mostlyclean): Remove reference to prefix-args. (prefix-args): Remove.
author Dan Nicolaescu <dann@ics.uci.edu>
date Wed, 07 Jul 2010 20:31:04 -0700
parents 6799ec1a7188
children 09daf1538316
line wrap: on
line diff
--- a/src/Makefile.in	Wed Jul 07 20:03:52 2010 -0700
+++ b/src/Makefile.in	Wed Jul 07 20:31:04 2010 -0700
@@ -628,20 +628,10 @@
 	echo "#define BUILDOBJ \"${obj} ${otherobj} " "\"" > buildobj.h
 
 
-## We cannot define variables for PRE_EDIT and POST_EDIT.
-## If !ORDINARY_LINK && !LINKER && GCC, they add a
-## `./prefix-args -Xlinker ... ` wrapper, otherwise they are empty.
-## One alternative to this approach would be to always call prefix-args, 
-## and have it DTRT in all cases, by testing the above defines.
-temacs${EXEEXT}: $(START_FILES) stamp-oldxmenu ${obj} ${otherobj} prefix-args${EXEEXT}
-	$(LD) @PRE_EDIT_LDFLAGS@ ${TEMACS_LDFLAGS} @POST_EDIT_LDFLAGS@ \
-	  ${TEMACS_LDFLAGS2} \
+temacs${EXEEXT}: $(START_FILES) stamp-oldxmenu ${obj} ${otherobj}
+	$(LD) ${TEMACS_LDFLAGS} ${TEMACS_LDFLAGS2} \
 	  -o temacs ${START_FILES} ${obj} ${otherobj} ${LIBES}
 
-prefix-args${EXEEXT}: prefix-args.o $(config_h)
-	$(CC) $(LDFLAGS) prefix-args.o -o prefix-args
-
-
 ## The following oldxmenu-related rules are only (possibly) used if
 ## HAVE_X11 && !USE_GTK, but there is no harm in always defining them
 ## (provided we take a little care that OLDXMENU is never empty).
@@ -688,7 +678,7 @@
 
 
 mostlyclean:
-	rm -f temacs${EXEEXT} prefix-args${EXEEXT} core *.core \#* *.o libXMenu11.a liblw.a
+	rm -f temacs${EXEEXT} core *.core \#* *.o libXMenu11.a liblw.a
 	rm -f ../etc/DOC
 	rm -f bootstrap-emacs${EXEEXT} emacs-${version}${EXEEXT}
 	rm -f buildobj.h