8672 proc_t changes broke genunix dmods and walker
[unleashed.git] / usr / src / cmd / sed / Makefile
bloba2feb2ab24aa75532a5918a920e67bbd4969aaa3
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.
17 PROG= sed
18 XPG4PROG= sed
19 OBJS= main.o compile.o misc.o process.o
20 SRCS= $(OBJS:%.o=%.c)
21 POFILES= $(OBJS:%.o=%.po)
23 include ../Makefile.cmd
25 CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
27 CFLAGS += $(CCVERBOSE)
29 .KEEP_STATE:
32 all: $(PROG)
34 $(PROG): $(OBJS)
35 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
36 $(POST_PROCESS)
38 $(POFILE): $(POFILES)
39 $(RM) $@
40 $(CAT) $(POFILES) > $@
42 $(ROOTXPG4PROG):
43 $(RM) $@
44 $(LN) -s ../../bin/$(PROG) $@
46 install: all $(DIRS) $(ROOTPROG) $(ROOTXPG4PROG)
48 clean:
49 $(RM) $(OBJS) $(POFILES)
51 lint: lint_SRCS
53 include ../Makefile.targ