8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / ipdadm / Makefile
blob349899e5f68d937a3c88cbc1dd70b3ac98d5cbb8
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) 2012 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 CFLAGS += $(CCVERBOSE)
26 LDLIBS += -lipd
28 .KEEP_STATE:
30 $(PROG): $(OBJS)
31 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
32 $(POST_PROCESS)
34 clean:
35 -$(RM) $(CLEANFILES)
37 lint: lint_PROG
39 %.o: ../%.c
40 $(COMPILE.c) $<
41 $(POST_PROCESS_O)
43 install: $(PROG) $(ROOTUSRSBINPROG)
45 include ../Makefile.targ