mirror of
https://github.com/vbatts/bvi.git
synced 2025-08-03 08:00:27 +00:00
bvi-1.3.0.src.tar.gz
This commit is contained in:
commit
0220b756fa
80 changed files with 17347 additions and 0 deletions
91
Makefile.in
Normal file
91
Makefile.in
Normal file
|
@ -0,0 +1,91 @@
|
|||
# bvi - Binary Visual Editor Makefile
|
||||
#
|
||||
# This is the Makefile for bvi - binary visual editor. If it has the name
|
||||
# "Makefile.in" then it is a template for a Makefile; to generate the actual
|
||||
# Makefile, run "./configure", which is a configuration script generated by the
|
||||
# "autoconf" program (constructs like "@foo@" will get replaced in the
|
||||
# actual Makefile.
|
||||
#
|
||||
# Copyright (c) 1996-2000 by Gerhard Buergmann
|
||||
# Gerhard.Buergmann@altavista.net
|
||||
#
|
||||
# 1996-01-18 V 1.0.0
|
||||
# 1999-01-15 V 1.1.0
|
||||
# 1999-03-03 V 1.1.1
|
||||
# 1999-10-22 V 1.2.0
|
||||
# 2000-05-31 V 1.3.0 beta
|
||||
# 2000-10-01 V 1.3.0 final
|
||||
#
|
||||
###############################################
|
||||
|
||||
srcdir = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = $(DESTDIR)@bindir@
|
||||
mandir = $(DESTDIR)@mandir@
|
||||
datadir = $(DESTDIR)@datadir@
|
||||
|
||||
man1dir = $(mandir)/man1
|
||||
|
||||
OBJS = bvi.o comm.o set.o re.o io.o edit.o recomp.o
|
||||
HEADER = bvi.h set.h
|
||||
BMOBJ = bmore.o bm_unix.o recomp.o
|
||||
CC = @CC@
|
||||
CFLAGS = @CFLAGS@ @CPPFLAGS@
|
||||
DEFS = @DEFS@
|
||||
LDFLAGS= @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
SHELL = /bin/sh
|
||||
|
||||
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
|
||||
|
||||
all: bvi bmore
|
||||
|
||||
bvi: $(OBJS)
|
||||
$(CC) $(LDFLAGS) -o bvi $(OBJS) $(LIBS)
|
||||
|
||||
bmore: $(BMOBJ)
|
||||
$(CC) $(LDFLAGS) -o bmore $(BMOBJ) $(LIBS)
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) $(DEFS) -c $<
|
||||
|
||||
bmore.o: bmore.c
|
||||
$(CC) $(CFLAGS) $(DEFS) -DHELPFILE=\"$(datadir)/bmore.help\" -c $<
|
||||
|
||||
|
||||
install: all installdirs
|
||||
@echo "Installing bvi"
|
||||
@$(INSTALL_DATA) bvi.1 bmore.1 $(man1dir)
|
||||
@$(INSTALL_PROGRAM) -s bvi $(bindir)
|
||||
@$(INSTALL_PROGRAM) -s bmore $(bindir)
|
||||
@$(INSTALL_DATA) bmore.help $(datadir)
|
||||
@if [ -f $(bindir)/bview ]; then rm $(bindir)/bview; fi
|
||||
@if [ -f $(bindir)/bvedit ]; then rm $(bindir)/bvedit; fi
|
||||
@ln $(bindir)/bvi $(bindir)/bview
|
||||
@ln $(bindir)/bvi $(bindir)/bvedit
|
||||
|
||||
installdirs:
|
||||
$(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(datadir) $(man1dir)
|
||||
|
||||
uninstall:
|
||||
@echo "Uninstalling bvi"
|
||||
@if [ -f $(bindir)/bview ]; then rm $(bindir)/bview; fi
|
||||
@if [ -f $(bindir)/bvedit ]; then rm $(bindir)/bvedit; fi
|
||||
@if [ -f $(bindir)/bvi ]; then rm $(bindir)/bvi; fi
|
||||
@if [ -f $(bindir)/bmore ]; then rm $(bindir)/bmore; fi
|
||||
@if [ -f $(datadir)/bmore.help ]; then rm $(datadir)/bmore.help; fi
|
||||
@if [ -f $(man1dir)/bvi.1 ]; then rm $(man1dir)/bvi.1; fi
|
||||
@if [ -f $(man1dir)/bmore.1 ]; then rm $(man1dir)/bmore.1; fi
|
||||
|
||||
clean:
|
||||
rm -f core *.o bvi bmore a.out
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile config.cache config.h config.log config.status
|
Loading…
Add table
Add a link
Reference in a new issue