Debian Codegraph @

jmake/Jmakefile

raw
1 /*
2 * Jmakefile for jmake
3 */
4
5 ;# $Id$
6 ;#
7 ;# Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
8 ;#
9 ;# You may redistribute only under the terms of the Artistic Licence,
10 ;# as specified in the README file that comes with the distribution.
11 ;# You may reuse parts of this distribution only within the terms of
12 ;# that same Artistic Licence; a copy of which may be found at the root
13 ;# of the source tree for dist 4.0.
14 ;#
15 ;# $Log: Jmakefile,v $
16 ;# Revision 3.0.1.2 1995/03/21 08:34:16 ram
17 ;# patch52: now installs new fixcpp script in the private libdir
18 ;#
19 ;# Revision 3.0.1.1 1994/01/24 13:42:36 ram
20 ;# patch16: added dependency generation stage
21 ;#
22 ;# Revision 3.0 1993/08/18 12:04:09 ram
23 ;# Baseline for dist 3.0 netwide release.
24 ;#
25
26 AllTarget(Index)
27
28 Index: bindex files/Jmake.rules
29 chmod +x bindex
30 ./bindex
31
32 ShellScriptTarget(jmake jmkmf)
33 SimpleShellScriptTarget(bindex fixcpp)
34
35 MakeInstallDirectories($(PRIVLIB) $(PRIVLIB)/files)
36 InstallNonExec(Index,$(PRIVLIB))
37 InstallScript(bindex,$(PRIVLIB))
38 InstallScript(fixcpp,$(PRIVLIB)/files)
39 InstallMultipleFlags(files/Jmake*,$(PRIVLIB)/files,-m 444)
40
41 BINSH = jmake.SH fixcpp.SH
42
43 depend:: local_depend
44 local_depend::
45 ($(SED) '/^# DO NOT DELETE/q' Makefile && \
46 grep '^\$$grep' $(BINSH) | \
47 $(SED) -e "s/^.*' \([^ ]*\) >>\([^ ]*\)/\2: \1/" \
48 ) > Makefile.new
49 cp Makefile Makefile.bak
50 cp Makefile.new Makefile
51 $(RM) Makefile.new
52
53 fixcpp jmake: $(TOP)/revision.h