xref: /illumos-gate/usr/src/lib/lib9p/Makefile (revision aa693e99)
1*aa693e99SJason King#
2*aa693e99SJason King# This file and its contents are supplied under the terms of the
3*aa693e99SJason King# Common Development and Distribution License ("CDDL"), version 1.0.
4*aa693e99SJason King# You may only use this file in accordance with the terms of version
5*aa693e99SJason King# 1.0 of the CDDL.
6*aa693e99SJason King#
7*aa693e99SJason King# A full copy of the text of the CDDL should have accompanied this
8*aa693e99SJason King# source.  A copy of the CDDL is also available via the Internet at
9*aa693e99SJason King# http://www.illumos.org/license/CDDL.
10*aa693e99SJason King#
11*aa693e99SJason King
12*aa693e99SJason King#
13*aa693e99SJason King# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
14*aa693e99SJason King#
15*aa693e99SJason King
16*aa693e99SJason Kinginclude ../Makefile.lib
17*aa693e99SJason King
18*aa693e99SJason King$(BUILD64)SUBDIRS += $(MACH64)
19*aa693e99SJason King
20*aa693e99SJason KingHDRS =		lib9p.h
21*aa693e99SJason KingHDRDIR =	common
22*aa693e99SJason KingCHECKHDRS =
23*aa693e99SJason King
24*aa693e99SJason Kingall:=		TARGET= all
25*aa693e99SJason Kinginstall:=	TARGET= install
26*aa693e99SJason Kingclean:=		TARGET= clean
27*aa693e99SJason Kingclobber:=	TARGET= clobber
28*aa693e99SJason King
29*aa693e99SJason King.KEEP_STATE:
30*aa693e99SJason King
31*aa693e99SJason Kingall install clean clobber: $(SUBDIRS)
32*aa693e99SJason King
33*aa693e99SJason Kinginstall_h:	$(ROOTHDRS)
34*aa693e99SJason Kingcheck:		$(CHECKHDRS)
35*aa693e99SJason King
36*aa693e99SJason King$(SUBDIRS): FRC
37*aa693e99SJason King	cd $@; pwd; $(MAKE) $(TARGET)
38*aa693e99SJason King
39*aa693e99SJason KingFRC:
40*aa693e99SJason King
41*aa693e99SJason Kinginclude ../Makefile.targ