diff options
| author | Steven Tamm | 2002-12-28 18:35:52 +0000 |
|---|---|---|
| committer | Steven Tamm | 2002-12-28 18:35:52 +0000 |
| commit | ce0669d437238ed11e1919525d3a0f4200a2fa49 (patch) | |
| tree | edb0450aa5600cdef7ad1d9be7729bae2734c6df /src | |
| parent | 1ebc190a844e37a408a532be08ead50d5cd16910 (diff) | |
| download | emacs-ce0669d437238ed11e1919525d3a0f4200a2fa49.tar.gz emacs-ce0669d437238ed11e1919525d3a0f4200a2fa49.zip | |
* Makefile.in (macosx-bundle): Fixes to Mac OS X/Carbon port to
allow building in a different directory than source. Uses some
GNU Make extensions, but there is no other make on Mac OS X.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/Makefile.in | 38 |
2 files changed, 33 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 39442d93d0e..9467e2174fd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2002-12-28 Steven Tamm <steventamm@mac.com> | ||
| 2 | |||
| 3 | * Makefile.in (macosx-bundle): Fixes to Mac OS X/Carbon port to | ||
| 4 | allow building in a different directory than source. Uses some | ||
| 5 | GNU Make extensions, but there is no other make on Mac OS X. | ||
| 6 | |||
| 1 | 2002-12-26 Francesco Potort,Al(B <pot@gnu.org> | 7 | 2002-12-26 Francesco Potort,Al(B <pot@gnu.org> |
| 2 | 8 | ||
| 3 | * data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local) | 9 | * data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local) |
diff --git a/src/Makefile.in b/src/Makefile.in index 1a8cf773a90..8d8e7007b2c 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -540,9 +540,11 @@ MSDOS_OBJ = dosfns.o msdos.o w16select.o | |||
| 540 | #endif | 540 | #endif |
| 541 | 541 | ||
| 542 | #ifdef HAVE_CARBON | 542 | #ifdef HAVE_CARBON |
| 543 | mac = $(dot)$(dot)/mac/ | ||
| 543 | XMENU_OBJ = | 544 | XMENU_OBJ = |
| 544 | MAC_OBJ = mac.o macterm.o macfns.o macmenu.o fontset.o | 545 | MAC_OBJ = mac.o macterm.o macfns.o macmenu.o fontset.o |
| 545 | emacsapp = ../mac/Emacs.app/ | 546 | emacsapp = $(PWD)/$(mac)Emacs.app/ |
| 547 | emacsappsrc = ${srcdir}/../mac/Emacs.app/ | ||
| 546 | #else | 548 | #else |
| 547 | XMENU_OBJ = xmenu.o | 549 | XMENU_OBJ = xmenu.o |
| 548 | #endif | 550 | #endif |
| @@ -1208,20 +1210,34 @@ macterm.o: blockinput.h atimer.h systime.h syssignal.h macterm.h macgui.h \ | |||
| 1208 | termchar.h gnu.h disptab.h buffer.h window.h keyboard.h $(INTERVAL_SRC) \ | 1210 | termchar.h gnu.h disptab.h buffer.h window.h keyboard.h $(INTERVAL_SRC) \ |
| 1209 | process.h coding.h $(config_h) | 1211 | process.h coding.h $(config_h) |
| 1210 | 1212 | ||
| 1211 | macosx-app: ${emacsapp}Contents/MacOS/Emacs \ | 1213 | ${emacsapp}Contents/Resources/English.lproj: |
| 1214 | mkdir -p $@ | ||
| 1215 | |||
| 1216 | ifneq (${emacsapp},${emacsappsrc}) | ||
| 1217 | ${emacsapp}Contents/Info.plist: ${emacsappsrc}Contents/Info.plist | ||
| 1218 | cp $< $@ | ||
| 1219 | ${emacsapp}Contents/PkgInfo: ${emacsappsrc}Contents/PkgInfo | ||
| 1220 | cp $< $@ | ||
| 1221 | ${emacsapp}Contents/Resources/Emacs.icns: ${emacsappsrc}Contents/Resources/Emacs.icns | ||
| 1222 | mkdir -p ${emacsapp}Contents/Resources | ||
| 1223 | cp $< $@ | ||
| 1224 | ${emacsapp}Contents/Resources/English.lproj/InfoPlist.strings: ${emacsappsrc}Contents/Resources/English.lproj/InfoPlist.strings | ||
| 1225 | cp $< $@ | ||
| 1226 | endif | ||
| 1227 | |||
| 1228 | macosx-bundle: ${emacsapp}Contents/Resources/English.lproj \ | ||
| 1229 | ${emacsapp}Contents/Info.plist ${emacsapp}Contents/PkgInfo\ | ||
| 1230 | ${emacsapp}Contents/Resources/Emacs.icns \ | ||
| 1231 | ${emacsapp}Contents/Resources/English.lproj/InfoPlist.strings | ||
| 1232 | macosx-app: macosx-bundle ${emacsapp}Contents/MacOS/Emacs \ | ||
| 1212 | ${emacsapp}Contents/Resources/Emacs.rsrc | 1233 | ${emacsapp}Contents/Resources/Emacs.rsrc |
| 1213 | |||
| 1214 | ${emacsapp}Contents/MacOS/Emacs: emacs | 1234 | ${emacsapp}Contents/MacOS/Emacs: emacs |
| 1215 | if [ -d ${emacsapp}Contents/MacOS/ ]; then true; else \ | 1235 | mkdir -p ${emacsapp}Contents/MacOS/; |
| 1216 | mkdir ${emacsapp}Contents/MacOS/; \ | ||
| 1217 | fi | ||
| 1218 | cd ${emacsapp}Contents/MacOS/; cp ../../../../src/emacs Emacs | 1236 | cd ${emacsapp}Contents/MacOS/; cp ../../../../src/emacs Emacs |
| 1219 | |||
| 1220 | ${emacsapp}Contents/Resources/Emacs.rsrc: ../mac/src/Emacs.r | 1237 | ${emacsapp}Contents/Resources/Emacs.rsrc: ../mac/src/Emacs.r |
| 1221 | /Developer/Tools/Rez -useDF -o \ | 1238 | /Developer/Tools/Rez -useDF \ |
| 1222 | ${emacsapp}Contents/Resources/Emacs.rsrc \ | 1239 | -o ${emacsapp}Contents/Resources/Emacs.rsrc \ |
| 1223 | /System/Library/Frameworks/Carbon.framework/Headers/Carbon.r \ | 1240 | /System/Library/Frameworks/Carbon.framework/Headers/Carbon.r $< |
| 1224 | ../mac/src/Emacs.r | ||
| 1225 | #endif | 1241 | #endif |
| 1226 | 1242 | ||
| 1227 | ${libsrc}emacstool: ${libsrc}emacstool.c | 1243 | ${libsrc}emacstool: ${libsrc}emacstool.c |