head	1.3;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.1.1.1
	RELEASE_5_2_0:1.1.1.1
	RELEASE_4_9_0:1.1.1.1
	RELEASE_5_1_0:1.1.1.1
	RELEASE_4_8_0:1.1.1.1
	RELEASE_5_0_0:1.1.1.1
	RELEASE_4_7_0:1.1.1.1
	RELEASE_4_6_2:1.1.1.1
	RELEASE_4_6_1:1.1.1.1
	RELEASE_4_6_0:1.1.1.1
	RELEASE_5_0_DP1:1.1.1.1
	RELEASE_4_5_0:1.1.1.1
	RELEASE_4_4_0:1.1.1.1
	RELEASE_4_3_0:1.1.1.1
	RELEASE_4_2_0:1.1.1.1
	RELEASE_4_1_1:1.1.1.1
	RELEASE_4_1_0:1.1.1.1
	RELEASE_3_5_0:1.1.1.1
	RELEASE_4_0_0:1.1.1.1
	RELEASE_3_4_0:1.1.1.1
	RELEASE_3_3_0:1.1.1.1
	RELEASE_3_2_0:1.1.1.1
	RELEASE_3_1_0:1.1.1.1
	RELEASE_2_2_8:1.1.1.1
	RELEASE_3_0_0:1.1.1.1
	v0_74:1.1.1.1
	INRIA:1.1.1;
locks; strict;
comment	@# @;


1.3
date	2006.08.06.10.53.54;	author jkoshy;	state Exp;
branches;
next	1.2;

1.2
date	2004.03.06.14.54.05;	author jkoshy;	state Exp;
branches;
next	1.1;

1.1
date	98.07.28.06.25.42;	author jkoshy;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.07.28.06.25.42;	author jkoshy;	state Exp;
branches;
next	;


desc
@@


1.3
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
@--- src/Makefile.orig	Wed Mar  3 16:25:57 1999
+++ src/Makefile	Sat Aug  5 09:56:37 2006
@@@@ -2,14 +2,14 @@@@
 
 # Which C compiler to use.
 # Performance is often improved if you use gcc 2.x instead of cc.
-CC=gcc
+#CC=gcc
 
 # Additional options to $(CC).
 # If you are using gcc, add -fno-defer-pop.
 # This option circumvents a gcc bug on some platforms (680x0, 80386).
 # If you are using Linux with libc6 (RedHat 5, Debian 2), add -D__FAVOR_BSD
 # This option avoids signal-related problems.
-OPTS=-fno-defer-pop -D__FAVOR_BSD
+OPTS=-fno-defer-pop -D__FAVOR_BSD ${CFLAGS}
 
 # Extra libraries that have to be linked with the runtime system.
 # The math library "-lm" is linked by default.
@@@@ -26,19 +26,19 @@@@
 # not all Unix C preprocessors define it.
 # If your cpp is too fussy, make tools/clprepro and use this:
 # CPP=../../src/tools/clprepro -Dunix
-CPP=/lib/cpp -P -traditional -Dunix
+CPP=/usr/bin/cpp -P -traditional -Dunix ${CPPFLAGS}
 
 # The directory where public executables will be installed
-BINDIR=/usr/local/bin
+BINDIR=${PREFIX}/bin
 
 # The directory where the Caml Light standard library will be installed
-LIBDIR=/usr/local/lib/caml-light
+LIBDIR=${PREFIX}/lib/caml-light
 
 # The manual section where the manual pages will be installed
 MANEXT=1
 
 # The directory where the manual pages will be installed
-MANDIR=/usr/local/man/man$(MANEXT)
+MANDIR=${PREFIX}/man/man$(MANEXT)
 
 # Some "make"s need this to ensure that they call the Bourne shell,
 # not the C shell. Seems harmless on most other "make"s.
@@@@ -120,8 +120,8 @@@@
 
 # Install the Caml Light system
 install:
-	if test -d $(BINDIR); then : ; else mkdir $(BINDIR); fi
-	if test -d $(LIBDIR); then : ; else mkdir $(LIBDIR); fi
+	if test -d $(BINDIR); then : ; else mkdir -p $(BINDIR); fi
+	if test -d $(LIBDIR); then : ; else mkdir -p $(LIBDIR); fi
 	cd runtime; make BINDIR=$(BINDIR) LIBDIR=$(LIBDIR) install
 	cd launch; make BINDIR=$(BINDIR) LIBDIR=$(LIBDIR) install
 	cd lib; make BINDIR=$(BINDIR) LIBDIR=$(LIBDIR) install
@


1.2
log
@Upgrade to v0.75.  Unbreak for non-i386 architectures.
@
text
@d1 19
a19 2
--- src/Makefile.orig	Wed Mar  3 18:55:57 1999
+++ src/Makefile	Sat Mar  6 19:51:31 2004
d25 1
a25 1
+CPP=/usr/bin/cpp -P -traditional -Dunix
@


1.1
log
@Initial revision
@
text
@d1 3
a3 3
--- src/Makefile.orig	Thu Apr 24 20:21:03 1997
+++ src/Makefile	Tue Jul 28 08:30:13 1998
@@@@ -24,19 +24,19 @@@@
d7 2
a8 2
-CPP=/lib/cpp -P -Dunix
+CPP=/usr/bin/cpp -P -Dunix
d27 1
a27 1
@@@@ -118,8 +118,8 @@@@
@


1.1.1.1
log
@A light weight implementation of CAML, a strongly typed functional
language belonging to the ML family.
@
text
@@
