Makefile revision c1379625401dfbe1c39b79136dd384a571d47fde
5cd4555ad444fd391002ae32450572054369fd42Rob Austein#
5cd4555ad444fd391002ae32450572054369fd42Rob Austein# CDDL HEADER START
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# The contents of this file are subject to the terms of the
0e27506ce3135f9bd49e12564ad0e15256135118Automatic Updater# Common Development and Distribution License, Version 1.0 only
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# (the "License"). You may not use this file except in compliance
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# with the License.
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater#
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# or http://www.opensolaris.org/os/licensing.
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson#
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# CDDL HEADER END
2de07361f3d1019d6d3b7433755fe7d55578b7dcJeremy Reed#
b5ad6dfea4cc3e7d1d322ac99f1e5a31096837c4Mark Andrews#
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Use is subject to license terms.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE = libzpool.so
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMDBTGT = proc
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODSRCS = zfs.c list.c
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude ../../../../Makefile.cmd
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude ../../Makefile.ia32
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude ../../../Makefile.module
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude ../../../common/modules/zfs/Makefile.zfs
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODSRCS_DIR = ../../../common/modules/zfs
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinGENUNIX_DIR = ../../../common/modules/genunix
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCPPFLAGS += -I../../../../../lib/libzpool/common \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein -I../../../../../uts/common/fs/zfs
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews
26e2a07a0b6a3b1eccef82ba31270d0c54ad4f06Mark AndrewsC99MODE= -xc99=%all
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark AndrewsC99LMODE= -Xc99=%all
7b8b5e34b6daf793373580dfb095f56af5e918ceAutomatic Updater
d60212e03fbef1d3dd7f7eb05c0545cc373cb9fcAutomatic UpdaterCERRWARN += -_gcc=-Wno-type-limits
4d42b714be10e6f163d23507e4e3a396a8ac0364Automatic Updater
0e27506ce3135f9bd49e12564ad0e15256135118Automatic Updaterdmod/%.o: $(GENUNIX_DIR)/%.c
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein $(COMPILE.c) -o $@ $<
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein $(CTFCONVERT_O)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeindmod/%.ln: $(GENUNIX_DIR)/%.c
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein $(LINT.c) -c $<
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein