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
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.
19 OBJS
= main.o compile.o misc.o process.o
21 POFILES
= $(OBJS
:%.o
=%.po
)
23 include ..
/Makefile.cmd
25 CPPFLAGS
+= -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS
=64
27 CFLAGS
+= $(CCVERBOSE
)
35 $(LINK.c
) $(OBJS
) -o
$@
$(LDLIBS
)
40 $(CAT
) $(POFILES
) > $@
44 $(LN
) -s ..
/..
/bin
/$(PROG
) $@
46 install: all $(DIRS
) $(ROOTPROG
) $(ROOTXPG4PROG
)
49 $(RM
) $(OBJS
) $(POFILES
)
53 include ..
/Makefile.targ