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
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
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 #
23 # Copyright 2010 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
25 #
26
27 TEMPLATES= SUNWdefault.xml SUNWblank.xml
28 XMLDOCS= config.xml platform.xml
29 CLOBBERFILES= $(ROOTXMLDOCS) $(ROOTTEMPLATES)
30
31 all:
32
33 include $(SRC)/cmd/Makefile.cmd
34 include ../Makefile.ipkg
35
36 install: $(ROOTXMLDOCS) $(ROOTTEMPLATES)
37
38 clean:
39
40 lint:
41
42 include $(SRC)/cmd/Makefile.targ
|
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
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
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 #
23 # Copyright 2010 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
25 #
26 # Copyright 2015 Nexenta Systems, Inc. All rights reserved.
27 #
28
29 PROGS= attach clone detach fmri_compare image_install p2v \
30 pkgcreatezone poststate prestate support system-unconfigure \
31 uninstall
32 XMLDOCS= config.xml platform.xml smf_disable.lst pkgrm.lst common.ksh
33 USERFILES= smf_disable.conf pkgrm.conf
34 TEMPLATES= SUNWipkg.xml
35
36 CLOBBERFILES= $(ROOTPROGS) $(ROOTXMLDOCS) $(ROOTTEMPLATES) $(ETCUSER)
37
38 include $(SRC)/cmd/Makefile.cmd
39 include ../Makefile.ipkg
40
41 .KEEP_STATE:
42
43 all: $(PROGS)
44
45 # Our one .py file produces an empty .po file.
46 # This is the easiest way to deal with it.
47 GNUXGETFLAGS += --force-po
48
49 POFILES = $(PROGS:%=%.po) common.po
50 POFILE = ipkg_zone.po
51
52 $(POFILE): $(POFILES)
53 $(RM) $@
54 $(CAT) $(POFILES) > $@
55
56 install: $(PROGS) $(ROOTPROGS) $(ROOTXMLDOCS) $(ROOTTEMPLATES) $(ETCUSER)
57
58 lint:
59
60 clean:
61 -$(RM) $(PROGS) $(POFILES) $(POFILE)
62
63 support := LDLIBS += -lzonecfg
64
65 support: support.c
66 $(LINK.c) -o $@ $@.c $(LDLIBS)
67 $(POST_PROCESS)
68
69 include $(SRC)/cmd/Makefile.targ
|