xref: /illumos-gate/usr/src/lib/libeti/Makefile (revision 85f4cb87104c72587029a6e0f1663332c85ba118)
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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# Copyright (c) 1989 by Sun Microsystems, Inc.
24#
25
26# include global definitions
27include ../../Makefile.master
28
29SUBDIRS= form menu panel
30HDRSUBDIRS= form menu panel
31
32all:=		TARGET= all
33clean:=		TARGET= clean
34clobber:=	TARGET= clobber
35install:=	TARGET= install
36install_h:=	TARGET= install_h
37check:=		TARGET= check
38
39# definitions for install_h target
40HDRS=           eti.h
41ROOTHDRDIR=     $(ROOT)/usr/include
42ROOTHDRS=       $(HDRS:%=$(ROOTHDRDIR)/%)
43CHECKHDRS=	$(HDRS:%.h=%.check)
44
45# install rule for install_h target
46$(ROOTHDRDIR)/%: %
47	$(INS.file)
48
49.KEEP_STATE:
50
51all clean clobber install: $(SUBDIRS)
52
53install_h: $(ROOTHDRS) $(HDRSUBDIRS)
54
55check:	$(CHECKHDRS) $(HDRSUBDIRS)
56
57xxx:
58	@cd form; pwd; $(MAKE) $(TARGET)
59	@cd menu; pwd; $(MAKE) $(TARGET)
60	@cd panel; pwd; $(MAKE) $(TARGET)
61
62$(SUBDIRS): FRC
63	@cd $@; pwd; $(MAKE) $(TARGET)
64
65FRC:
66