xref: /illumos-gate/usr/src/tools/sgs/Makefile (revision 1da57d551424de5a9d469760be7c4b4d4f10a755)
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# Copyright 2019, Richard Lowe.
13
14SUBDIRS =		\
15	include		\
16	ld		\
17	libconv		\
18	libelf		\
19	libld		\
20	liblddbg	\
21	sgsmsg
22
23all :=		TARGET= install
24install :=	TARGET= install
25clean :=	TARGET= clean
26clobber :=	TARGET= clobber
27
28ld: sgsmsg include libconv libelf libld
29libconv: sgsmsg include
30libelf: sgsmsg include
31libld: sgsmsg libelf libconv liblddbg include
32liblddbg: sgsmsg libconv include
33
34all install clean clobber: $(SUBDIRS)
35
36$(SUBDIRS): FRC
37	@cd $@; pwd; $(MAKE) $(TARGET)
38
39FRC:
40