head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1;
locks; strict;
comment	@# @;


1.1
date	2006.08.06.10.53.54;	author jkoshy;	state Exp;
branches;
next	;


desc
@@


1.1
log
@- Honor CC, CFLAGS etc.				[1]
- Use BSD_INSTALL_* macros to install files.	[1]
- Make the port PREFIX clean.

PR:		ports/101398	[1]
Submitted by:	Stanislav Sedov <ssedov@@mbsd.msk.ru>
@
text
@--- ./contrib/debugger/Makefile--	Thu Dec 24 00:36:56 1998
+++ ./contrib/debugger/Makefile	Sun Aug  6 11:38:17 2006
@@@@ -1,19 +1,19 @@@@
 # Makefile for the Caml Light debugger
 
 # These options are overriden when called from ../Makefile
-CC=cc
+#CC=cc
 OPTS=
-LIBDIR=/usr/local/lib/caml-light
-CPP=/lib/cpp -P
+LIBDIR=${PREFIX}/lib/caml-light
+CPP=/usr/bin/cpp -P
 
 # Compilation options
-CAMLC=camlc
-CAMLLEX=camllex
-CAMLYACC=camlyacc
+CAMLC=${PREFIX}/bin/camlc
+CAMLLEX=${PREFIX}/bin/camllex
+CAMLYACC=${PREFIX}/bin/camlyacc
 INCLUDES=-I ../libunix -I ../../src/compiler -I ../../src/linker -I ../../src/toplevel
 COMPFLAGS=-W $(INCLUDES)
 LINKFLAGS=$(INCLUDES)
-CFLAGS=$(OPTS) -O -I../../src/runtime
+CFLAGS+=$(OPTS) -I../../src/runtime
 
 EXTERNOBJS = \
 	config.zo globals.zo misc.zo interntl.zo \
@
