Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
6588N/A#
6588N/A# CDDL HEADER START
6588N/A#
6588N/A# The contents of this file are subject to the terms of the
6588N/A# Common Development and Distribution License, Version 1.0 only
6588N/A# (the "License"). You may not use this file except in compliance
6588N/A# with the License.
6588N/A#
6588N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6588N/A# or http://www.opensolaris.org/os/licensing.
6588N/A# See the License for the specific language governing permissions
6588N/A# and limitations under the License.
6588N/A#
6588N/A# When distributing Covered Code, include this CDDL HEADER in each
6588N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6588N/A# If applicable, add the following below this CDDL HEADER, with the
6588N/A# fields enclosed by brackets "[]" replaced with your own identifying
6588N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6588N/A#
6588N/A# CDDL HEADER END
6588N/A#
6588N/A#
6588N/A#ident "%Z%%M% %I% %E% SMI"
6588N/A#
6588N/A# Copyright (c) 1999 by Sun Microsystems, Inc.
6588N/A# All rights reserved.
6588N/A#
6588N/A
6588N/AFSTYPE= udfs
6588N/ALIBPROG= fsck
6588N/AATTMK= $(LIBPROG)
6588N/A
6588N/Ainclude ../../Makefile.fstype
6588N/A
6588N/AFSCKOBJS= main.o setup.o utilities.o pass1.o inode.o
6588N/AFSCKSRCS= $(FSCKOBJS:%.o=%.c)
6588N/A
6588N/AUDFSDIR= ../mkfs
6588N/AUDFSOBJS= udfslib.o
6588N/A#UDFSSRCS= $(UDFSOBJS:%.o=%.c)
6588N/A
6588N/AOBJS= $(FSCKOBJS) $(UDFSOBJS)
6588N/ASRCS= $(FSCKSRCS) $(UDFSSRCS) ../mkfs/udfslib.c
6588N/A
6588N/A#CPPFLAGS += -D_LARGEFILE64_SOURCE
6588N/ACPPFLAGS += -I../mkfs
6588N/ALDLIBS += -ladm
6588N/A$(LIBPROG): $(OBJS)
6588N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
6588N/A $(POST_PROCESS)
6588N/A
6588N/A%.o: $(UDFSDIR)/%.c
6588N/A $(COMPILE.c) $<
6588N/A
6588N/A# for messaging catalog
6588N/A#
6588N/APOFILE= fsck.po
6588N/A
6588N/A# for messaging catalog
6588N/A#
6588N/Acatalog: $(POFILE)
6588N/A
6588N/A$(POFILE): $(SRCS)
6588N/A $(RM) $@
6588N/A $(COMPILE.cpp) $(SRCS) > $(POFILE).i
6588N/A $(XGETTEXT) $(XGETFLAGS) $(POFILE).i
6588N/A sed "/^domain/d" messages.po > $@
6588N/A $(RM) $(POFILE).i messages.po
6588N/A
6588N/Alint:
6588N/A $(LINT.c) -mu $(SRCS)
6588N/A
6588N/Aclean:
6588N/A $(RM) $(FSCKOBJS) $(UDFSOBJS)
6588N/A
6588N/Aputback:
6588N/A -cstyle -p inode.c
6588N/A -cstyle -p main.c
6588N/A -cstyle -p pass1.c
6588N/A -cstyle -p setup.c
6588N/A -cstyle -p utilities.c
6588N/A -keywords inode.c
6588N/A -keywords main.c
6588N/A -keywords pass1.c
6588N/A -keywords setup.c
-keywords utilities.c
-keywords Makefile