blob: 705c0063f8ca8ad6f6425e09951b86796535313e (
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
|
--- ./contrib/libgraph/Makefile-- Thu Dec 24 00:36:55 1998
+++ ./contrib/libgraph/Makefile Sun Aug 6 11:37:59 2006
@@ -1,17 +1,17 @@
# Makefile for the portable graphics library
# These options are overriden when called from ../Makefile
-CC=cc
+#CC=cc
OPTS=
-X11_INCLUDES=/usr/include
-X11_LIB=/usr/lib
-CPP=/lib/cpp -P
+X11_INCLUDES=${LOCALBASE}
+X11_LIB=${LOCALBASE}/lib
+CPP=/usr/bin/cpp -P
-BINDIR=/usr/local/bin
-LIBDIR=/usr/local/lib/caml-light
+BINDIR=${PREFIX}/bin
+LIBDIR=${PREFIX}/lib/caml-light
# Compilation options
-CFLAGS=$(OPTS) -I../../src/runtime -I$(X11_INCLUDES) -O
+CFLAGS+=$(OPTS) -I../../src/runtime -I$(X11_INCLUDES)
# Test to see whether ranlib exists on the machine
RANLIBTEST=test -f /usr/bin/ranlib -o -f /bin/ranlib
@@ -20,8 +20,8 @@
RANLIB=ranlib
# The Caml Light compilers
-CAMLC=camlc
-CAMLMKTOP=camlmktop
+CAMLC=${PREFIX}/bin/camlc
+CAMLMKTOP=${PREFIX}/bin/camlmktop
COMPFLAGS=-W -I ../libunix
OBJS=open.o draw.o fill.o color.o text.o \
|