aboutsummaryrefslogtreecommitdiffstats
path: root/src/ns.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/ns.mk')
-rw-r--r--src/ns.mk39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/ns.mk b/src/ns.mk
new file mode 100644
index 00000000000..255ffa7046b
--- /dev/null
+++ b/src/ns.mk
@@ -0,0 +1,39 @@
1/* autodeps.mk --- src/Makefile fragment for GNU Emacs
2
3Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
19
20Commentary:
21
22This is inserted in src/Makefile if HAVE_NS.
23
24The only reason this is in a separate file is because $ns_appdir,
25which appears as a target, is empty on non-NS builds. Some makes
26do not like empty targets, even if they are never used. */
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
39/* ns.mk ends here */