xref: /illumos-gate/usr/src/tools/svc/Makefile (revision 111b966ed3721c1cee4814c5314de6f3a9c8081d)
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 2015, Richard Lowe.
13
14SUBDIRS=		\
15	configd		\
16	libscf		\
17	libsqlite	\
18	libuutil	\
19	svccfg
20
21all	:=	TARGET = all
22install :=	TARGET = install
23clean	:=	TARGET = clean
24clobber	:=	TARGET = clobber
25
26.KEEP_STATE:
27
28svccfg: libscf libuutil
29configd: libsqlite libuutil
30libscf: libuutil
31
32
33all clean clobber install: $(SUBDIRS)
34
35$(SUBDIRS):	FRC
36	@cd $@; pwd; $(MAKE) $(TARGET)
37
38FRC:
39