summaryrefslogtreecommitdiffstats
path: root/contrib/global/gtags/Makefile.generic
diff options
context:
space:
mode:
authorcwt <cwt@FreeBSD.org>1997-12-15 23:08:46 +0000
committercwt <cwt@FreeBSD.org>1997-12-15 23:08:46 +0000
commitb1200e5a86469f83f9487d32847b49df6f6e8d81 (patch)
tree84ffbd5bfaa52e29af60dccffd70e807e7110a91 /contrib/global/gtags/Makefile.generic
parentd9973ba95ba5804ff9b4d3b5295bc5126726e474 (diff)
parent2d4696c8a0217d673b65b4f308e71d6ae8f5ebc6 (diff)
downloadFreeBSD-src-b1200e5a86469f83f9487d32847b49df6f6e8d81.zip
FreeBSD-src-b1200e5a86469f83f9487d32847b49df6f6e8d81.tar.gz
This commit was generated by cvs2svn to compensate for changes in r31750,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/global/gtags/Makefile.generic')
-rw-r--r--contrib/global/gtags/Makefile.generic17
1 files changed, 12 insertions, 5 deletions
diff --git a/contrib/global/gtags/Makefile.generic b/contrib/global/gtags/Makefile.generic
index 61a5d89..415d30f 100644
--- a/contrib/global/gtags/Makefile.generic
+++ b/contrib/global/gtags/Makefile.generic
@@ -1,13 +1,20 @@
-# @(#)Makefile 29-Dec-96
-
PROG = gtags
+CC = gcc
+LIBS = -L../lib -lutil -ldb
+CFLAGS = -O -I../lib -I/usr/include/db
+DEPLIBS= ../lib/libutil.a
+OBJS = gtags.o
BINDIR = /usr/bin
-MANDIR = /usr/share/man
+MANDIR = /usr/man
+
+all: $(PROG)
-all:
+$(PROG): $(OBJS) $(DEPLIBS)
+ $(CC) -o $(PROG) $(OBJS) $(LIBS)
install:
- cp $(PROG).pl $(BINDIR)/$(PROG)
+ cp $(PROG) $(BINDIR)
chmod 755 $(BINDIR)/$(PROG)
cp $(PROG).1 $(MANDIR)/man1
chmod 644 $(MANDIR)/man1/$(PROG).1
clean:
+ rm -f $(PROG) $(OBJS)
OpenPOWER on IntegriCloud