head	1.3;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2011.12.31.08.10.20;	author wen;	state Exp;
branches;
next	1.2;

1.2
date	2009.06.18.09.56.54;	author itetcu;	state Exp;
branches;
next	1.1;

1.1
date	2008.08.25.21.11.18;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.3
log
@- respect CC/CFLAGS, now build with clang

PR:		ports/161943
Submitted by:	Nali Toja <nalitoja@@gmail.com>
@
text
@--- Makefile.orig	2011-12-31 14:41:27.000000000 +0800
+++ Makefile	2011-12-31 14:43:38.000000000 +0800
@@@@ -1,5 +1,5 @@@@
-UCCDIR = /usr/local/lib/ucc
-export UCCDIR
+UCCDIR = ${PREFIX}
+#export UCCDIR
 
 all:
 	make -C driver
@@@@ -10,11 +10,11 @@@@
 	make -C ucl clean
 	
 install:
-	mkdir -p $(UCCDIR)
-	cp driver/ucc $(UCCDIR)
-	cp ucl/ucl $(UCCDIR)
-	cp ucl/assert.o $(UCCDIR)
-	cp -r ucl/linux/include $(UCCDIR)
+	mkdir -p $(UCCDIR)/include/ucc
+	cp driver/ucc $(UCCDIR)/bin
+	cp ucl/ucl $(UCCDIR)/bin
+	cp ucl/assert.o $(UCCDIR)/lib
+	cp ucl/linux/include/* $(UCCDIR)/include/ucc/
 
 test:
 	make -C ucl test
@


1.2
log
@Fix install with custom PREFIX.

Submitted by:	maintainer
Reported by:	QATty
@
text
@d1 3
a3 3
--- Makefile.orig	2008-05-14 11:13:02.000000000 +0800
+++ Makefile	2008-08-15 13:25:35.000000000 +0800
@@@@ -1,21 +1,21 @@@@
d10 3
a12 10
-	make -C driver
-	make -C ucl
+	gmake -C driver
+	gmake -C ucl
 
 clean:
-	make -C driver clean
-	make -C ucl clean
+	gmake -C driver clean
+	gmake -C ucl clean
d27 1
a27 3
-	make -C ucl test
+	gmake -C ucl test
 
@


1.1
log
@Ucc is a C compiler which implements the ANSI C89
standard with a few extensions. Ucc is released
under BSD license.

Ucc is specificaly designed for personal research
and assist the undergraduate or graduate in compiler
learning. We hope that Ucc will be a seedbed for new
ideas and world-class optimizing techniques.

Ucc's design and development goals is clear code
structure,upstanding extensibility,retargetable and
excellent optimization.

WWW:   http://ucc.sf.net

PR:		ports/126551
Submitted by:	Wen Heping <wenheping at gmail.com>
@
text
@d6 1
a6 1
+UCCDIR = /usr/local
@

