summaryrefslogtreecommitdiff
path: root/lang/gcc-objc/Makefile
blob: a092fe24e9c3aaaef1f6f31019320e03fbe5c8b9 (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
61
62
# New ports collection makefile for:	gnustep-objc
# Date created:		28.Mar.2003
# Whom:			dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTEPOCH?=		2
CATEGORIES=		lang
PKGNAMESUFFIX=		-objc

MAINTAINER=	dinoex@FreeBSD.org
COMMENT=	GNU Compiler Collection ${COMMENT2} with threads and shared libs

WITHOUT_JAVA=		yes

.if !defined(GNUSTEP_WITH_GCC32) && !defined(GNUSTEP_WITH_GCC33) && !defined(GNUSTEP_WITH_GCC34)
.if !defined(GNUSTEP_WITH_GCC40) && !defined(GNUSTEP_WITH_GCC41) && !defined(GNUSTEP_WITH_GCC42)
GNUSTEP_WITH_GCC34=	yes
.endif
.endif

.if defined(GNUSTEP_WITH_GCC32)
MASTERDIR?=		${.CURDIR}/../gcc32
CONFLICTS?=		gcc-3.2*
COMMENT2=		3.2.x
WANT_SHAREDLIBS=	yes
WANT_THREADS_SUPPORT=	yes
.endif
.if defined(GNUSTEP_WITH_GCC33)
MASTERDIR?=		${.CURDIR}/../gcc33
CONFLICTS?=		gcc-3.3*
COMMENT2=		3.3.x
.endif
.if defined(GNUSTEP_WITH_GCC34)
MASTERDIR?=		${.CURDIR}/../gcc34
CONFLICTS?=		gcc-3.4*
COMMENT2=		3.4.x
.endif
.if defined(GNUSTEP_WITH_GCC40)
MASTERDIR?=		${.CURDIR}/../gcc40
CONFLICTS?=		gcc-4.0*
COMMENT2=		4.0.x
.endif
.if defined(GNUSTEP_WITH_GCC41)
MASTERDIR?=		${.CURDIR}/../gcc41
CONFLICTS?=		gcc-4.1*
COMMENT2=		4.1.x
.endif
.if defined(GNUSTEP_WITH_GCC42)
MASTERDIR?=		${.CURDIR}/../gcc42
CONFLICTS?=		gcc-4.2*
COMMENT2=		4.2.x
.endif

.if exists(${.CURDIR}/Makefile.local)
.include "${.CURDIR}/Makefile.local"
.endif

.include "${MASTERDIR}/Makefile"

PORTEPOCH=		2