New Makefile
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
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
24 #
25 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
26 # Use is subject to license terms.
27 #
28 #
29 # pkgdefs/Makefile
30 #
31
32 include ../Makefile.master
33
34 sparcv9_SUBDIRS=
35
36 sparc_SUBDIRS=
37
38 i386_SUBDIRS=
39
40 # this list is not completely alphabetical because the largest packages
41 # need to be started first
42
43 COMMON_SUBDIRS= \
44 SFWamnda \
45 SFWncur \
46 SFWoldap \
47 SFWgtxt \
48 SFWpcre \
49 SFWxpdf \
50 SFWglob \
51 SFWispel \
52 SFWter \
53 SFWxmacs \
54 SFWvnc \
55 SFWmyjdb \
56 SFWaalib \
57 SFWafio \
58 SFWamake \
59 SFWasclk \
60 SFWastep \
61 SFWctags \
62 SFWcups \
63 SFWcddk \
64 SFWcprnt \
65 SFWcurl \
66 SFWcvs \
67 SFWdb1 \
68 SFWdiffu \
69 SFWemacs \
70 SFWespk \
71 SFWespks \
72 SFWenscr \
73 SFWfnlib \
74 SFWftchm \
75 SFWgcal \
76 SFWgcmn \
77 SFWgd \
78 SFWddd \
79 SFWgfind \
80 SFWgplot \
81 SFWgroff \
82 SFWgviz \
83 SFWguile \
84 SFWimlib \
85 SFWjoe \
86 SFWlibsane \
87 SFWlpcap \
88 SFWltool \
89 SFWlynx \
90 SFWmpack \
91 SFWmpage \
92 SFWmpeg \
93 SFWmphp \
94 SFWmutt \
95 SFWnmh \
96 SFWnpbm \
97 SFWao \
98 SFWoslp \
99 SFWplotu \
100 SFWpnm2p \
101 SFWprcml \
102 SFWrxvt \
103 SFWsane \
104 SFWsquid \
105 SFWsed \
106 SFWslang \
107 SFWcoreu \
108 SFWgawk \
109 SFWscrn \
110 SFWscrnbrltty \
111 SFWsgrep \
112 SFWshar \
113 SFWsnort \
114 SFWtclx \
115 SFWtnef \
116 SFWungif \
117 SFWunwin \
118 SFWyasr \
119 SFWocaml \
120 SFWuudv \
121 SFWvim \
122 SFWvorbt \
123 SFWw3 \
124 SFWwmkr \
125 SFWxaw3d \
126 SFWxcpus \
127 SFWxdelta \
128 SFWxfce \
129 SFWxmms \
130 SFWxterm \
131 SFWpine \
132 SFWruby \
133 SFWimap \
134 SFWsudo \
135 SFWtop \
136 SFWxpp \
137 SFWbdb \
138 SFWethrl \
139 SFWfltk \
140 SFWfvwm \
141 SFWpftpd \
142 SFWsdic \
143 SFWtdmp \
144 SFWlablgtk \
145 SFWunison \
146 SFWxmcd \
147 SFWexpct \
148 SFWrline \
149 SFWslrn \
150 SFWfile \
151 SFWrpm \
152 SFWtetex
153
154 $(BUILD64)SUBDIRS64=$($(MACH64)_SUBDIRS)
155
156 SUBDIRS= $($(MACH)_SUBDIRS) $(COMMON_SUBDIRS) $(SUBDIRS64)
157
158 INSTALLERS=
159 DVDPKGS=
160
161 all := TARGET= all
162 install := TARGET= install
163 install_h := TARGET= install_h
164 clean := TARGET= clean
165 clobber := TARGET= clobber
166
167 %: %.ksh
168 $(RM) $@
169 cp $< $@
170 chmod +x $@
171
172 .KEEP_STATE:
173
174 .PARALLEL: $(SUBDIRS)
175
176 $(INSTALLERS): $(SUBDIRS)
177
178 $(DVDPKGS): $(INSTALLERS)
179
180 all install: awk_pkginfo $(SUBDIRS) # $(INSTALLERS) $(DVDPKGS)
181
182 clean clobber: $(SUBDIRS) # $(INSTALLERS) $(DVDPKGS)
183 $(RM) awk_pkginfo bld_awk_pkginfo
184
185 $(INSTALLERS) $(DVDPKGS) $(SUBDIRS): FRC
186 @cd $@; pwd; $(MAKE) $(TARGET)
187
188 awk_pkginfo: bld_awk_pkginfo
189 ./bld_awk_pkginfo -m $(MACH) -p "$(RELEASE)/$(VERSION)" -o $@
190
191 # SUNWccd: SUNW0ccd
192
193 FRC:
194