dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / fs.d / udfs / mkfs / Makefile
blob431d5eae5c99e0b3b5c6616c4531e13ccdb9d9ae
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License, Version 1.0 only
6 # (the "License"). You may not use this file except in compliance
7 # with the License.
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or http://www.opensolaris.org/os/licensing.
11 # See the License for the specific language governing permissions
12 # and limitations under the License.
14 # When distributing Covered Code, include this CDDL HEADER in each
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 # If applicable, add the following below this CDDL HEADER, with the
17 # fields enclosed by brackets "[]" replaced with your own identifying
18 # information: Portions Copyright [yyyy] [name of copyright owner]
20 # CDDL HEADER END
23 # Copyright (c) 1999,2001 by Sun Microsystems, Inc.
24 # All rights reserved.
27 FSTYPE= udfs
28 LIBPROG= mkfs
29 ATTMK= $(LIBPROG)
31 include ../../Makefile.fstype
33 # for messaging catalog
35 POFILE= mkfs.po
37 catalog: $(POFILE)
40 LDLIBS += -ladm
42 MKFSOBJS= mkfs.o udfslib.o
44 UDFSDIR= ../../../../uts/common/fs/ufs
45 #UDFSOBJS= ufs_subr.o ufs_tables.o
46 UDFSOBJS=
48 CERRWARN += -Wno-parentheses
49 CERRWARN += -Wno-uninitialized
51 OBJS= $(MKFSOBJS) $(UDFSOBJS)
52 SRCS= $(OBJS:%.o=%.c)
54 $(LIBPROG): $(OBJS)
55 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
56 $(POST_PROCESS)
58 %.o: $(UDFSDIR)/%.c
59 $(COMPILE.c) $<
61 clean:
62 $(RM) $(OBJS)
64 putback:
65 -cstyle -p mkfs.c
66 -cstyle -p udfslib.c
67 -keywords mkfs.c
68 -keywords udfslib.c
69 -keywords Makefile