blob: a8f5105921a19cd3b5c714eaa10f756b2ae03de0 (
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
|
$NetBSD: patch-ab,v 1.2 2012/03/24 13:31:58 drochner Exp $
--- Makerules.orig 2011-09-05 11:55:39.000000000 +0000
+++ Makerules
@@ -18,31 +18,8 @@ else
$(error unknown build setting: '$(build)')
endif
-ifeq "$(OS)" "Linux"
SYS_FREETYPE_INC := `pkg-config --cflags freetype2`
X11_LIBS := -lX11 -lXext
-endif
-
-ifeq "$(OS)" "FreeBSD"
-SYS_FREETYPE_INC := `pkg-config --cflags freetype2`
-LDFLAGS += -L/usr/local/lib
-X11_LIBS := -lX11 -lXext
-endif
-
-# Mac OS X build depends on some thirdparty libs
-ifeq "$(OS)" "Darwin"
-SYS_FREETYPE_INC := -I/usr/X11R6/include/freetype2
-CFLAGS += -I/usr/X11R6/include
-LDFLAGS += -L/usr/X11R6/lib
-X11_LIBS := -lX11 -lXext
-ifeq "$(arch)" "amd64"
-CFLAGS += -m64
-LDFLAGS += -m64
-else
-CFLAGS += -m32
-LDFLAGS += -m32
-endif
-endif
# The following section is an example of how to simply do cross-compilation
# using these Makefiles. It builds for a beagleboard running ARM linux,
|