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 14 SUBDIRS = \ 15 include \ 16 ld \ 17 libconv \ 18 libelf \ 19 libld \ 20 liblddbg \ 21 sgsmsg 22 23 all := TARGET= install 24 install := TARGET= install 25 clean := TARGET= clean 26 clobber := TARGET= clobber 27 28 ld: sgsmsg include libconv libelf libld 29 libconv: sgsmsg include 30 libelf: sgsmsg include 31 libld: sgsmsg libelf libconv liblddbg include 32 liblddbg: sgsmsg libconv include 33 34 all install clean clobber: $(SUBDIRS) 35 36 $(SUBDIRS): FRC 37 @cd $@; pwd; $(MAKE) $(TARGET) 38 39 FRC: