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

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

39PYFILES= $(PYSRCS) $(PYSRCS:%.py=%.pyc)
40ROOTPYBEFILES= $(PYFILES:%=$(ROOTLIBDIR)/%)
41
42C99MODE= $(C99_ENABLE)
43
44LIBS = $(DYNLIB)
45LDLIBS += -lbe -lnvpair -lc
46CFLAGS += $(CCVERBOSE)
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

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

39PYFILES= $(PYSRCS) $(PYSRCS:%.py=%.pyc)
40ROOTPYBEFILES= $(PYFILES:%=$(ROOTLIBDIR)/%)
41
42C99MODE= $(C99_ENABLE)
43
44LIBS = $(DYNLIB)
45LDLIBS += -lbe -lnvpair -lc
46CFLAGS += $(CCVERBOSE)
47CPPFLAGS += -I/usr/include/python2.6 -D_FILE_OFFSET_BITS=64 -I../../libbe/common
47CPPFLAGS += -I$(ADJUNCT_PROTO)/usr/include/python2.6 \
48 -D_FILE_OFFSET_BITS=64 -I../../libbe/common
48
49.KEEP_STATE:
50
51all install := LDLIBS += -lpython2.6
52
53all: $(PYOBJS) $(LIBS)
54
55install: all $(ROOTPYBEFILES)
56
57$(ROOTLIBDIR)/%: %
58 $(INS.pyfile)
59
60lint: lintcheck
61
62include ../../Makefile.targ
49
50.KEEP_STATE:
51
52all install := LDLIBS += -lpython2.6
53
54all: $(PYOBJS) $(LIBS)
55
56install: all $(ROOTPYBEFILES)
57
58$(ROOTLIBDIR)/%: %
59 $(INS.pyfile)
60
61lint: lintcheck
62
63include ../../Makefile.targ