openbsd-ports/mbone/nte/patches/patch-src_Makefile_template
wilfried 106f413f49 * respect CC/CFLAGS
* split patches into separate files
2001-03-17 17:21:41 +00:00

37 lines
2.0 KiB
Plaintext

$OpenBSD: patch-src_Makefile_template,v 1.1 2001/03/17 17:21:42 wilfried Exp $
--- src/Makefile.template.orig Fri May 28 18:11:08 1999
+++ src/Makefile.template Fri Mar 16 20:46:44 2001
@@ -1,8 +1,7 @@
-CC = gcc
-INCLUDES = -I/usr/X11R6/include -I../../tk-8.0/generic -I../../tcl-8.0/generic -I../../common
-CFLAGS = -Wall -Wno-implicit-int -Werror $(INCLUDES) -DPROTOTYPES -DHAVE_UNISTD_H -DDEFINED_ERRLIST -D_intel_
+INCLUDES = -I/usr/X11R6/include -I/usr/local/include/tcl8.0 -I/usr/local/include/tk8.0 -I/usr/local/include/tk8.0/generic -I/usr/local/include/common
+CFLAGS += -Wall -Wno-implicit-int -Werror $(INCLUDES) -DPROTOTYPES -DHAVE_UNISTD_H -DDEFINED_ERRLIST -D_intel_
LIB_DIR =
-LIBS = ../../tk-8.0/unix/libtk8.0.a ../../tcl-8.0/unix/libtcl8.0.a ../../common/libcommon.a -lm -L/usr/X11R6/lib -lX11 -ldl
+LIBS = -L/usr/local/lib -ltk80 -ltcl80 -lm -L/usr/X11R6/lib -lX11
OBJS = init.o text_pane.o typeface_fns.o ui_fns.o ui_init.o user_fns.o main.o\
tkAppInit.o tkUnixInit.o time.o network_setup.o jip.o byte_fns.o\
protocol.o network_write.o network_read.o ds_fns.o parse_packet.o ids.o \
@@ -115,15 +114,15 @@ www_ui.o: www_ui.c
$(CC) -c www_ui.c
help.ehtml: text2html ../src/help/help.html
- text2html < ../src/help/help.html > help.ehtml
+ ./text2html < ../src/help/help.html > help.ehtml
blocks.ehtml: text2html ../src/help/blocks.html
- text2html < ../src/help/blocks.html > blocks.ehtml
+ ./text2html < ../src/help/blocks.html > blocks.ehtml
bindings.ehtml: text2html ../src/help/bindings.html
- text2html < ../src/help/bindings.html > bindings.ehtml
+ ./text2html < ../src/help/bindings.html > bindings.ehtml
menus.ehtml: text2html ../src/help/menus.html
- text2html < ../src/help/menus.html > menus.ehtml
+ ./text2html < ../src/help/menus.html > menus.ehtml
xresources.ehtml: text2html ../src/help/xresources.html
- text2html < ../src/help/xresources.html > xresources.ehtml
+ ./text2html < ../src/help/xresources.html > xresources.ehtml
.c.o: ../src/$*.c
$(CC) $(CFLAGS) -c ../src/$*.c