summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2003-01-31 15:24:20 +0000
committerJuanma Barranquero <lekktu@gmail.com>2003-01-31 15:24:20 +0000
commit802fcb1df404271cf97a33cb01a51847194df346 (patch)
treeb30d254b0e5b8a91c9c42cab198e269428237441 /lib-src
parent6f78d6940321a8d402dc8448f6fd06a03fcbc87c (diff)
downloademacs-802fcb1df404271cf97a33cb01a51847194df346.tar.gz
Cygwin support patch.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog28
-rw-r--r--lib-src/Makefile.in60
2 files changed, 46 insertions, 42 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 0ade359d846..ad2c569670d 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
+
+ * Makefile.in: Use @EXEEXT@ for Cygwin.
+
2003-01-21 Dave Love <fx@gnu.org>
* etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
@@ -43,7 +47,7 @@
* getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
(libintl.h): Include this if _LIBC. Otherwise include gettext.h.
- (wchar.h): Include, maybe.
+ (wchar.h): Include, maybe.
(attribute_hidden): Define if not defind.
(__getopt_initialized): Use attribute_hidden.
(__libc_argc, __libc_argv): Renamed from original_argc, etc.
@@ -204,7 +208,7 @@
* make-docfile.c (scan_c_file): Warn about missing `usage' info.
-2002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
+2002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
* b2m.pl: Obey the rmail file and use the unpruned header properly.
@@ -1341,7 +1345,7 @@
* movemail.c (main): Improve error message if can't create lock file.
-2000-01-28 Eric Hanchrow <offby1@blarg.net>
+2000-01-28 Eric Hanchrow <offby1@blarg.net>
* emacsclient.c (socket_status): New function.
(main): If $LOGNAME or $USER exist and differ from our euid, look
@@ -1352,7 +1356,7 @@
* emacsclient.c: Add option -a EDITOR and environment variable
ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
-1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
+1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
* movemail.c (popmail): Allow mailbox specifications of the
form `po:username:hostname'.
@@ -1704,7 +1708,7 @@
* makefile.nt: Do string comparision of _NMAKE_VER.
-1998-11-03 Theodore Jump <tjump@cais.com>
+1998-11-03 Theodore Jump <tjump@cais.com>
* makefile.nt: Compile multiple source files when possible.
@@ -2411,7 +2415,7 @@ Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
* cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
-1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
+1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
* cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
* emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
@@ -2468,11 +2472,11 @@ Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
(Pascal_functions): Increase linecharno by the correct number of
chars, inline the GET_NEW_LINE macro and delete its definition.
-1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
+1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
* makefile.nt (OBJDIR, BLD): Remove macro definitions.
-1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
+1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
* makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
(movemail.exe, fakemail.exe): Now built under Win32.o
@@ -2706,7 +2710,7 @@ Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
(C_entries): Consider // as a comment start even in plain C for
the sake of Objective C parsing.
-1995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
+1995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
* Makefile.in (ctags): depend on etags only for simplicity;
compile with regexp support enabled.
@@ -3423,7 +3427,7 @@ Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
defined, use simple 32-bit versions of these macros.
(main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
-1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* etags.c (etags_getcwd): Use getcwd if available.
@@ -3804,9 +3808,9 @@ Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
* profile.c: New file.
1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
+
* make-docfile.c: Make the argument list output look more like the
- Lisp docstrings do.
+ Lisp docstrings do.
(write_c_args): Take new arg FUNC. Make output
look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
(scan_c_file): Pass BUF to write_c_args for FUNC arg.
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 2a1d6424515..b8d853f8eac 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -100,15 +100,15 @@ INSTALL_STRIP =
# Things that a user might actually run,
# which should be installed in bindir.
-INSTALLABLES = etags ctags emacsclient b2m ebrowse
+INSTALLABLES = etags@EXEEXT@ ctags@EXEEXT@ emacsclient@EXEEXT@ b2m@EXEEXT@ ebrowse@EXEEXT@
INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog
# Things that Emacs runs internally, or during the build process,
# which should not be installed in bindir.
-UTILITIES= profile digest-doc sorted-doc movemail cvtmail fakemail \
- yow hexl update-game-score
+UTILITIES= profile@EXEEXT@ digest-doc@EXEEXT@ sorted-doc@EXEEXT@ movemail@EXEEXT@ cvtmail@EXEEXT@ fakemail@EXEEXT@ \
+ yow@EXEEXT@ hexl@EXEEXT@ update-game-score@EXEEXT@
-DONT_INSTALL= test-distrib make-docfile
+DONT_INSTALL= test-distrib@EXEEXT@ make-docfile@EXEEXT@
# Like UTILITIES, but they're not system-dependent, and should not be
# deleted by the distclean target.
@@ -286,12 +286,12 @@ blessmail:
maybe-blessmail: BLESSMAIL
#ifdef MOVEMAIL_NEEDS_BLESSING
/* Don\'t charge ahead and do it! Let the installer decide.
- ./blessmail ${archlibdir}/movemail */
+ ./blessmail ${archlibdir}/movemail@EXEEXT@ */
@if [ `wc -l <blessmail` != 2 ] ; then \
dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \
echo Assuming $$dir is really the mail spool directory, you should; \
- echo run lib-src/blessmail ${archlibdir}/movemail; \
- echo as root, to give movemail appropriate permissions.; \
+ echo run lib-src/blessmail ${archlibdir}/movemail@EXEEXT@; \
+ echo as root, to give movemail@EXEEXT@ appropriate permissions.; \
echo Do that after running make install.; \
fi
#endif
@@ -372,14 +372,14 @@ check:
@echo "We don't have any tests for GNU Emacs yet."
tags: TAGS
-TAGS: etags
+TAGS: etags@EXEEXT@
etags *.[ch]
/* This verifies that the non-ASCII characters in the file \`testfile\'
have not been clobbered by whatever means were used to copy and
distribute Emacs. If they were clobbered, all the .elc files were
clobbered too. */
-test-distrib: ${srcdir}/test-distrib.c
+test-distrib@EXEEXT@: ${srcdir}/test-distrib.c
$(CC) ${ALL_CFLAGS} -o test-distrib ${srcdir}/test-distrib.c
./test-distrib ${srcdir}/testfile
@@ -403,34 +403,34 @@ REGEXPDEPS = $(REGEXPOBJ) $(srcdir)/../src/regex.h
regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h
${CC} -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c
-etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h
+etags@EXEEXT@: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h
$(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o etags
-ebrowse: ${srcdir}/ebrowse.c $(GETOPTDEPS) ../src/config.h
+ebrowse@EXEEXT@: ${srcdir}/ebrowse.c $(GETOPTDEPS) ../src/config.h
$(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/ebrowse.c $(GETOPTOBJS) $(LOADLIBES) -o ebrowse
/* We depend on etags to assure that parallel makes don\'t write two
etags.o files on top of each other. */
-ctags: etags
+ctags@EXEEXT@: etags@EXEEXT@
$(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o ctags
-profile: ${srcdir}/profile.c ../src/config.h
+profile@EXEEXT@: ${srcdir}/profile.c ../src/config.h
$(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile
-make-docfile: ${srcdir}/make-docfile.c ../src/config.h
+make-docfile@EXEEXT@: ${srcdir}/make-docfile.c ../src/config.h
$(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile
-digest-doc: ${srcdir}/digest-doc.c
- $(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc
+digest-doc@EXEEXT@: ${srcdir}/digest-doc.c
+ $(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc
-sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA}
+sorted-doc@EXEEXT@: ${srcdir}/sorted-doc.c ${ALLOCA}
$(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc
-b2m: ${srcdir}/b2m.c ../src/config.h $(GETOPTDEPS)
+b2m@EXEEXT@: ${srcdir}/b2m.c ../src/config.h $(GETOPTDEPS)
$(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c -DVERSION="\"${version}\"" \
- $(GETOPTOBJS) $(LOADLIBES) -o b2m
+ $(GETOPTOBJS) $(LOADLIBES) -o b2m
-movemail: movemail.o pop.o $(GETOPTDEPS)
+movemail@EXEEXT@: movemail.o pop.o $(GETOPTDEPS)
$(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(GETOPTOBJS) $(LOADLIBES) $(LIBS_MAIL) $(LIBS_MOVE) -o movemail
movemail.o: ${srcdir}/movemail.c ../src/config.h
@@ -439,45 +439,45 @@ movemail.o: ${srcdir}/movemail.c ../src/config.h
pop.o: ${srcdir}/pop.c ../src/config.h
$(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c
-cvtmail: ${srcdir}/cvtmail.c
+cvtmail@EXEEXT@: ${srcdir}/cvtmail.c
$(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail
-fakemail: ${srcdir}/fakemail.c ../src/config.h
+fakemail@EXEEXT@: ${srcdir}/fakemail.c ../src/config.h
$(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail
-yow: ${srcdir}/yow.c ../src/epaths.h
+yow@EXEEXT@: ${srcdir}/yow.c ../src/epaths.h
$(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow
-emacsclient: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS)
+emacsclient@EXEEXT@: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS)
$(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(GETOPTOBJS) \
-DVERSION=`sed -n -e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' ${srcdir}/../lisp/version.el` \
$(LOADLIBES) -o emacsclient
-hexl: ${srcdir}/hexl.c ../src/config.h
+hexl@EXEEXT@: ${srcdir}/hexl.c ../src/config.h
$(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl
-update-game-score: ${srcdir}/update-game-score.c ../src/config.h
+update-game-score@EXEEXT@: ${srcdir}/update-game-score.c ../src/config.h
$(CC) ${ALL_CFLAGS} ${srcdir}/update-game-score.c \
-DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \
$(LOADLIBES) -o update-game-score
/* These are NOT included in INSTALLABLES or UTILITIES.
See ../src/Makefile.in. */
-emacstool: ${srcdir}/emacstool.c
+emacstool@EXEEXT@: ${srcdir}/emacstool.c
$(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \
-lsuntool -lsunwindow -lpixrect $(LOADLIBES)
/* For SUN Japanese Language Environment. */
-nemacstool: ${srcdir}/emacstool.c
+nemacstool@EXEEXT@: ${srcdir}/emacstool.c
$(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \
-lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES)
-xvetool: ${srcdir}/emacstool.c
+xvetool@EXEEXT@: ${srcdir}/emacstool.c
$(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \
-lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
$(LOADLIBES)
-xveterm: ${srcdir}/emacstool.c
+xveterm@EXEEXT@: ${srcdir}/emacstool.c
$(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \
-lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
$(LOADLIBES)