Makefile (241c90a06e8d1708235651863df515a2d522a03a) Makefile (82079dec87a9b623b65337b7422dc7c27a04f0d9)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source. A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source. A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
14# Copyright 2024 OmniOS Community Edition (OmniOSce) Association.
14#
15
15#
16
16
17include ../Makefile.lib
18
19HDRS = termcap.h
20HDRDIR= common
21SUBDIRS= $(MACH)
22$(BUILD64)SUBDIRS += $(MACH64)
23
17include ../Makefile.lib
18
19HDRS = termcap.h
20HDRDIR= common
21SUBDIRS= $(MACH)
22$(BUILD64)SUBDIRS += $(MACH64)
23
24# Install XPG4v2 header variants so that libtermcap can be used to
25# filter over libcurses(3xcurses).
26XHDRS = termcap.h
27XROOTHDRDIR= $(ROOT)/usr/xpg4/include
28XROOTHDRS= $(XHDRS:%=$(XROOTHDRDIR)/%)
29
24all := TARGET= all
25clean := TARGET= clean
26clobber := TARGET= clobber
27install := TARGET= install
28
29.KEEP_STATE:
30
31all clean clobber install: $(SUBDIRS)
32
30all := TARGET= all
31clean := TARGET= clean
32clobber := TARGET= clobber
33install := TARGET= install
34
35.KEEP_STATE:
36
37all clean clobber install: $(SUBDIRS)
38
39install_h: $(ROOTHDRS) $(XROOTHDRS)
33
40
34install_h: $(ROOTHDRS)
35
36check: $(CHECKHDRS)
37
38$(SUBDIRS): FRC
39 @cd $@; pwd; $(MAKE) $(TARGET)
40
41check: $(CHECKHDRS)
42
43$(SUBDIRS): FRC
44 @cd $@; pwd; $(MAKE) $(TARGET)
45
46$(XROOTHDRDIR)/%: $(HDRDIR)/x%
47 $(INS.rename)
48
41FRC:
42
43include ../Makefile.targ
49FRC:
50
51include ../Makefile.targ