Makefile.com (494f7e12) Makefile.com (9f923083)
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

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

30 allow.py unallow.py \
31 userspace.py groupspace.py holds.py table.py
32
33
34include ../../Makefile.lib
35
36LIBLINKS =
37SRCDIR = ../common
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

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

30 allow.py unallow.py \
31 userspace.py groupspace.py holds.py table.py
32
33
34include ../../Makefile.lib
35
36LIBLINKS =
37SRCDIR = ../common
38ROOTLIBDIR= $(ROOT)/usr/lib/python2.6/vendor-packages/zfs
39PYTHON= $(PYTHON_26)
38ROOTLIBDIR= $(ROOT)/usr/lib/python$(PYTHON_VERSION)/vendor-packages/zfs
40PYOBJS= $(PYSRCS:%.py=$(SRCDIR)/%.pyc)
41PYFILES= $(PYSRCS) $(PYSRCS:%.py=%.pyc)
42ROOTPYZFSFILES= $(PYFILES:%=$(ROOTLIBDIR)/%)
43
44C99MODE= -xc99=%all
45C99LMODE= -Xc99=%all
46
47LIBS = $(DYNLIB)
39PYOBJS= $(PYSRCS:%.py=$(SRCDIR)/%.pyc)
40PYFILES= $(PYSRCS) $(PYSRCS:%.py=%.pyc)
41ROOTPYZFSFILES= $(PYFILES:%=$(ROOTLIBDIR)/%)
42
43C99MODE= -xc99=%all
44C99LMODE= -Xc99=%all
45
46LIBS = $(DYNLIB)
48LDLIBS += -lc -lnvpair -lpython2.6 -lzfs
47LDLIBS += -lc -lnvpair -lpython$(PYTHON_VERSION) -lzfs
49CFLAGS += $(CCVERBOSE)
50CERRWARN += -_gcc=-Wno-unused-variable
48CFLAGS += $(CCVERBOSE)
49CERRWARN += -_gcc=-Wno-unused-variable
51CPPFLAGS += -I$(ADJUNCT_PROTO)/usr/include/python2.6
50CPPFLAGS += -I$(ADJUNCT_PROTO)/usr/include/python$(PYTHON_VERSION)
52CPPFLAGS += -I../../../uts/common/fs/zfs
53CPPFLAGS += -I../../../common/zfs
54
55.KEEP_STATE:
56
57all: $(PYOBJS) $(LIBS)
58
59install: all $(ROOTPYZFSFILES)
60
61$(ROOTLIBDIR)/%: %
62 $(INS.pyfile)
63
51CPPFLAGS += -I../../../uts/common/fs/zfs
52CPPFLAGS += -I../../../common/zfs
53
54.KEEP_STATE:
55
56all: $(PYOBJS) $(LIBS)
57
58install: all $(ROOTPYZFSFILES)
59
60$(ROOTLIBDIR)/%: %
61 $(INS.pyfile)
62
63$(ROOTLIBDIR)/%: ../common/%
64 $(INS.pyfile)
65
64lint: lintcheck
65
66include ../../Makefile.targ
66lint: lintcheck
67
68include ../../Makefile.targ