author | hnhn |
Tue, 25 Jan 2011 15:54:29 +0100 | |
changeset 519 | cff3eb0cf6ff |
parent 162 | e228fc0931fa |
permissions | -rw-r--r-- |
0 | 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 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 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 |
# Copyright 2006 Sun Microsystems, Inc. All rights reserved. |
|
22 |
# Use is subject to license terms. |
|
23 |
# |
|
24 |
# ident "@(#)Makefile 1.0 10/03/07 SMI" |
|
25 |
# |
|
26 |
||
27 |
include $(SRC)/Makefile.master |
|
28 |
||
29 |
SUBDIRS = |
|
30 |
||
31 |
ALL_LOCALES.tar= $(ALL_LOCALES:%=%.tar) |
|
32 |
||
33 |
||
34 |
all:= TARGET= all |
|
35 |
install:= TARGET= install |
|
36 |
clean:= TARGET= clean |
|
37 |
links:= TARGET= links |
|
38 |
$(ALL_LOCALES):= TARGET= links |
|
39 |
||
40 |
.KEEP_STATE: |
|
41 |
||
42 |
all: link |
|
43 |
||
44 |
install: |
|
45 |
||
46 |
clean clobber: |
|
47 |
$(RM) $(DEST)/*.bz2 |
|
48 |
||
49 |
link: |
|
50 |
$(RM) -r $(FILEROOT)/lib $(FILEROOT)/openwin |
|
51 |
$(LN) -s $(FILEROOT)/usr/lib $(FILEROOT)/lib |
|
52 |
$(LN) -s $(FILEROOT)/usr/openwin $(FILEROOT)/openwin |
|
53 |
||
54 |
links: |
|
55 |
$(SRC)/tools/create_links.sh all $(FILEROOT) |
|
56 |
||
57 |
linkclean: |
|
58 |
for i in `find $(FILEROOT) -type l`; do\ |
|
59 |
echo "removing $$i"; \ |
|
60 |
rm $$i; \ |
|
61 |
done |
|
62 |
||
63 |
||
64 |
tarball: $(DEST) |
|
12
eb55d85bc649
remove '-cf' from $(TAR), add definition of $(WGET), $(XKBCOMP_XSUN) and $(XKBCOMP_XORG)
Jan Lana <jan.lana@sun.com>
parents:
0
diff
changeset
|
65 |
cd $(DEST); $(TAR) cvf all_locales.tar -C $(FILEROOT) usr/; \ |
162 | 66 |
$(RM) all_locales.tar.bz2; $(BZIP2) all_locales.tar |
0 | 67 |
|
68 |
tarballs: $(DEST) |
|
69 |
for i in $(ALL_LOCALES); do \ |
|
70 |
$(SRC)/tools/create_tarballs.sh $$i $(FILEROOT); \ |
|
71 |
mv $(FILEROOT)/$$i.tar.bz2 $(DEST); \ |
|
72 |
done |
|
73 |
mv $(FILEROOT)/common.tar.bz2 $(DEST) |
|
74 |
||
75 |
$(DEST): |
|
76 |
$(INSDIR) $(DEST) |
|
77 |
||
78 |
$(ALL_LOCALES): |
|
79 |
$(SRC)/tools/create_tarballs.sh $@ $(FILEROOT) |
|
80 |
mv $(FILEROOT)/[email protected] $(DEST) |
|
81 |
cp $(FILEROOT)/common.tar.bz2 $(DEST) |
|
82 |
||
83 |
||
84 |
#%.tar: % |
|
85 |
# $(SRC)/tools/create_tarballs.sh $< $(FILEROOT) |
|
86 |
# mv $(FILEROOT)/$<.tar.bz2 $(DEST) |
|
87 |
||
88 |
$(SUBDIRS): FRC |
|
89 |
-@cd $@; pwd; $(MAKE) $(TARGET) |
|
90 |
||
91 |
||
92 |
FRC: |