View | Details | Raw Unified | Return to bug 62038
Collapse All | Expand All

(-)ports/lang/TenDRA/Makefile (-3 / +13 lines)
Lines 7-15 Link Here
7
#
7
#
8
8
9
PORTNAME=	TenDRA
9
PORTNAME=	TenDRA
10
PORTVERSION=	4.20030825
10
PORTVERSION=	4.20040128
11
CATEGORIES=	lang
11
CATEGORIES=	lang
12
MASTER_SITES=	ftp://ftp.allbsd.org/pub/TenDRA/snapshots/
12
MASTER_SITES=	ftp://ftp.ten15.org/pub/snapshot/
13
DISTNAME=	${PORTNAME:L}-${PORTVERSION:S/4.//}
13
DISTNAME=	${PORTNAME:L}-${PORTVERSION:S/4.//}
14
14
15
MAINTAINER=	stefan@fafoe.narf.at
15
MAINTAINER=	stefan@fafoe.narf.at
Lines 18-23 Link Here
18
ONLY_FOR_ARCHS=	i386
18
ONLY_FOR_ARCHS=	i386
19
19
20
DIST_SUBDIR=	${PKGBASE}
20
DIST_SUBDIR=	${PKGBASE}
21
MANCOMPRESSED=	yes
22
WRKSRC=		${WRKDIR}/${PORTNAME:L}
21
USE_BZIP2=	yes
23
USE_BZIP2=	yes
22
USE_PERL5_BUILD=	yes
24
USE_PERL5_BUILD=	yes
23
ALL_TARGET=	# nada
25
ALL_TARGET=	# nada
Lines 31-38 Link Here
31
		TENDRA_PATH=${TENDRA_PATH}
33
		TENDRA_PATH=${TENDRA_PATH}
32
34
33
MAN1=		calculus.1 disp.1 lexi.1 pl.1 sid.1 tcc.1 tchk.1 \
35
MAN1=		calculus.1 disp.1 lexi.1 pl.1 sid.1 tcc.1 tchk.1 \
34
		tcpplus.1 tdfc2.1 tld.1 tnc.1 trans.1 tspec.1
36
		tcpplus.1 tdfc2.1 tld.1 tnc.1 tspec.1 \
37
		${TENDRA_ARCH}.freebsd.trans.1
35
MAN5=		tccenv.5
38
MAN5=		tccenv.5
39
40
pre-extract:
41
	@if [ -n "$${MAKEOBJDIRPREFIX}" ]; then \
42
		echo "Please unset MAKEOBJDIRPREFIX in your environment, " \
43
		     "TenDRA won't compile otherwise."; \
44
		exit 1; \
45
	 fi
36
46
37
do-configure:
47
do-configure:
38
	cd ${WRKSRC} && make PREFIX=${PREFIX} freebsd
48
	cd ${WRKSRC} && make PREFIX=${PREFIX} freebsd
(-)ports/lang/TenDRA/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (TenDRA/tendra-20030825.tar.bz2) = 7ea9716d04d4f6bf8df11d55ca37659b
1
MD5 (TenDRA/tendra-20040128.tar.bz2) = b98c2bba70dc6fa4c1a08aa322858397
(-)ports/lang/TenDRA/pkg-descr (-1 / +1 lines)
Lines 9-15 Link Here
9
ability to check programs for conformance to APIs which are not
9
ability to check programs for conformance to APIs which are not
10
directly supported by system headers.
10
directly supported by system headers.
11
11
12
WWW: http://www.TenDRA.org/
12
WWW: http://www.ten15.org/
13
13
14
-----
14
-----
15
* TenDRA is a registered trademark of the UK Defence Evaluation
15
* TenDRA is a registered trademark of the UK Defence Evaluation
(-)ports/lang/TenDRA/pkg-plist (-7 / +58 lines)
Lines 1-4 Link Here
1
bin/calculus
2
bin/disp
3
bin/lexi
4
bin/pl
5
bin/sid
1
bin/tcc
6
bin/tcc
7
bin/tchk
8
bin/tdfc2
9
bin/tld
10
bin/tnc
11
bin/trans
12
bin/tspec
2
lib/TenDRA/%%TENDRA_PATH%%/bin/calculus
13
lib/TenDRA/%%TENDRA_PATH%%/bin/calculus
3
lib/TenDRA/%%TENDRA_PATH%%/bin/disp
14
lib/TenDRA/%%TENDRA_PATH%%/bin/disp
4
lib/TenDRA/%%TENDRA_PATH%%/bin/lexi
15
lib/TenDRA/%%TENDRA_PATH%%/bin/lexi
Lines 43-48 Link Here
43
lib/TenDRA/%%TENDRA_PATH%%/env/building
54
lib/TenDRA/%%TENDRA_PATH%%/env/building
44
lib/TenDRA/%%TENDRA_PATH%%/env/c
55
lib/TenDRA/%%TENDRA_PATH%%/env/c
45
lib/TenDRA/%%TENDRA_PATH%%/env/c++
56
lib/TenDRA/%%TENDRA_PATH%%/env/c++
57
lib/TenDRA/%%TENDRA_PATH%%/env/c99
46
lib/TenDRA/%%TENDRA_PATH%%/env/common
58
lib/TenDRA/%%TENDRA_PATH%%/env/common
47
lib/TenDRA/%%TENDRA_PATH%%/env/compact
59
lib/TenDRA/%%TENDRA_PATH%%/env/compact
48
lib/TenDRA/%%TENDRA_PATH%%/env/cose
60
lib/TenDRA/%%TENDRA_PATH%%/env/cose
Lines 93-98 Link Here
93
lib/TenDRA/%%TENDRA_PATH%%/lib/ansi.tl
105
lib/TenDRA/%%TENDRA_PATH%%/lib/ansi.tl
94
lib/TenDRA/%%TENDRA_PATH%%/lib/bsd_extn.tl
106
lib/TenDRA/%%TENDRA_PATH%%/lib/bsd_extn.tl
95
lib/TenDRA/%%TENDRA_PATH%%/lib/cpp.tl
107
lib/TenDRA/%%TENDRA_PATH%%/lib/cpp.tl
108
lib/TenDRA/%%TENDRA_PATH%%/lib/diag/ansi.tl
109
lib/TenDRA/%%TENDRA_PATH%%/lib/diag/bsd_extn.tl
110
lib/TenDRA/%%TENDRA_PATH%%/lib/diag/cpp.tl
111
lib/TenDRA/%%TENDRA_PATH%%/lib/diag/gcc.tl
112
lib/TenDRA/%%TENDRA_PATH%%/lib/diag/iso.tl
113
lib/TenDRA/%%TENDRA_PATH%%/lib/diag/posix.tl
114
lib/TenDRA/%%TENDRA_PATH%%/lib/diag/posix1.tl
115
lib/TenDRA/%%TENDRA_PATH%%/lib/diag/posix2.tl
116
lib/TenDRA/%%TENDRA_PATH%%/lib/diag/svid3.tl
117
lib/TenDRA/%%TENDRA_PATH%%/lib/diag/unix95.tl
118
lib/TenDRA/%%TENDRA_PATH%%/lib/diag/xpg4.tl
96
lib/TenDRA/%%TENDRA_PATH%%/lib/gcc.tl
119
lib/TenDRA/%%TENDRA_PATH%%/lib/gcc.tl
97
lib/TenDRA/%%TENDRA_PATH%%/lib/include/ansi.api/assert.h
120
lib/TenDRA/%%TENDRA_PATH%%/lib/include/ansi.api/assert.h
98
lib/TenDRA/%%TENDRA_PATH%%/lib/include/ansi.api/ctype.h
121
lib/TenDRA/%%TENDRA_PATH%%/lib/include/ansi.api/ctype.h
Lines 202-207 Link Here
202
lib/TenDRA/%%TENDRA_PATH%%/lib/include/gcc.api/sys/time.h
225
lib/TenDRA/%%TENDRA_PATH%%/lib/include/gcc.api/sys/time.h
203
lib/TenDRA/%%TENDRA_PATH%%/lib/include/gcc.api/sys/types.h
226
lib/TenDRA/%%TENDRA_PATH%%/lib/include/gcc.api/sys/types.h
204
lib/TenDRA/%%TENDRA_PATH%%/lib/include/gcc.api/tdf_alloca.h
227
lib/TenDRA/%%TENDRA_PATH%%/lib/include/gcc.api/tdf_alloca.h
228
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/assert.h
229
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/ctype.h
230
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/errno.h
231
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/float.h
232
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/iso646.h
233
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/limits.h
234
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/locale.h
235
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/math.h
236
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/setjmp.h
237
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/signal.h
238
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/stdarg.h
239
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/stddef.h
240
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/stdio.h
241
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/stdlib.h
242
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/string.h
243
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/time.h
244
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/wchar.h
245
lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api/wctype.h
205
lib/TenDRA/%%TENDRA_PATH%%/lib/include/posix.api/assert.h
246
lib/TenDRA/%%TENDRA_PATH%%/lib/include/posix.api/assert.h
206
lib/TenDRA/%%TENDRA_PATH%%/lib/include/posix.api/ctype.h
247
lib/TenDRA/%%TENDRA_PATH%%/lib/include/posix.api/ctype.h
207
lib/TenDRA/%%TENDRA_PATH%%/lib/include/posix.api/dirent.h
248
lib/TenDRA/%%TENDRA_PATH%%/lib/include/posix.api/dirent.h
Lines 311-316 Link Here
311
lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/cpp.api/bad_allo.h
352
lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/cpp.api/bad_allo.h
312
lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/cpp.api/except.h
353
lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/cpp.api/except.h
313
lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/gcc.api/timeval.h
354
lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/gcc.api/timeval.h
355
lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/iso.api/mse.h
356
lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/iso.api/mse2.h
357
lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/iso.api/wint.h
314
lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/posix.api/ctuid.h
358
lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/posix.api/ctuid.h
315
lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/posix.api/enums.h
359
lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/posix.api/enums.h
316
lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/posix.api/getopt.h
360
lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/posix.api/getopt.h
Lines 551-556 Link Here
551
lib/TenDRA/%%TENDRA_PATH%%/lib/include/xpg4.api/wchar.h
595
lib/TenDRA/%%TENDRA_PATH%%/lib/include/xpg4.api/wchar.h
552
lib/TenDRA/%%TENDRA_PATH%%/lib/include/xpg4.api/wordexp.h
596
lib/TenDRA/%%TENDRA_PATH%%/lib/include/xpg4.api/wordexp.h
553
lib/TenDRA/%%TENDRA_PATH%%/lib/include/xpg4.api/xti.h
597
lib/TenDRA/%%TENDRA_PATH%%/lib/include/xpg4.api/xti.h
598
lib/TenDRA/%%TENDRA_PATH%%/lib/iso.tl
554
lib/TenDRA/%%TENDRA_PATH%%/lib/machines/include/ctype.h
599
lib/TenDRA/%%TENDRA_PATH%%/lib/machines/include/ctype.h
555
lib/TenDRA/%%TENDRA_PATH%%/lib/machines/include/limits.h
600
lib/TenDRA/%%TENDRA_PATH%%/lib/machines/include/limits.h
556
lib/TenDRA/%%TENDRA_PATH%%/lib/machines/include/stdarg.h
601
lib/TenDRA/%%TENDRA_PATH%%/lib/machines/include/stdarg.h
Lines 579-594 Link Here
579
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Bounds.ansi/default.pf
624
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Bounds.ansi/default.pf
580
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Bounds.ansi/int_sizes.pf
625
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Bounds.ansi/int_sizes.pf
581
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Literal/ansi.pf
626
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Literal/ansi.pf
627
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Literal/c99.pf
582
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Literal/trad.pf
628
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Literal/trad.pf
583
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes.cpp/Xa
584
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes.cpp/Xc
585
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes.cpp/Xp
586
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes.cpp/Xs
587
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes.cpp/Xsystem
588
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes.cpp/Xt
589
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes.cpp/Xw
590
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/Xa
629
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/Xa
591
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/Xc
630
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/Xc
631
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/Xc99
592
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/Xp
632
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/Xp
593
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/Xs
633
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/Xs
594
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/Xsystem
634
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/Xsystem
Lines 596-604 Link Here
596
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/Xw
636
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/Xw
597
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/nepc
637
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/nepc
598
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/not_ansi
638
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes/not_ansi
639
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes.cpp/Xa
640
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes.cpp/Xc
641
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes.cpp/Xp
642
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes.cpp/Xs
643
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes.cpp/Xsystem
644
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes.cpp/Xt
645
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Modes.cpp/Xw
599
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Promotion/ansi.pf
646
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Promotion/ansi.pf
600
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Promotion/sign.pf
647
lib/TenDRA/%%TENDRA_PATH%%/lib/startup/Promotion/sign.pf
601
lib/TenDRA/%%TENDRA_PATH%%/lib/svid3.tl
648
lib/TenDRA/%%TENDRA_PATH%%/lib/svid3.tl
649
lib/TenDRA/%%TENDRA_PATH%%/lib/sys/crtp_n.o
602
lib/TenDRA/%%TENDRA_PATH%%/lib/sys/libcpp.a
650
lib/TenDRA/%%TENDRA_PATH%%/lib/sys/libcpp.a
603
lib/TenDRA/%%TENDRA_PATH%%/lib/sys/libtdf.a
651
lib/TenDRA/%%TENDRA_PATH%%/lib/sys/libtdf.a
604
lib/TenDRA/%%TENDRA_PATH%%/lib/target_tok.tl
652
lib/TenDRA/%%TENDRA_PATH%%/lib/target_tok.tl
Lines 606-611 Link Here
606
lib/TenDRA/%%TENDRA_PATH%%/lib/xpg4.tl
654
lib/TenDRA/%%TENDRA_PATH%%/lib/xpg4.tl
607
@dirrm lib/TenDRA/%%TENDRA_PATH%%/bin
655
@dirrm lib/TenDRA/%%TENDRA_PATH%%/bin
608
@dirrm lib/TenDRA/%%TENDRA_PATH%%/env
656
@dirrm lib/TenDRA/%%TENDRA_PATH%%/env
657
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/diag
609
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/ansi.api
658
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/ansi.api
610
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/bsd_extn.api/arpa
659
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/bsd_extn.api/arpa
611
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/bsd_extn.api/netinet
660
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/bsd_extn.api/netinet
Lines 614-619 Link Here
614
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/cpp.api
663
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/cpp.api
615
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/gcc.api/sys
664
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/gcc.api/sys
616
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/gcc.api
665
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/gcc.api
666
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/iso.api
617
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/posix.api/sys
667
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/posix.api/sys
618
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/posix.api
668
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/posix.api
619
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/posix1.api/sys
669
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/posix1.api/sys
Lines 624-629 Link Here
624
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/bsd_extn.api
674
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/bsd_extn.api
625
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/cpp.api
675
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/cpp.api
626
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/gcc.api
676
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/gcc.api
677
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/iso.api
627
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/posix.api
678
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/posix.api
628
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/posix1.api
679
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/posix1.api
629
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/svid3.api
680
@dirrm lib/TenDRA/%%TENDRA_PATH%%/lib/include/shared/svid3.api
(-)ports/lang/TenDRA/files/patch-install (-33 / +37 lines)
Lines 1-43 Link Here
1
Index: mk/base/tendra.install.mk
1
--- mk/base/tendra.install.mk.orig	Wed Aug 27 09:00:00 2003
2
===================================================================
2
+++ mk/base/tendra.install.mk	Thu Aug 28 21:14:55 2003
3
RCS file: /usr/home/stefan/tendra/cvsup/tendra/mk/base/tendra.install.mk,v
3
@@ -24,10 +24,6 @@
4
retrieving revision 1.19
5
diff -u -r1.19 tendra.install.mk
6
--- mk/base/tendra.install.mk	18 Aug 2003 04:35:26 -0000	1.19
7
+++ mk/base/tendra.install.mk	19 Aug 2003 14:23:00 -0000
8
@@ -21,7 +21,6 @@
9
 
4
 
10
 .if defined(API)
5
 .if defined(API)
11
 INSTALL_TARGETS+=	install-api
6
 INSTALL_TARGETS+=	install-api
12
-INSTALL_SUB+=		lib/include/${API}.api lib/include/shared/${API}.api
7
-INSTALL_SUB+=		lib/include/${API}.api lib/include/shared/${API}.api
8
-.if defined(API_SUBDIR)
9
-INSTALL_SUB+=		${API_SUBDIR:C/^/lib\/include\/${API}.api\//}
10
-.endif
13
 .endif
11
 .endif
14
 
12
 
15
 .if defined(INSTALL_ENV)
13
 .if defined(INSTALL_ENV)
16
@@ -70,14 +69,9 @@
14
@@ -102,27 +98,9 @@
17
 
15
 
18
 # lib/apis: our api files.
16
 # lib/apis: our api files.
19
 install-api:
17
 install-api:
20
-	for i in ${.OBJDIR}.api/*.h; do \
18
-.for i in ${API}.api shared/${API}.api
21
-		${BIN_INSTALL} $$i ${INSTALL_PREFIX}/lib/include/${API}.api; \
19
-	cd ${OBJ_PREFIX}/lib/apis/${i}; \
20
-	for i in *.h; do \
21
-		${BIN_CP} ${OBJ_PREFIX}/lib/apis/${i}/$$i \
22
-			${INSTALL_PREFIX}/lib/include/${i}/$$i; \
23
-		${BIN_CHMOD} ${ARGS_CHMOD_DATA} \
24
-			${INSTALL_PREFIX}/lib/include/${i}/$$i; \
22
-	done
25
-	done
23
-	for i in ${.OBJDIR:C/apis/apis\/shared/}.api/*.h; do \
26
-.endfor
24
-		${BIN_INSTALL} $$i ${INSTALL_PREFIX}/lib/include/shared/${API}.api; \
27
-.if defined (API_SUBDIR)
28
-.for i in ${API_SUBDIR}
29
-	cd ${.OBJDIR}.api/${i}; \
30
-	for i in *.h; do \
31
-		${BIN_CP} ${.OBJDIR}.api/${i}/$$i \
32
-			${INSTALL_PREFIX}/lib/include/${API}.api/${i}/$$i; \
33
-		${BIN_CHMOD} ${ARGS_CHMOD_DATA} \
34
-			${INSTALL_PREFIX}/lib/include/${API}.api/${i}/$$i; \
25
-	done
35
-	done
26
-	${BIN_INSTALL} ${.OBJDIR:C/apis/apis\/lib/}/${API}.tl \
36
-.endfor
27
-		${INSTALL_PREFIX}/lib
37
-.endif
28
+	env MAKEOBJDIR=${OBJ_DIR}.api INSTALL=${BIN_INSTALL} \
38
-
29
+		MKDIR=${BIN_MKDIR} ARGS_MKDIR=${ARGS_MKDIR} \
39
+	env MAKEOBJDIR=${OBJ_DIR}.api MKDIR="${BIN_MKDIR} ${ARGS_MKDIR}" \
40
+		CP=${BIN_CP} CHMOD="${BIN_CHMOD} ${ARGS_CHMOD_DATA}" \
30
+		INSTALL_PREFIX=${INSTALL_PREFIX} make install
41
+		INSTALL_PREFIX=${INSTALL_PREFIX} make install
31
 
42
 
32
 # lib/env: our environment files.
43
 # lib/apis/lib lib/apis/lib/diag: our tl files.
33
 install-env:
44
 install-tl:
34
Index: src/tools/tspec/makefile.c
45
--- src/tools/tspec/makefile.c.orig	Mon Aug 25 09:01:13 2003
35
===================================================================
46
+++ src/tools/tspec/makefile.c	Thu Aug 28 21:18:27 2003
36
RCS file: /usr/home/stefan/tendra/cvsup/tendra/src/tools/tspec/makefile.c,v
37
retrieving revision 1.3
38
diff -u -r1.3 makefile.c
39
--- src/tools/tspec/makefile.c	12 Dec 2002 05:54:55 -0000	1.3
40
+++ src/tools/tspec/makefile.c	10 Jun 2003 12:36:12 -0000
41
@@ -71,10 +71,10 @@
47
@@ -71,10 +71,10 @@
42
  */
48
  */
43
 
49
 
Lines 119-125 Link Here
119
 			int m;
125
 			int m;
120
 			char *a = i->api;
126
 			char *a = i->api;
121
 			if (strneq (a, "shared/", 7)) a += 7;
127
 			if (strneq (a, "shared/", 7)) a += 7;
122
@@ -192,7 +230,19 @@
128
@@ -192,7 +230,17 @@
123
 	
129
 	
124
     /* End of makefile */
130
     /* End of makefile */
125
     IGNORE fputs ("clean :\n\trm -f ${JFILES}\n\n", output);
131
     IGNORE fputs ("clean :\n\trm -f ${JFILES}\n\n", output);
Lines 128-141 Link Here
128
+
134
+
129
+    IGNORE fprintf (output, "install : \n"
135
+    IGNORE fprintf (output, "install : \n"
130
+					".for i in ${DIRS}\n"
136
+					".for i in ${DIRS}\n"
131
+					"\t${MKDIR} ${ARGS_MKDIR} ${INSTALL_PREFIX}/lib/include/${i}\n"
137
+					"\t${MKDIR} ${INSTALL_PREFIX}/lib/include/${i}\n"
132
+					".endfor\n"
138
+					".endfor\n"
133
+					".for i in ${HEADERS}\n"
139
+					".for i in ${HEADERS}\n"
134
+					"\t${INSTALL} ../${i} ${INSTALL_PREFIX}/lib/include/"
140
+					"\t${CP} ../${i} ${INSTALL_PREFIX}/lib/include/${i:H}\n"
135
+					"${i:H}\n"
141
+					"\t${CP} ../${i} ${INSTALL_PREFIX}/lib/include/${i:H}\n"
136
+					".endfor\n"
142
+					".endfor\n");
137
+					"\t${INSTALL} ../lib/%s/%s.tl ${INSTALL_PREFIX}/lib\n",
138
+					api, api);
139
+
143
+
140
     IGNORE fclose (output);
144
     IGNORE fclose (output);
141
     return;
145
     return;

Return to bug 62038