Remove extra cruft. The previouos commit silently removed source ifles no longer required as of v2.2.1 as well.
This commit is contained in:
parent
7cb55de6f5
commit
de0e4f242e
@ -1,33 +0,0 @@
|
||||
SUBDIR= lib global gtags gctags btreeop htags systags
|
||||
BINDIR= /usr/bin # EDIT THIS
|
||||
MANDIR= /usr/man # EDIT THIS
|
||||
|
||||
all:
|
||||
@for d in $(SUBDIR); do \
|
||||
set -e; (cd $$d; echo '===>' $$d; make $(MFLAGS)) ;\
|
||||
done
|
||||
install:
|
||||
@for d in $(SUBDIR); do \
|
||||
set -e; (cd $$d; echo '===>' $$d; make $(MFLAGS) BINDIR=$(BINDIR) MANDIR=$(MANDIR) install) ;\
|
||||
done
|
||||
gen:
|
||||
@if [ ! -f Makefile.generic ]; then \
|
||||
echo "Error: generic makefile not found."; exit 1; \
|
||||
fi
|
||||
mv Makefile Makefile.bsd && mv Makefile.generic Makefile
|
||||
for d in $(SUBDIR); do \
|
||||
(cd $$d && mv Makefile Makefile.bsd && mv Makefile.generic Makefile) ;\
|
||||
done
|
||||
bsd:
|
||||
@if [ ! -f Makefile.bsd ]; then \
|
||||
echo "Error: BSD style makefile not found."; exit 1; \
|
||||
fi
|
||||
mv Makefile Makefile.generic; mv Makefile.bsd Makefile
|
||||
for d in $(SUBDIR); do \
|
||||
(cd $$d && mv Makefile Makefile.generic && mv Makefile.bsd Makefile) ;\
|
||||
done
|
||||
clean:
|
||||
@for d in $(SUBDIR); do \
|
||||
(cd $$d; echo '===>' $$d; make $(MFLAGS) clean) ;\
|
||||
done
|
||||
|
@ -1,20 +0,0 @@
|
||||
PROG = btreeop
|
||||
CC = gcc
|
||||
LIBS = -L../lib -lutil -ldb
|
||||
CFLAGS = -O -I../lib -I/usr/include/db
|
||||
DEPLIBS= ../lib/libutil.a
|
||||
OBJS = btreeop.o
|
||||
BINDIR = /usr/bin
|
||||
MANDIR = /usr/man
|
||||
|
||||
all: $(PROG)
|
||||
|
||||
$(PROG): $(OBJS) $(DEPLIBS)
|
||||
$(CC) -o $(PROG) $(OBJS) $(LIBS)
|
||||
install:
|
||||
cp $(PROG) $(BINDIR)
|
||||
chmod 755 $(BINDIR)/$(PROG)
|
||||
cp $(PROG).1 $(MANDIR)/man1
|
||||
chmod 644 $(MANDIR)/man1/$(PROG).1
|
||||
clean:
|
||||
rm -f $(PROG) $(OBJS)
|
@ -1,20 +0,0 @@
|
||||
PROG = gctags
|
||||
DEFS = -DGLOBAL -DYACC
|
||||
CC = gcc
|
||||
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/man
|
||||
|
||||
all: $(PROG)
|
||||
|
||||
$(PROG): $(OBJS)
|
||||
$(CC) -o $(PROG) $(OBJS) $(LIBS)
|
||||
install:
|
||||
cp $(PROG) $(BINDIR)
|
||||
chmod 755 $(BINDIR)/$(PROG)
|
||||
cp $(PROG).1 $(MANDIR)/man1
|
||||
chmod 644 $(MANDIR)/man1/$(PROG).1
|
||||
clean:
|
||||
rm -f $(PROG) $(OBJS)
|
@ -1,20 +0,0 @@
|
||||
PROG = global
|
||||
CC = gcc
|
||||
LIBS = -L../lib -lutil -ldb
|
||||
CFLAGS = -O -I../lib -I/usr/include/db
|
||||
DEPLIBS= ../lib/libutil.a
|
||||
OBJS = global.o
|
||||
BINDIR = /usr/bin
|
||||
MANDIR = /usr/man
|
||||
|
||||
all: $(PROG)
|
||||
|
||||
$(PROG): $(OBJS) $(DEPLIBS)
|
||||
$(CC) -o $(PROG) $(OBJS) $(LIBS)
|
||||
install:
|
||||
cp $(PROG) $(BINDIR)
|
||||
chmod 755 $(BINDIR)/$(PROG)
|
||||
cp $(PROG).1 $(MANDIR)/man1
|
||||
chmod 644 $(MANDIR)/man1/$(PROG).1
|
||||
clean:
|
||||
rm -f $(PROG) $(OBJS)
|
@ -1,20 +0,0 @@
|
||||
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/man
|
||||
|
||||
all: $(PROG)
|
||||
|
||||
$(PROG): $(OBJS) $(DEPLIBS)
|
||||
$(CC) -o $(PROG) $(OBJS) $(LIBS)
|
||||
install:
|
||||
cp $(PROG) $(BINDIR)
|
||||
chmod 755 $(BINDIR)/$(PROG)
|
||||
cp $(PROG).1 $(MANDIR)/man1
|
||||
chmod 644 $(MANDIR)/man1/$(PROG).1
|
||||
clean:
|
||||
rm -f $(PROG) $(OBJS)
|
@ -1,11 +0,0 @@
|
||||
PROG = htags
|
||||
BINDIR = /usr/bin
|
||||
MANDIR = /usr/man
|
||||
|
||||
all:
|
||||
install:
|
||||
cp $(PROG).pl $(BINDIR)/$(PROG)
|
||||
chmod 755 $(BINDIR)/$(PROG)
|
||||
cp $(PROG).1 $(MANDIR)/man1
|
||||
chmod 644 $(MANDIR)/man1/$(PROG).1
|
||||
clean:
|
@ -1,14 +0,0 @@
|
||||
LIB = libutil.a
|
||||
CC = gcc
|
||||
AR = ar
|
||||
CFLAGS = -O -I../lib -I/usr/include/db
|
||||
OBJS = tag.o tab.o strop.o mgets.o lookup.o gtagsopen.o getdbpath.o \
|
||||
find.o dbname.o dbio.o test.o makepath.o locatestring.o
|
||||
all: $(LIB)
|
||||
|
||||
$(LIB): $(OBJS)
|
||||
$(AR) cq $(LIB) $(OBJS)
|
||||
install:
|
||||
@echo -n
|
||||
clean:
|
||||
rm -f $(LIB) $(OBJS)
|
@ -1,8 +0,0 @@
|
||||
PROG = systags
|
||||
BINDIR = /usr/bin
|
||||
|
||||
all:
|
||||
install:
|
||||
cp $(PROG).sh $(BINDIR)/$(PROG)
|
||||
chmod 755 $(BINDIR)/$(PROG)
|
||||
clean:
|
Loading…
Reference in New Issue
Block a user