xref: /illumos-gate/usr/src/lib/libdemangle/Makefile (revision 5801b0f01c3c34499a929ed96164a5a68b470945)
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# Copyright 2018 Jason King.
12# Copyright 2017, Joyent. Inc.
13#
14
15include		../Makefile.lib
16
17HDRS =			demangle-sys.h
18HDRDIR =		common
19SUBDIRS =		$(MACH)
20$(BUILD64)SUBDIRS +=	$(MACH64)
21
22all :=		TARGET= all
23clean :=	TARGET= clean
24clobber :=	TARGET= clobber
25install :=	TARGET= install
26lint :=		TARGET= lint
27
28.KEEP_STATE:
29
30all clean clobber install lint: $(SUBDIRS)
31
32$(SUBDIRS):	FRC
33	@cd $@; pwd; $(MAKE) $(TARGET)
34
35install_h:	$(ROOTHDRS)
36
37check:		$(CHECKHDRS)
38
39FRC:
40
41include ../Makefile.targ
42