dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / nohup / Makefile.com
blobc7de77a8be98a731d4040524212f6de54bdbbcf4
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License, Version 1.0 only
6 # (the "License").  You may not use this file except in compliance
7 # with the License.
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or http://www.opensolaris.org/os/licensing.
11 # See the License for the specific language governing permissions
12 # and limitations under the License.
14 # When distributing Covered Code, include this CDDL HEADER in each
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 # If applicable, add the following below this CDDL HEADER, with the
17 # fields enclosed by brackets "[]" replaced with your own identifying
18 # information: Portions Copyright [yyyy] [name of copyright owner]
20 # CDDL HEADER END
23 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
24 # Use is subject to license terms.
27 # cmd/nohup/Makefile.com
28
30 PROG = nohup
32 OBJS = nohup.o
33 SRCS = $(OBJS:%.o=../%.c)
34 LNTS = $(OBJS:%.o=%.ln)
35 CLEANFILES = $(OBJS) $(LNTS)
37 include ../../Makefile.cmd
40 CPPFLAGS += -DXPG4
42 TARGETS = $(PROG)
44 .KEEP_STATE:
46 .PARALLEL: $(OBJS) $(LNTS)
48 all: $(PROG)
50 clean:
51         $(RM) $(CLEANFILES)
53 include ../../Makefile.targ
55 $(PROG): $(OBJS)
56         $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
57         $(POST_PROCESS)
59 %.o: ../%.c
60         $(COMPILE.c) -o $@ $<
61         $(POST_PROCESS_O)