Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
885f47576842cf3c569315b9a48bd9f0ca03f203Automatic Updater# CDDL HEADER START
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# The contents of this file are subject to the terms of the
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# Common Development and Distribution License, Version 1.0 only
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater# (the "License"). You may not use this file except in compliance
7b67cfadd077feb0ec3e6c78385ba0d845a9789bMark Andrews# with the License.
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bb93c8542756719b53096b9939e4041d0966026fAutomatic Updater# or http://www.opensolaris.org/os/licensing.
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# See the License for the specific language governing permissions
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# and limitations under the License.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# When distributing Covered Code, include this CDDL HEADER in each
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# If applicable, add the following below this CDDL HEADER, with the
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#ident "%Z%%M% %I% %E% SMI"
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater# Copyright (c) 1999,2001 by Sun Microsystems, Inc.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# All rights reserved.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterFSCKOBJS= fsck.o bpb.o clusters.o fat.o dir.o pcfs_common.o
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Error injection module for debugging purposes
3098364bcdd7a719fbafa5fc8d2cc9e90e5a5989Automatic Updater#DEBUGSRCS= $(DEBUGOBJS:%.o=%.c)
ca904804e43f663f08eb1ac9d6d617930b9a3cd3Automatic Updater# We grab one file from the kernel. It has a relatively complex routine
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# for manipulating time values into the format expected within directory
c0b771f68361b073388b85a689c12cbe502880eeAutomatic Updater# entries in the FAT file system [pc_tvtopct()]. It seemed better not to
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews# duplicate this code.
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsSRCS= $(FSCKSRCS) $(PCFSDIR)/$(PCFSSRCS) $(DEBUGSRCS)
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# for messaging catalog
723bfc0fc28c486c805de016c4475a35328eb8abAutomatic Updater# Uncomment the following two lines to build for dbx debugging
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont#COPTFLAG64 = -g
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater# We need to tell lint not to complain about the routines
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater# we are grabbing from the kernel as being undefined.