Add 2011 to remaining FSF/AIST copyright years.
[bpt/emacs.git] / src / ns.mk
CommitLineData
81ac4f35 1### autodeps.mk --- src/Makefile fragment for GNU Emacs
66dbf213 2
d0d4361d 3## Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
66dbf213 4
81ac4f35 5## This file is part of GNU Emacs.
66dbf213 6
81ac4f35
GM
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/>.
66dbf213 19
81ac4f35 20### Commentary:
66dbf213 21
81ac4f35 22## This is inserted in src/Makefile if HAVE_NS.
66dbf213 23
81ac4f35
GM
24## The only reason this is in a separate file is because $ns_appdir,
25## which appears as a target, is empty on non-NS builds. Some makes
26## do not like empty targets, even if they are never used.
66dbf213
GM
27
28${ns_appdir}: ${ns_appsrc}
29 rm -fr ${ns_appdir}
30 mkdir -p ${ns_appdir}
31 ( cd ${ns_appsrc} ; tar cfh - . ) | ( cd ${ns_appdir} ; umask 022; tar xf - )
32
33${ns_appbindir}Emacs: emacs${EXEEXT}
34 mkdir -p ${ns_appbindir}
35 cp -f emacs${EXEEXT} ${ns_appbindir}Emacs
36
37ns-app: ${ns_appdir} ${ns_appbindir}Emacs
38
81ac4f35 39### ns.mk ends here