dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / ipdadm / Makefile
blob95c304ff103fbc326461f789ed49d6a137f27c90
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.
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.
13 # Copyright (c) 2017 Joyent, Inc. All rights reserved.
16 PROG= ipdadm
17 OBJS = ipdadm.o
18 SRCS = $(OBJS:%.o=../%.c)
21 include ../Makefile.cmd
22 include ../Makefile.ctf
24 CLEANFILES += $(OBJS)
25 LDLIBS += -lipd
27 .KEEP_STATE:
29 $(PROG): $(OBJS)
30 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
31 $(POST_PROCESS)
33 clean:
34 -$(RM) $(CLEANFILES)
37 %.o: ../%.c
38 $(COMPILE.c) $<
39 $(POST_PROCESS_O)
41 all: $(PROG)
43 install: all $(ROOTUSRSBINPROG)
45 include ../Makefile.targ