diff options
| author | Adrian Robert | 2008-07-17 17:44:41 +0000 |
|---|---|---|
| committer | Adrian Robert | 2008-07-17 17:44:41 +0000 |
| commit | 06b627700d30a166b0f06ad99166d448f9f7969c (patch) | |
| tree | 35b0b353bfd71222d337fafae846c1eee23ec1a7 /src | |
| parent | e5744c66661fd4c5e118c0a9f451835543dcb789 (diff) | |
| download | emacs-06b627700d30a166b0f06ad99166d448f9f7969c.tar.gz emacs-06b627700d30a166b0f06ad99166d448f9f7969c.zip | |
remove need for nextstep/compile for NS build; also, add NEWS entry about the port
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/Makefile.in | 31 |
2 files changed, 22 insertions, 15 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e540db8d607..63495ca08fc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2008-07-17 Adrian Robert <Adrian.B.Robert@gmail.com> | ||
| 2 | |||
| 3 | * Makefile.in: Replace emacsapp, emacsbindir, emacsappsrc variables | ||
| 4 | set here with ns_appdir, ns_appresdir, ns_appbindir, ns_appsrc) set | ||
| 5 | from configure. | ||
| 6 | |||
| 1 | 2008-07-17 Dan Nicolaescu <dann@ics.uci.edu> | 7 | 2008-07-17 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 8 | ||
| 3 | * s/sol2.h: | 9 | * s/sol2.h: |
diff --git a/src/Makefile.in b/src/Makefile.in index cba9dffddc8..93890de5669 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -532,17 +532,13 @@ emacsappsrc = ${srcdir}/../mac/Emacs.app/ | |||
| 532 | #endif | 532 | #endif |
| 533 | 533 | ||
| 534 | #ifdef HAVE_NS | 534 | #ifdef HAVE_NS |
| 535 | ns_appdir=@ns_appdir@/ | ||
| 536 | ns_appbindir=@ns_appbindir@/ | ||
| 537 | ns_appresdir=@ns_appresdir@/ | ||
| 538 | ns_appsrc=@ns_appsrc@ | ||
| 535 | /* Object files for NeXTstep */ | 539 | /* Object files for NeXTstep */ |
| 536 | NS_OBJ= nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o \ | 540 | NS_OBJ= nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o \ |
| 537 | fontset.o fringe.o image.o | 541 | fontset.o fringe.o image.o |
| 538 | emacsapp = $(PWD)/../nextstep/build/Emacs.app/ | ||
| 539 | #ifdef NS_IMPL_GNUSTEP | ||
| 540 | emacsappsrc = ${srcdir}/../nextstep/GNUstep/Emacs.base | ||
| 541 | emacsbindir = $(emacsapp) | ||
| 542 | #else | ||
| 543 | emacsappsrc = ${srcdir}/../nextstep/Cocoa/Emacs.base | ||
| 544 | emacsbindir = $(emacsapp)/Contents/MacOS/ | ||
| 545 | #endif /* NS_IMPL_GNUSTEP */ | ||
| 546 | #endif /* HAVE_NS */ | 542 | #endif /* HAVE_NS */ |
| 547 | 543 | ||
| 548 | #ifdef HAVE_WINDOW_SYSTEM | 544 | #ifdef HAVE_WINDOW_SYSTEM |
| @@ -1336,15 +1332,20 @@ nsselect.o: nsselect.m blockinput.h nsterm.h nsgui.h frame.h $(config_h) | |||
| 1336 | nsimage.o: nsimage.m nsterm.h | 1332 | nsimage.o: nsimage.m nsterm.h |
| 1337 | nsfont.o: nsterm.h dispextern.h frame.h lisp.h $(config_h) | 1333 | nsfont.o: nsterm.h dispextern.h frame.h lisp.h $(config_h) |
| 1338 | 1334 | ||
| 1339 | ${emacsapp}: ${emacsappsrc} | 1335 | ${ns_appdir}: ${ns_appsrc} |
| 1340 | mkdir -p ${emacsapp} | 1336 | rm -fr ${ns_appdir} |
| 1341 | ( cd ${emacsappsrc} ; tar cfh - . ) | ( cd ${emacsapp} ; tar xf - ) | 1337 | mkdir -p ${ns_appdir} |
| 1338 | ( cd ${ns_appsrc} ; tar cfh - . ) | ( cd ${ns_appdir} ; tar xf - ) | ||
| 1339 | ( cd ${ns_appdir} ; for subdir in `find $${dest} -type d ! -name CVS -print` ; do \ | ||
| 1340 | chmod a+rx $${subdir} ; \ | ||
| 1341 | rm -rf $${subdir}/CVS ; \ | ||
| 1342 | rm -f $${subdir}/.cvsignore ; done ; ) | ||
| 1342 | 1343 | ||
| 1343 | ${emacsbindir}Emacs: emacs${EXEEXT} | 1344 | ${ns_appbindir}Emacs: emacs${EXEEXT} |
| 1344 | mkdir -p ${emacsbindir} | 1345 | mkdir -p ${ns_appbindir} |
| 1345 | cp -f emacs${EXEEXT} ${emacsbindir}Emacs | 1346 | cp -f emacs${EXEEXT} ${ns_appbindir}Emacs |
| 1346 | 1347 | ||
| 1347 | ns-app: ${emacsapp} ${emacsbindir}Emacs | 1348 | ns-app: ${ns_appdir} ${ns_appbindir}Emacs |
| 1348 | 1349 | ||
| 1349 | #endif /* HAVE_NS */ | 1350 | #endif /* HAVE_NS */ |
| 1350 | 1351 | ||