1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
# $Id: Makefile.in,v 1.9 2019/01/05 01:24:52 harding Exp $
#
# @configure_input@
VER= 1.4g
SSH= @path_ssh@
prefix= @prefix@
exec_prefix= @exec_prefix@
bindir= @bindir@
datadir= @datadir@
datarootdir= @datarootdir@
mandir= @mandir@
SRCDIR= @srcdir@
VPATH= @srcdir@
CC= @CC@
CFLAGS= @CFLAGS@ -DVER=\"$(VER)\" -DSSH_PATH=\"$(SSH)\"
CPPFLAGS= @CPPFLAGS@
OFILES= autossh.o
LD= @LD@
LDFLAGS= @LDFLAGS@
LIBS= @LIBS@
TARGET= autossh
all: $(TARGET)
$(TARGET): $(OFILES)
$(CC) $(CPPFLAGS) $(LDFLAGS) -o $(TARGET) $(OFILES) $(LIBS)
clean:
- /bin/rm -f *.o *.a *.core *~
allclean: clean
- /bin/rm -f $(TARGET)
distclean: allclean
- /bin/rm -f config.log config.cache config.status config.h
- /bin/rm -rf autom4te.cache
- /bin/rm -f Makefile
install: $(TARGET)
mkdir -p -m 755 $(DESTDIR)$(bindir)
mkdir -p -m 755 $(DESTDIR)$(prefix)/share/doc/autossh
mkdir -p -m 755 $(DESTDIR)$(datadir)/examples/autossh
mkdir -p -m 755 $(DESTDIR)$(mandir)/man1
cp $(TARGET) $(DESTDIR)$(bindir)
cp CHANGES README $(DESTDIR)$(datadir)/doc/autossh
cp autossh.host $(DESTDIR)$(datadir)/examples/autossh
cp rscreen $(DESTDIR)$(datadir)/examples/autossh
cp autossh.1 $(DESTDIR)$(mandir)/man1
chmod 755 $(DESTDIR)$(bindir)/$(TARGET)
chmod 644 $(DESTDIR)$(datadir)/doc/autossh/CHANGES
chmod 644 $(DESTDIR)$(datadir)/doc/autossh/README
chmod 644 $(DESTDIR)$(datadir)/examples/autossh/autossh.host
chmod 644 $(DESTDIR)$(datadir)/examples/autossh/rscreen
chmod 644 $(DESTDIR)$(mandir)/man1/autossh.1
|