Old 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 2008 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 SFWvorbt \
122 SFWw3 \
123 SFWwmkr \
124 SFWxaw3d \
125 SFWxcpus \
126 SFWxdelta \
127 SFWxfce \
128 SFWxmms \
129 SFWxterm \
130 SFWpine \
131 SFWruby \
132 SFWimap \
133 SFWsudo \
134 SFWtop \
135 SFWxpp \
136 SFWbdb \
137 SFWethrl \
138 SFWfltk \
139 SFWfvwm \
140 SFWpftpd \
141 SFWsdic \
142 SFWtdmp \
143 SFWlablgtk \
144 SFWunison \
145 SFWxmcd \
146 SFWexpct \
147 SFWrline \
148 SFWslrn \
149 SFWfile \
150 SFWrpm \
151 SFWtetex
152
153 $(BUILD64)SUBDIRS64=$($(MACH64)_SUBDIRS)
154
155 SUBDIRS= $($(MACH)_SUBDIRS) $(COMMON_SUBDIRS) $(SUBDIRS64)
156
157 INSTALLERS=
158 DVDPKGS=
159
160 all := TARGET= all
161 install := TARGET= install
162 install_h := TARGET= install_h
163 clean := TARGET= clean
164 clobber := TARGET= clobber
165
166 %: %.ksh
167 $(RM) $@
168 cp $< $@
169 chmod +x $@
170
171 .KEEP_STATE:
172
173 .PARALLEL: $(SUBDIRS)
174
175 $(INSTALLERS): $(SUBDIRS)
176
177 $(DVDPKGS): $(INSTALLERS)
178
179 all install: awk_pkginfo $(SUBDIRS) # $(INSTALLERS) $(DVDPKGS)
180
181 clean clobber: $(SUBDIRS) # $(INSTALLERS) $(DVDPKGS)
182 $(RM) awk_pkginfo bld_awk_pkginfo
183
184 $(INSTALLERS) $(DVDPKGS) $(SUBDIRS): FRC
185 @cd $@; pwd; $(MAKE) $(TARGET)
186
187 awk_pkginfo: bld_awk_pkginfo
188 ./bld_awk_pkginfo -m $(MACH) -p "$(RELEASE)/$(VERSION)" -o $@
189
190 # SUNWccd: SUNW0ccd
191
192 FRC:
193