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

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

70
71$(SUBDIRS): $(GENERATED)
72 @cd $@; pwd; $(MAKE) $(TARGET)
73
74# derived C files
75# mknames.awk defines functions so needs nawk
76$(NAMES) : src/libc/xcurses/mknames.awk src/libc/xcurses/caps
77 $(RM) $(NAMES)
25#
26
27include ../Makefile.lib
28
29SUBDIRS = $(MACH)
30$(BUILD64)SUBDIRS += $(MACH64)
31
32all := TARGET= all

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

71
72$(SUBDIRS): $(GENERATED)
73 @cd $@; pwd; $(MAKE) $(TARGET)
74
75# derived C files
76# mknames.awk defines functions so needs nawk
77$(NAMES) : src/libc/xcurses/mknames.awk src/libc/xcurses/caps
78 $(RM) $(NAMES)
78 cd src/libc/xcurses; $(NAWK) -f mknames.awk caps
79 cd src/libc/xcurses; $(AWK) -f mknames.awk caps
79
80h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps
81 $(RM) $@
80
81h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps
82 $(RM) $@
82 cd src/libc/xcurses; $(NAWK) -f mkterm.awk caps > term.h
83 cd src/libc/xcurses; $(AWK) -f mkterm.awk caps > term.h
83 $(MV) src/libc/xcurses/term.h h/term.h
84
85src/libc/xcurses/keyindex.c : src/libc/xcurses/mkkey.awk src/libc/xcurses/caps
86 $(RM) $@
84 $(MV) src/libc/xcurses/term.h h/term.h
85
86src/libc/xcurses/keyindex.c : src/libc/xcurses/mkkey.awk src/libc/xcurses/caps
87 $(RM) $@
87 cd src/libc/xcurses; $(NAWK) -f mkkey.awk caps > keyindex.c
88 cd src/libc/xcurses; $(AWK) -f mkkey.awk caps > keyindex.c