Makefile (98b227cc3397df563643fb1aaa1fddddd390f8c8) Makefile (7b07063d906859b2be1e88791f801b3c96e432f6)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 7 unchanged lines hidden (view full) ---

16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23# Use is subject to license terms.
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 7 unchanged lines hidden (view full) ---

16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23# Use is subject to license terms.
24# Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
24#
25
26include ../Makefile.lib
27
28SUBDIRS = $(MACH)
29$(BUILD64)SUBDIRS += $(MACH64)
30
31all := TARGET= all

--- 46 unchanged lines hidden (view full) ---

78
79$(SUBDIRS): $(GENERATED)
80 @cd $@; pwd; $(MAKE) $(TARGET)
81
82# derived C files
83# mknames.awk defines functions so needs nawk
84$(NAMES) : src/libc/xcurses/mknames.awk src/libc/xcurses/caps
85 $(RM) $(NAMES)
25#
26
27include ../Makefile.lib
28
29SUBDIRS = $(MACH)
30$(BUILD64)SUBDIRS += $(MACH64)
31
32all := TARGET= all

--- 46 unchanged lines hidden (view full) ---

79
80$(SUBDIRS): $(GENERATED)
81 @cd $@; pwd; $(MAKE) $(TARGET)
82
83# derived C files
84# mknames.awk defines functions so needs nawk
85$(NAMES) : src/libc/xcurses/mknames.awk src/libc/xcurses/caps
86 $(RM) $(NAMES)
86 cd src/libc/xcurses; $(NAWK) -f mknames.awk caps
87 cd src/libc/xcurses; $(AWK) -f mknames.awk caps
87
88h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps
89 $(RM) $@
88
89h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps
90 $(RM) $@
90 cd src/libc/xcurses; $(NAWK) -f mkterm.awk caps > term.h
91 cd src/libc/xcurses; $(AWK) -f mkterm.awk caps > term.h
91 $(MV) src/libc/xcurses/term.h h/term.h
92
93src/libc/xcurses/keyindex.c : src/libc/xcurses/mkkey.awk src/libc/xcurses/caps
94 $(RM) $@
92 $(MV) src/libc/xcurses/term.h h/term.h
93
94src/libc/xcurses/keyindex.c : src/libc/xcurses/mkkey.awk src/libc/xcurses/caps
95 $(RM) $@
95 cd src/libc/xcurses; $(NAWK) -f mkkey.awk caps > keyindex.c
96 cd src/libc/xcurses; $(AWK) -f mkkey.awk caps > keyindex.c