blob: 16801a5c093e8c40df0066f99f1ba561303cfbf0 (
plain) (
blame)
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
|
$FreeBSD$
--- aimk.orig
+++ aimk
@@ -228,7 +228,7 @@
if ( $?SGE_INPUT_CFLAGS ) then
set INP_CFLAGS = "$SGE_INPUT_CFLAGS"
else
- set INP_CFLAGS = ""
+ set INP_CFLAGS = "%%CFLAGS%%"
endif
# Default build targets for which we have seperate make files
@@ -1085,24 +1085,24 @@
set OFLAG = "-O"
endif
set ARFLAGS = rcv
- set CC = gcc
- set CXX = g++
+ set CC = %%CC%%
+ set CXX = %%CXX%%
set DLLIB = ""
set DEPEND_FLAGS = "$CFLAGS $XMTINCD"
set PTHRDSFLAGS = "-D_REENTRANT -D__USE_REENTRANT"
- set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I/usr/X11R6/include"
+ set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 -DNeedFunctionPrototypes -DNeedVarargsPrototypes"
set NOERR_CFLAG = "-Wno-error"
set LFLAGS = "$DEBUG_FLAG $LFLAGS -export-dynamic"
- set LIBS = "$LIBS -lkvm"
+ set LIBS = "$LIBS -lkvm -lutil"
set SHAREDLD = $CC
set SHARED_CFLAGS = "-fPIC"
set SHARED_LFLAGS = "$SHARED_LFLAGS -L. -shared -export-dynamic"
set AUTHLIBS = "-lcrypt -lpam"
set XMTDEF = ""
- set XINCD = "$XMTINCD $XINCD -I/usr/X11/include"
+ set XINCD = "$XMTINCD $XINCD -I${LOCALBASE}/include"
set XCFLAGS = "-Wno-strict-prototypes -Wno-error $XMTDEF $XINCD"
- set XLIBD = "-L/usr/X11R6/lib"
+ set XLIBD = "-L${LOCALBASE}/lib"
set XLFLAGS = "$XLIBD"
set XLIBS = " -Xlinker -lXm -Xlinker -Bdynamic -lXpm -lXt -lXext -lX11 -lSM -lICE -lXp"
set RM = "rm -f"
@@ -1795,6 +1795,7 @@
if ("$JAVA_ARCH" != "") then
set CORE_INCLUDE = "$CORE_INCLUDE -I${JAVA_HOME}/${JAVA_INCL}/${JAVA_ARCH}"
switch ($buildarch)
+ case fbsd-i386:
case lx24-x86:
case ulx24-x86:
case lx26-x86:
@@ -1812,6 +1813,7 @@
case usol-sparc:
set JAVA_LIB_ARCH = sparc
breaksw
+ case fbsd-amd64:
case lx24-amd64:
case ulx24-amd64:
case lx26-amd64:
|