diff options
| author | Jim Blandy | 1992-05-10 18:15:10 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-05-10 18:15:10 +0000 |
| commit | e065a56e2d6322cba165ceb5c1d46cc59c5a5148 (patch) | |
| tree | 4b00ff121a271a6b9e8df84cf7eb1fb340be0e3d /lib-src | |
| parent | 1b1f8f85bf08bd6b1cdb5ca8d731ff3b12ff60d2 (diff) | |
| download | emacs-e065a56e2d6322cba165ceb5c1d46cc59c5a5148.tar.gz emacs-e065a56e2d6322cba165ceb5c1d46cc59c5a5148.zip | |
*** empty log message ***
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/Makefile.in | 32 | ||||
| -rw-r--r-- | lib-src/make-docfile.c | 12 |
2 files changed, 25 insertions, 19 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 9df18a74517..b3bf673bfa8 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -118,52 +118,52 @@ getopt.o: getopt.c getopt.h | |||
| 118 | getopt1.o: getopt1.c getopt.h | 118 | getopt1.o: getopt1.c getopt.h |
| 119 | 119 | ||
| 120 | etags: etags.c $(GETOPTDEPS) | 120 | etags: etags.c $(GETOPTDEPS) |
| 121 | $(CC) -o etags ${CFLAGS} -DETAGS etags.c $(GETOPTOBJS) $(LOADLIBES) | 121 | $(CC) ${CFLAGS} -DETAGS etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags |
| 122 | 122 | ||
| 123 | ctags: etags.c $(GETOPTDEPS) | 123 | ctags: etags.c $(GETOPTDEPS) |
| 124 | $(CC) -o ctags ${CFLAGS} -DCTAGS etags.c $(GETOPTOBJS) $(LOADLIBES) | 124 | $(CC) ${CFLAGS} -DCTAGS etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags |
| 125 | 125 | ||
| 126 | wakeup: wakeup.c | 126 | wakeup: wakeup.c |
| 127 | $(CC) -o wakeup ${CFLAGS} wakeup.c $(LOADLIBES) | 127 | $(CC) ${CFLAGS} wakeup.c $(LOADLIBES) -o wakeup |
| 128 | 128 | ||
| 129 | make-docfile: make-docfile.c | 129 | make-docfile: make-docfile.c |
| 130 | $(CC) -o make-docfile ${CFLAGS} make-docfile.c $(LOADLIBES) | 130 | $(CC) ${CFLAGS} make-docfile.c $(LOADLIBES) -o make-docfile |
| 131 | 131 | ||
| 132 | digest-doc: digest-doc.c | 132 | digest-doc: digest-doc.c |
| 133 | $(CC) -o digest-doc ${CFLAGS} digest-doc.c $(LOADLIBES) | 133 | $(CC) ${CFLAGS} digest-doc.c $(LOADLIBES) -o digest-doc |
| 134 | 134 | ||
| 135 | sorted-doc: sorted-doc.c | 135 | sorted-doc: sorted-doc.c |
| 136 | $(CC) -o sorted-doc ${CFLAGS} sorted-doc.c $(LOADLIBES) | 136 | $(CC) ${CFLAGS} sorted-doc.c $(LOADLIBES) -o sorted-doc |
| 137 | 137 | ||
| 138 | b2m: b2m.c | 138 | b2m: b2m.c |
| 139 | $(CC) -o b2m ${CFLAGS} b2m.c $(LOADLIBES) | 139 | $(CC) ${CFLAGS} b2m.c $(LOADLIBES) -o b2m |
| 140 | 140 | ||
| 141 | movemail: movemail.c ../src/config.h | 141 | movemail: movemail.c ../src/config.h |
| 142 | $(CC) -o movemail ${CFLAGS} movemail.c $(LOADLIBES) | 142 | $(CC) ${CFLAGS} movemail.c $(LOADLIBES) -o movemail |
| 143 | 143 | ||
| 144 | cvtmail: cvtmail.c | 144 | cvtmail: cvtmail.c |
| 145 | $(CC) -o cvtmail ${CFLAGS} cvtmail.c $(LOADLIBES) | 145 | $(CC) ${CFLAGS} cvtmail.c $(LOADLIBES) -o cvtmail |
| 146 | 146 | ||
| 147 | fakemail: fakemail.c ../src/config.h | 147 | fakemail: fakemail.c ../src/config.h |
| 148 | $(CC) -o fakemail ${CFLAGS} fakemail.c $(LOADLIBES) | 148 | $(CC) ${CFLAGS} fakemail.c $(LOADLIBES) -o fakemail |
| 149 | 149 | ||
| 150 | yow: yow.c ../src/paths.h | 150 | yow: yow.c ../src/paths.h |
| 151 | $(CC) -o yow ${CFLAGS} yow.c $(LOADLIBES) | 151 | $(CC) ${CFLAGS} yow.c $(LOADLIBES) -o yow |
| 152 | 152 | ||
| 153 | env: env.c ../src/config.h | 153 | env: env.c ../src/config.h |
| 154 | $(CC) -o env -DEMACS ${CFLAGS} env.c $(LOADLIBES) | 154 | $(CC) -DEMACS ${CFLAGS} env.c $(LOADLIBES) -o env |
| 155 | 155 | ||
| 156 | emacsserver: emacsserver.c ../src/config.h | 156 | emacsserver: emacsserver.c ../src/config.h |
| 157 | $(CC) -o emacsserver ${CFLAGS} emacsserver.c $(LOADLIBES) | 157 | $(CC) ${CFLAGS} emacsserver.c $(LOADLIBES) -o emacsserver |
| 158 | 158 | ||
| 159 | emacsclient: emacsclient.c ../src/config.h | 159 | emacsclient: emacsclient.c ../src/config.h |
| 160 | $(CC) -o emacsclient ${CFLAGS} emacsclient.c $(LOADLIBES) | 160 | $(CC) ${CFLAGS} emacsclient.c $(LOADLIBES) -o emacsclient |
| 161 | 161 | ||
| 162 | hexl: hexl.c | 162 | hexl: hexl.c |
| 163 | $(CC) -o hexl ${CFLAGS} hexl.c $(LOADLIBES) | 163 | $(CC) ${CFLAGS} hexl.c $(LOADLIBES) -o hexl |
| 164 | 164 | ||
| 165 | timer: getdate.o timer.o | 165 | timer: getdate.o timer.o |
| 166 | $(CC) -o timer $(CFLAGS) getdate.o timer.o | 166 | $(CC) $(CFLAGS) getdate.o timer.o -o timer |
| 167 | 167 | ||
| 168 | # These are NOT included in INSTALLABLES or UTILITIES. | 168 | # These are NOT included in INSTALLABLES or UTILITIES. |
| 169 | # See ../src/ymakefile. | 169 | # See ../src/ymakefile. |
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index 1af038027e0..2436ac6458f 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | /* Generate doc-string file for GNU Emacs from source files. | 1 | /* Generate doc-string file for GNU Emacs from source files. |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| 6 | GNU Emacs is free software; you can redistribute it and/or modify | 6 | GNU Emacs is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation; either version 1, or (at your option) | 8 | the Free Software Foundation; either version 2, or (at your option) |
| 9 | any later version. | 9 | any later version. |
| 10 | 10 | ||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | 11 | GNU Emacs is distributed in the hope that it will be useful, |
| @@ -166,7 +166,13 @@ write_c_args (out, buf, minargs, maxargs) | |||
| 166 | else if (c == ' ' && space) | 166 | else if (c == ' ' && space) |
| 167 | continue; | 167 | continue; |
| 168 | space = (c == ' '); | 168 | space = (c == ' '); |
| 169 | putc (c, out); | 169 | |
| 170 | /* Print the C arguments as they would appear in Elisp; | ||
| 171 | print underscores as hyphens. */ | ||
| 172 | if (c == '_') | ||
| 173 | putc ('-'); | ||
| 174 | else | ||
| 175 | putc (c, out); | ||
| 170 | } | 176 | } |
| 171 | putc ('\n', out); | 177 | putc ('\n', out); |
| 172 | } | 178 | } |