xref: /illumos-gate/usr/src/cmd/svc/rootisramdisk/Makefile (revision f6c47fdeea63a9c5d1abefdffb93d3f87e12b7d0)
1*f6c47fdeSJoshua M. Clulow#
2*f6c47fdeSJoshua M. Clulow# This file and its contents are supplied under the terms of the
3*f6c47fdeSJoshua M. Clulow# Common Development and Distribution License ("CDDL"), version 1.0.
4*f6c47fdeSJoshua M. Clulow# You may only use this file in accordance with the terms of version
5*f6c47fdeSJoshua M. Clulow# 1.0 of the CDDL.
6*f6c47fdeSJoshua M. Clulow#
7*f6c47fdeSJoshua M. Clulow# A full copy of the text of the CDDL should have accompanied this
8*f6c47fdeSJoshua M. Clulow# source.  A copy of the CDDL is also available via the Internet at
9*f6c47fdeSJoshua M. Clulow# http://www.illumos.org/license/CDDL.
10*f6c47fdeSJoshua M. Clulow#
11*f6c47fdeSJoshua M. Clulow
12*f6c47fdeSJoshua M. Clulow#
13*f6c47fdeSJoshua M. Clulow# Copyright 2021 Oxide Computer Company
14*f6c47fdeSJoshua M. Clulow#
15*f6c47fdeSJoshua M. Clulow
16*f6c47fdeSJoshua M. ClulowPROG =			rootisramdisk
17*f6c47fdeSJoshua M. ClulowOBJS =			rootisramdisk.o
18*f6c47fdeSJoshua M. ClulowSRCS =			$(OBJS:%.o=%.c)
19*f6c47fdeSJoshua M. Clulow
20*f6c47fdeSJoshua M. Clulowinclude ../../Makefile.cmd
21*f6c47fdeSJoshua M. Clulowinclude ../../Makefile.cmd.64
22*f6c47fdeSJoshua M. Clulowinclude ../../Makefile.ctf
23*f6c47fdeSJoshua M. Clulow
24*f6c47fdeSJoshua M. Clulow.KEEP_STATE:
25*f6c47fdeSJoshua M. Clulow
26*f6c47fdeSJoshua M. Clulowall: $(PROG)
27*f6c47fdeSJoshua M. Clulow
28*f6c47fdeSJoshua M. Clulow$(PROG): $(OBJS)
29*f6c47fdeSJoshua M. Clulow	$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
30*f6c47fdeSJoshua M. Clulow	$(POST_PROCESS)
31*f6c47fdeSJoshua M. Clulow
32*f6c47fdeSJoshua M. Clulowinstall: all $(ROOTLIBSVCBINPROG)
33*f6c47fdeSJoshua M. Clulow
34*f6c47fdeSJoshua M. Clulowclean:
35*f6c47fdeSJoshua M. Clulow	$(RM) $(OBJS)
36*f6c47fdeSJoshua M. Clulow
37*f6c47fdeSJoshua M. Clulowinclude ../../Makefile.targ
38