summaryrefslogtreecommitdiffstats
path: root/contrib/global/gctags/Makefile.generic
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/global/gctags/Makefile.generic')
-rw-r--r--contrib/global/gctags/Makefile.generic15
1 files changed, 6 insertions, 9 deletions
diff --git a/contrib/global/gctags/Makefile.generic b/contrib/global/gctags/Makefile.generic
index 59c2172..6505c67 100644
--- a/contrib/global/gctags/Makefile.generic
+++ b/contrib/global/gctags/Makefile.generic
@@ -1,14 +1,11 @@
-# @(#)Makefile 29-Dec-96
-
PROG = gctags
-DEFS = -DGTAGS -DBUGFIX -DMODIFY -DYACC
+DEFS = -DGLOBAL -DYACC
CC = gcc
-#WARN = -Wall -Wparentheses -Wstrict-prototypes -Wmissing-prototypes
-CFLAGS = -O $(DEFS) -I../include
-LIBS = -ldb
-OBJS = C.o ctags.o fortran.o lisp.o print.o tree.o yacc.o assembler.o err.o
+CFLAGS = -O $(DEFS) -I../lib -I/usr/include/db
+LIBS = -L../lib -lutil -ldb
+OBJS = C.o assembler.o ctags.o fortran.o lisp.o print.o tree.o yacc.o
BINDIR = /usr/bin
-MANDIR = /usr/share/man
+MANDIR = /usr/man
all: $(PROG)
@@ -20,4 +17,4 @@ install:
cp $(PROG).1 $(MANDIR)/man1
chmod 644 $(MANDIR)/man1/$(PROG).1
clean:
- rm -f $(PROG) $(OBJS) GTAGS GRTAGS
+ rm -f $(PROG) $(OBJS)
OpenPOWER on IntegriCloud