xref: /illumos-gate/usr/src/lib/libdemangle/Makefile (revision 8226594fdd4479be135127f43632f1f995074654)
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
26
27.KEEP_STATE:
28
29all clean clobber install: $(SUBDIRS)
30
31$(SUBDIRS):	FRC
32	@cd $@; pwd; $(MAKE) $(TARGET)
33
34install_h:	$(ROOTHDRS)
35
36check:		$(CHECKHDRS)
37
38FRC:
39
40include ../Makefile.targ
41