1N/A#
1N/A# CDDL HEADER START
1N/A#
1N/A# The contents of this file are subject to the terms of the
1N/A# Common Development and Distribution License (the "License").
1N/A# You may not use this file except in compliance with the License.
1N/A#
1N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A# or http://www.opensolaris.org/os/licensing.
1N/A# See the License for the specific language governing permissions
1N/A# and limitations under the License.
1N/A#
1N/A# When distributing Covered Code, include this CDDL HEADER in each
1N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A# If applicable, add the following below this CDDL HEADER, with the
1N/A# fields enclosed by brackets "[]" replaced with your own identifying
1N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1N/A#
1N/A# CDDL HEADER END
1N/A#
1N/A
1N/A#
1N/A# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
1N/A#
1N/A
1N/APROG= parted
1N/A
1N/Ainclude ../Makefile.cmd
1N/A
1N/AC99MODE= $(C99_ENABLE)
1N/A
1N/Asrcdir= .
1N/A
1N/ACPPFLAGS += -I. \
1N/A -I../../lib/libparted/common/lib \
1N/A -I../../lib/libparted/common/include
1N/A
1N/AARFLAGS= cq
1N/A
1N/AOBJS= command.o parted.o strlist.o table.o ui.o version.o
1N/A
1N/ASRCS= $(OBJS:%.o=$(srcdir)/%.c)
1N/A
1N/ALDLIBS += ../../lib/libparted/i386/libparted.so.8
1N/A
1N/AROOTPROG= $(PROG:%=$(ROOTUSRSBIN)/%)
1N/A
1N/A.KEEP_STATE:
1N/Aall: $(PROG)
1N/A
1N/Aall install: THIRDPARTYLICENSE
1N/A
1N/ACLOBBERFILES += THIRDPARTYLICENSE
1N/A
1N/ATHIRDPARTYLICENSE: $(SRC)/common/GPLDISCLAIMER COPYING
1N/A $(RM) $@
1N/A $(CAT) $(SRC)/common/GPLDISCLAIMER COPYING > $@
1N/A
1N/A$(PROG): $(OBJS)
1N/A $(LINK.c) -o $(PROG) $(OBJS) $(LDLIBS)
1N/A $(POST_PROCESS)
1N/A
1N/Ainstall: all $(ROOTPROG)
1N/A
1N/Aclean:
1N/A $(RM) $(OBJS)
1N/A
1N/A#
1N/A# This open source is exempted from lint
1N/A#
1N/Alint:
1N/A
1N/Ainclude ../Makefile.targ