dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / od / Makefile
blob95179f40f2bf4cc856c7ff44197bb3d0b0af75d4
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 2010 Nexenta Systems, Inc. All rights reserved.
15 PROG= od
17 OBJS= od.o
18 SRCS= $(OBJS:%.o=%.c)
20 include ../Makefile.cmd
22 CLOBBERFILES= $(PROG)
25 C99MODE= $(C99_ENABLE)
26 CPPFLAGS += -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
28 # install rules
29 $(ROOTINC)/% : %
30 $(INS.file)
32 .KEEP_STATE:
34 .PARALLEL: $(OBJS)
36 all: $(PROG)
38 $(PROG): $(OBJS)
39 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
40 $(POST_PROCESS)
42 install: all .WAIT $(ROOTPROG)
45 clean:
46 $(RM) $(OBJS)
48 include ../Makefile.targ