summaryrefslogtreecommitdiffstats
path: root/src/libs/xpcom18a4/nsprpub/pkg/solaris/Makefile.in
blob: 0c2d2e3178030be90716969b80fd39d4a11ea845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#
# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#ident	"$Id: Makefile.in $"
#

MOD_DEPTH = ../..
topsrcdir   = @top_srcdir@
srcdir	    = @srcdir@
VPATH	    = @srcdir@

include $(MOD_DEPTH)/config/autoconf.mk

%: %.ksh
	$(RM) $@
	cp $< $@
	chmod +x $@

ifeq ($(USE_64), 1)
DIRS = \
	SUNWprx
else
DIRS = \
	SUNWpr
endif

PROTO = \
	$(ROOT) \
	$(ROOT)/usr \
	$(ROOT)/usr/lib \
	$(ROOT)/usr/lib/mps

ifdef USE_64
PROTO += $(ROOT)/usr/lib/mps/sparcv9
endif

include $(srcdir)/Makefile.com

awk_pkginfo: bld_awk_pkginfo
	./bld_awk_pkginfo -m $(MACH) -p "$(PRODUCT_VERSION)" -o $@ -v $(PRODUCT_VERSION)

all:: awk_pkginfo $(PROTO)
publish: awk_pkginfo $(PROTO)
	+$(LOOP_OVER_DIRS)

clean clobber::
	$(RM) awk_pkginfo bld_awk_pkginfo
	$(RM) -r $(ROOT)

$(ROOT) $(ROOT)/%:
	mkdir -p $@

ifdef USE_64
$(ROOT)/usr/lib/mps/sparcv9:
	$(LN) -sf ../../../../$(dist_libdir) $@
else
$(ROOT)/usr/lib/mps:
	$(LN) -sf ../../../$(dist_libdir) $@
endif