use xmalloc in w32 opendir
[bpt/emacs.git] / nextstep / Makefile.in
CommitLineData
bbece175 1### @configure_input@
83da1b55 2
ba318903 3## Copyright (C) 2012-2014 Free Software Foundation, Inc.
83da1b55
GM
4
5## This file is part of GNU Emacs.
6
7## GNU Emacs is free software: you can redistribute it and/or modify
8## it under the terms of the GNU General Public License as published by
9## the Free Software Foundation, either version 3 of the License, or
10## (at your option) any later version.
11##
12## GNU Emacs is distributed in the hope that it will be useful,
13## but WITHOUT ANY WARRANTY; without even the implied warranty of
14## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15## GNU General Public License for more details.
16##
17## You should have received a copy of the GNU General Public License
18## along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
19
20### Commentary:
21
22### Code:
50b13cde 23SHELL = @SHELL@
83da1b55
GM
24
25srcdir = @srcdir@
26EXEEXT = @EXEEXT@
27
28@SET_MAKE@
29MKDIR_P = @MKDIR_P@
30
31ns_appdir = @ns_appdir@
32ns_appbindir = @ns_appbindir@
33ns_appsrc = @ns_appsrc@
de3d0b57 34ns_check_file = @ns_appdir@/@ns_check_file@
83da1b55 35
de3d0b57 36${ns_check_file} ${ns_appdir}: ${srcdir}/${ns_appsrc} ${ns_appsrc}
83da1b55
GM
37 rm -rf ${ns_appdir}
38 ${MKDIR_P} ${ns_appdir}
39 ( cd ${srcdir}/${ns_appsrc} ; tar cfh - . ) | \
40 ( cd ${ns_appdir} ; umask 022; tar xf - )
b8e3b0a9 41 [ "`cd ${srcdir} && /bin/pwd`" = "`/bin/pwd`" ] || \
83da1b55
GM
42 ( cd ${ns_appsrc} ; tar cfh - . ) | \
43 ( cd ${ns_appdir} ; umask 022; tar xf - )
3f53a2bd 44 touch ${ns_appdir}
83da1b55 45
002b161a
GM
46${ns_appbindir}:
47 ${MKDIR_P} $@
48
49${ns_appbindir}/Emacs: ${ns_appdir} ${ns_check_file} ../src/emacs${EXEEXT} | \
50 ${ns_appbindir}
51 cp -f ../src/emacs${EXEEXT} $@
83da1b55
GM
52
53.PHONY: all
54
55all: ${ns_appdir} ${ns_appbindir}/Emacs
56
57
0e6929ec 58.PHONY: clean distclean bootstrap-clean maintainer-clean
83da1b55
GM
59
60clean:
61 rm -rf ${ns_appdir}
62
63distclean: clean
64 rm -f Makefile
65 rm -f GNUstep/Emacs.base/Resources/Info-gnustep.plist \
66 GNUstep/Emacs.base/Resources/Emacs.desktop \
67 Cocoa/Emacs.base/Contents/Info.plist \
68 Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings
83da1b55 69
0e6929ec 70bootstrap-clean maintainer-clean: distclean
83da1b55
GM
71
72### Makefile.in ends here