head	1.4;
access;
symbols
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.1;
locks; strict;
comment	@# @;


1.4
date	2002.11.23.15.33.50;	author nork;	state dead;
branches;
next	1.3;

1.3
date	2002.11.20.13.24.40;	author ijliao;	state Exp;
branches;
next	1.2;

1.2
date	2002.01.26.10.12.56;	author ijliao;	state Exp;
branches;
next	1.1;

1.1
date	2001.12.30.18.52.17;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Update to 0.1.2

PR:		ports/45632
Submitted by:	Ports Fury
@
text
@--- Makefile.orig	Wed Aug 28 19:28:25 2002
+++ Makefile	Wed Nov 13 09:33:04 2002
@@@@ -16,24 +16,24 @@@@
 OPTION_CED = 1
 
 # i18n (internationalization)
-OPTION_I18N = 0
-PATH_INSTALL_LOCALE = \"/usr/local/share/locale\"
+OPTION_I18N = 1
+PATH_INSTALL_LOCALE = \"${PREFIX}/share/locale\"
 
 # path for "make install"; don't add a trailing "/"!
-PATH_INSTALL_BIN = /usr/local/bin
+PATH_INSTALL_BIN = ${PREFIX}/bin
 
 # put your favourite C compiler here; mine is "gcc"
-CC = gcc
+CC ?= gcc
 
 # compiler flags; "-O2" is the code-optimization level for gcc
 ifeq ($(CC), gcc)
-CFLAGS = -O2
+CFLAGS ?= -O2
 else
 CFLAGS =
 endif
 
 # libc library flags for multi-threading
-CFLAGS += -D_REENTRANT
+CFLAGS += -D_REENTRANT ${THREAD_CFLAGS} -I${LOCALBASE}/include
 
 
 # Part B. Don't change any of the following!
@@@@ -75,7 +75,7 @@@@
 
 # add GTK flags
 ifeq ($(OPTION_GRAPHICS), 1)
-CFLAGS += $(shell gtk-config --cflags)
+CFLAGS += $(shell ${GTKCONFIG} --cflags)
 endif
 
 # object files
@@@@ -89,20 +89,20 @@@@
 endif
 
 ifeq ($(CONFIG_THREADING), 2)
-PTHREAD_LIBS = -lpthread
+PTHREAD_LIBS = ${THREAD_LIBS}
 else
 PTHREAD_LIBS =
 endif
 
 ifeq ($(OPTION_GRAPHICS), 1)
-LCLC = $(shell gtk-config --libs)
+LCLC = $(shell ${GTKCONFIG} --libs)
 else
 ifeq ($(OPTION_NCURSES), 1)
 CLC = ncurses
 else
 CLC = curses
 endif
-LCLC = -l$(CLC)
+LCLC = -l$(CLC) -lintl -L${LOCALBASE}/lib
 endif
 
 ifeq ($(OPTION_GRAPHICS), 1)
@


1.3
log
@upgrade to 0.1.1

PR:		45455
Submitted by:	Ports Fury
@
text
@@


1.2
log
@upgrade to 0.0.6
@
text
@d1 4
a4 4
--- Makefile.orig	Sat Jan 26 18:10:22 2002
+++ Makefile	Sat Jan 26 18:11:38 2002
@@@@ -16,11 +16,11 @@@@
 CONFIG_CED = 1
d7 8
a14 8
-CONFIG_I18N = 0
-CONFIG_I18N_PATH = \"/usr/share/locale\"
+CONFIG_I18N = 1
+CONFIG_I18N_PATH = \"%%LOCALBASE%%/share/locale\"
 
 # path for "make install"; don't forget the trailing "/"!
-INSTALL_BINPREFIX = /usr/bin/
+INSTALL_BINPREFIX = %%PREFIX%%/bin/
d17 48
a64 7
 CC = gcc
@@@@ -145,7 +145,7 @@@@
 	@@echo "#define HAVE_MMAP 1" >> .config
 
 retawq: $(OBJS)
-	$(CC) $(OBJS) $(LCLT) $(LCLC) $(LCLM) -o retawq
+	$(CC) $(OBJS) $(LCLT) $(LCLC) $(LCLM) -o retawq ${LDFLAGS}
d66 1
a66 2
 stripsyms:
 	-strip --strip-unneeded retawq
@


1.1
log
@add retawq 0.0.5
An interactive, multi-threaded web browser for text terminals
@
text
@d1 2
a2 2
--- Makefile.orig	Wed Nov 28 23:24:02 2001
+++ Makefile	Mon Dec 31 02:39:44 2001
d16 1
a16 1
 # put your favourite C compiler here; mine is "gcc" ;-)
d18 2
a19 2
@@@@ -128,7 +128,7 @@@@
 	@@echo "#define CONFIG_DEBUG $(CONFIG_DEBUG)" >> .config
d22 2
a23 2
-	$(CC) $(OBJS) $(LCLT) $(LCLC) -o retawq
+	$(CC) $(OBJS) $(LCLT) $(LCLC) -o retawq ${LDFLAGS}
@

