1 | #
|
---|
2 | # Copyright 2002 Sun Microsystems, Inc. All rights reserved.
|
---|
3 | # Use is subject to license terms.
|
---|
4 | #
|
---|
5 | #ident "$Id: Makefile.in 1 1970-01-01 00:00:00Z vboxsync $"
|
---|
6 | #
|
---|
7 |
|
---|
8 | MOD_DEPTH = ../..
|
---|
9 | topsrcdir = @top_srcdir@
|
---|
10 | srcdir = @srcdir@
|
---|
11 | VPATH = @srcdir@
|
---|
12 |
|
---|
13 | include $(MOD_DEPTH)/config/autoconf.mk
|
---|
14 |
|
---|
15 | %: %.ksh
|
---|
16 | $(RM) $@
|
---|
17 | cp $< $@
|
---|
18 | chmod +x $@
|
---|
19 |
|
---|
20 | ifeq ($(USE_64), 1)
|
---|
21 | DIRS = \
|
---|
22 | SUNWprx
|
---|
23 | else
|
---|
24 | DIRS = \
|
---|
25 | SUNWpr
|
---|
26 | endif
|
---|
27 |
|
---|
28 | PROTO = \
|
---|
29 | $(ROOT) \
|
---|
30 | $(ROOT)/usr \
|
---|
31 | $(ROOT)/usr/lib \
|
---|
32 | $(ROOT)/usr/lib/mps
|
---|
33 |
|
---|
34 | ifdef USE_64
|
---|
35 | PROTO += $(ROOT)/usr/lib/mps/sparcv9
|
---|
36 | endif
|
---|
37 |
|
---|
38 | include $(srcdir)/Makefile.com
|
---|
39 |
|
---|
40 | awk_pkginfo: bld_awk_pkginfo
|
---|
41 | ./bld_awk_pkginfo -m $(MACH) -p "$(PRODUCT_VERSION)" -o $@ -v $(PRODUCT_VERSION)
|
---|
42 |
|
---|
43 | all:: awk_pkginfo $(PROTO)
|
---|
44 | publish: awk_pkginfo $(PROTO)
|
---|
45 | +$(LOOP_OVER_DIRS)
|
---|
46 |
|
---|
47 | clean clobber::
|
---|
48 | $(RM) awk_pkginfo bld_awk_pkginfo
|
---|
49 | $(RM) -r $(ROOT)
|
---|
50 |
|
---|
51 | $(ROOT) $(ROOT)/%:
|
---|
52 | mkdir -p $@
|
---|
53 |
|
---|
54 | ifdef USE_64
|
---|
55 | $(ROOT)/usr/lib/mps/sparcv9:
|
---|
56 | $(LN) -sf ../../../../$(dist_libdir) $@
|
---|
57 | else
|
---|
58 | $(ROOT)/usr/lib/mps:
|
---|
59 | $(LN) -sf ../../../$(dist_libdir) $@
|
---|
60 | endif
|
---|