Makefile revision fa9e4066f08beec538e775443c5be79dd423fcab
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#
f02c22d58ac88777655e0b407b22b07864d39184Evan Hunt# CDDL HEADER START
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews#
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# The contents of this file are subject to the terms of the
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews# Common Development and Distribution License, Version 1.0 only
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# (the "License"). You may not use this file except in compliance
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# with the License.
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews#
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# or http://www.opensolaris.org/os/licensing.
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# See the License for the specific language governing permissions
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# and limitations under the License.
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews#
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# If applicable, add the following below this CDDL HEADER, with the
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# fields enclosed by brackets "[]" replaced with your own identifying
92b796c963e7ba0217debfa27a0709f94934f5d5Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt#
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt# CDDL HEADER END
5506903c9215faf42586307c2288942fd804c579Evan Hunt#
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Use is subject to license terms.
5506903c9215faf42586307c2288942fd804c579Evan Hunt#
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#ident "%Z%%M% %I% %E% SMI"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
5506903c9215faf42586307c2288942fd804c579Evan HuntMODULE = libzpool.so
5506903c9215faf42586307c2288942fd804c579Evan HuntMDBTGT = proc
5506903c9215faf42586307c2288942fd804c579Evan Hunt
30c76944175c52f947d268329ff815aadeea6306Mark AndrewsMODSRCS = zfs.c list.c
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrewsinclude ../../../../Makefile.cmd
5506903c9215faf42586307c2288942fd804c579Evan Huntinclude ../../Makefile.ia32
30c76944175c52f947d268329ff815aadeea6306Mark Andrewsinclude ../../../Makefile.module
30c76944175c52f947d268329ff815aadeea6306Mark Andrews
5506903c9215faf42586307c2288942fd804c579Evan HuntMODSRCS_DIR = ../../../common/modules/zfs
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark AndrewsGENUNIX_DIR = ../../../common/modules/genunix
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark AndrewsCPPFLAGS += -I../../../../../lib/libzpool/common \
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews -I../../../../../uts/common/fs/zfs
5506903c9215faf42586307c2288942fd804c579Evan Hunt
5506903c9215faf42586307c2288942fd804c579Evan HuntC99MODE= -xc99=%all
5506903c9215faf42586307c2288942fd804c579Evan HuntC99LMODE= -Xc99=%all
5506903c9215faf42586307c2288942fd804c579Evan Hunt
5506903c9215faf42586307c2288942fd804c579Evan Huntdmod/%.o: $(GENUNIX_DIR)/%.c
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews $(COMPILE.c) -o $@ $<
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews $(CTFCONVERT_O)
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrewsdmod/%.ln: $(GENUNIX_DIR)/%.c
5506903c9215faf42586307c2288942fd804c579Evan Hunt $(LINT.c) -c $<
5506903c9215faf42586307c2288942fd804c579Evan Hunt