xref: /illumos-gate/usr/src/tools/sgs/Makefile (revision 69b1fd3f)
1*69b1fd3fSRichard Lowe#
2*69b1fd3fSRichard Lowe# This file and its contents are supplied under the terms of the
3*69b1fd3fSRichard Lowe# Common Development and Distribution License ("CDDL"), version 1.0.
4*69b1fd3fSRichard Lowe# You may only use this file in accordance with the terms of version
5*69b1fd3fSRichard Lowe# 1.0 of the CDDL.
6*69b1fd3fSRichard Lowe#
7*69b1fd3fSRichard Lowe# A full copy of the text of the CDDL should have accompanied this
8*69b1fd3fSRichard Lowe# source.  A copy of the CDDL is also available via the Internet at
9*69b1fd3fSRichard Lowe# http://www.illumos.org/license/CDDL.
10*69b1fd3fSRichard Lowe#
11*69b1fd3fSRichard Lowe
12*69b1fd3fSRichard Lowe# Copyright 2019, Richard Lowe.
13*69b1fd3fSRichard Lowe
14*69b1fd3fSRichard LoweSUBDIRS =		\
15*69b1fd3fSRichard Lowe	include		\
16*69b1fd3fSRichard Lowe	ld		\
17*69b1fd3fSRichard Lowe	libconv		\
18*69b1fd3fSRichard Lowe	libelf		\
19*69b1fd3fSRichard Lowe	libld		\
20*69b1fd3fSRichard Lowe	liblddbg	\
21*69b1fd3fSRichard Lowe	sgsmsg
22*69b1fd3fSRichard Lowe
23*69b1fd3fSRichard Loweall :=		TARGET= install
24*69b1fd3fSRichard Loweinstall :=	TARGET= install
25*69b1fd3fSRichard Loweclean :=	TARGET= clean
26*69b1fd3fSRichard Loweclobber :=	TARGET= clobber
27*69b1fd3fSRichard Lowe
28*69b1fd3fSRichard Loweld: sgsmsg include libconv libelf libld
29*69b1fd3fSRichard Lowelibconv: sgsmsg include
30*69b1fd3fSRichard Lowelibelf: sgsmsg include
31*69b1fd3fSRichard Lowelibld: sgsmsg libelf libconv liblddbg include
32*69b1fd3fSRichard Loweliblddbg: sgsmsg libconv include
33*69b1fd3fSRichard Lowe
34*69b1fd3fSRichard Loweall install clean clobber: $(SUBDIRS)
35*69b1fd3fSRichard Lowe
36*69b1fd3fSRichard Lowe$(SUBDIRS): FRC
37*69b1fd3fSRichard Lowe	@cd $@; pwd; $(MAKE) $(TARGET)
38*69b1fd3fSRichard Lowe
39*69b1fd3fSRichard LoweFRC: