1998-03-10 22:00:45 -05:00
|
|
|
--- Makefile.orig Thu Feb 5 17:21:13 1998
|
|
|
|
+++ Makefile Thu Mar 5 01:14:57 1998
|
1997-11-16 05:21:11 -05:00
|
|
|
@@ -1,5 +1,5 @@
|
|
|
|
-CHINESE=0
|
|
|
|
-TEDDIR=/usr/local/lib/Ted
|
|
|
|
+CHINESE=1
|
|
|
|
+TEDDIR=/usr/X11R6/lib/X11/ted
|
|
|
|
########## GCC/Linux ...... ############
|
|
|
|
CC=gcc
|
|
|
|
XINC=-I/usr/X11R6/include
|
1997-12-03 19:35:48 -05:00
|
|
|
@@ -31,19 +31,19 @@
|
|
|
|
#XINC=-I/usr/openwin/include
|
|
|
|
#LDFLAGS= -L/usr/openwin/lib -lsocket
|
|
|
|
#CC=gcc
|
|
|
|
-XINC=-I/usr/X11R6.3/include
|
|
|
|
-LDFLAGS= -L/usr/X11R6.3/lib -lsocket
|
|
|
|
-SUNKBD=-DSUNKBD
|
|
|
|
+#XINC=-I/usr/X11R6.3/include
|
|
|
|
+#LDFLAGS= -L/usr/X11R6.3/lib -lsocket
|
|
|
|
+#SUNKBD=-DSUNKBD
|
1997-11-16 05:21:11 -05:00
|
|
|
###########################
|
|
|
|
|
|
|
|
-CFLAGS = -O -DCHINESE=$(CHINESE) $(XINC) $(SUNKBD) -DTEDDIR=\"$(TEDDIR)\"
|
|
|
|
+CFLAGS += -DCHINESE=$(CHINESE) $(XINC) $(SUNKBD) -DTEDDIR=\"$(TEDDIR)\"
|
|
|
|
#CFLAGS = -g -DCHINESE=$(CHINESE) $(XINC) -DDEBUG $(SUNKBD) -DTEDDIR=\"$(TEDDIR)\"
|
|
|
|
#CFLAGS = -g -DCHINESE=$(CHINESE) $(XINC) $(SUNKBD) -DTEDDIR=\"$(TEDDIR)\"
|
|
|
|
|
|
|
|
OBJS = e.o x.o m.o f.o b.o edln.o xcp.o s.o u.o misc.o twin.o dir.o xkey.o \
|
|
|
|
- cwin.o filebrowse.o kwcomp.o
|
|
|
|
+ cwin.o filebrowse.o kwcomp.o cli_xcin.o
|
|
|
|
|
|
|
|
-all: ted ref ctags tedrc
|
1998-01-19 08:11:59 -05:00
|
|
|
+all: ted tedrc #ref ctags
|
1997-11-16 05:21:11 -05:00
|
|
|
ted: $(OBJS)
|
|
|
|
$(CC) $(OBJS) -o $@ $(LDFLAGS) -lX11
|
|
|
|
# $(CC) $(OBJS) -o $@ $(LDFLAGS) -lX11 -lefence
|
1998-03-10 22:00:45 -05:00
|
|
|
@@ -58,11 +58,16 @@
|
1997-11-16 05:21:11 -05:00
|
|
|
$(CC) $(CFLAGS) ctags.c -o $@
|
|
|
|
strip $@
|
|
|
|
install:
|
1998-01-24 10:14:30 -05:00
|
|
|
- cp ted ref ctags /usr/local/bin
|
|
|
|
+# cp ted ref ctags /usr/local/bin
|
1998-03-10 22:00:45 -05:00
|
|
|
+ install -c -s -o bin -g bin -m 0755 ted /usr/X11R6/bin
|
1997-11-16 05:21:11 -05:00
|
|
|
if [ ! -d $(TEDDIR) ]; then mkdir $(TEDDIR); fi
|
1998-03-10 22:00:45 -05:00
|
|
|
- cp tedrc tedrc.vi tedrc.grep ted.help tedrc.filevisit $(TEDDIR)
|
1997-11-16 05:21:11 -05:00
|
|
|
-cli_xcin.o:
|
|
|
|
- ln -s ../big5-pack/xcin/cli_xcin.o .
|
1998-03-10 22:00:45 -05:00
|
|
|
+# cp tedrc tedrc.vi tedrc.grep ted.help tedrc.filevisit $(TEDDIR)
|
|
|
|
+#cli_xcin.o:
|
|
|
|
+# ln -s ../big5-pack/xcin/cli_xcin.o .
|
1997-11-16 05:21:11 -05:00
|
|
|
+ install -c -o bin -g bin -m 0444 tedrc $(TEDDIR)
|
|
|
|
+ install -c -o bin -g bin -m 0444 tedrc.vi $(TEDDIR)
|
|
|
|
+ install -c -o bin -g bin -m 0444 tedrc.grep $(TEDDIR)
|
|
|
|
+ install -c -o bin -g bin -m 0444 ted.help $(TEDDIR)
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJS) ted core *~ *_
|
|
|
|
clb5:
|