Makefile (f85c7842) Makefile (aa1b14e7)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 5 unchanged lines hidden (view full) ---

14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 5 unchanged lines hidden (view full) ---

14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
22# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23# Use is subject to license terms.
24#
25
26PROG= format
27
28COBJS= add_definition.o analyze.o checkdev.o ctlr_scsi.o \
29 defect.o init_menus.o io.o label.o main.o \
30 menu.o menu_analyze.o menu_cache.o menu_command.o menu_defect.o \

--- 17 unchanged lines hidden (view full) ---

48
49ROOTSYMLINK= $(ROOTETCPROG)
50ROOTETCDATA= $(ROOTETC)/$(DATA)
51
52$(ROOTETCDATA) := FILEMODE = 0644
53$(ROOTETCDATA) := OWNER = root
54$(ROOTETCDATA) := GROUP = sys
55
23# Use is subject to license terms.
24#
25
26PROG= format
27
28COBJS= add_definition.o analyze.o checkdev.o ctlr_scsi.o \
29 defect.o init_menus.o io.o label.o main.o \
30 menu.o menu_analyze.o menu_cache.o menu_command.o menu_defect.o \

--- 17 unchanged lines hidden (view full) ---

48
49ROOTSYMLINK= $(ROOTETCPROG)
50ROOTETCDATA= $(ROOTETC)/$(DATA)
51
52$(ROOTETCDATA) := FILEMODE = 0644
53$(ROOTETCDATA) := OWNER = root
54$(ROOTETCDATA) := GROUP = sys
55
56LDLIBS += -ladm -lefi -ldiskmgt -lnvpair -ldevid
56LDLIBS_i386= -lfdisk
57LDLIBS_sparc=
58LDLIBS += -ladm -lefi -ldiskmgt -lnvpair -ldevid $(LDLIBS_$(MACH))
57
59
60LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2
58CPPFLAGS += -D_EXTVTOC
59
60.KEEP_STATE:
61
62all: $(PROG) $(DATA)
63
64.PARALLEL: $(OBJS)
65

--- 21 unchanged lines hidden ---
61CPPFLAGS += -D_EXTVTOC
62
63.KEEP_STATE:
64
65all: $(PROG) $(DATA)
66
67.PARALLEL: $(OBJS)
68

--- 21 unchanged lines hidden ---