| 1 |
prefix = @prefix@ |
| 2 |
exec_prefix = @exec_prefix@ |
| 3 |
bindir = @bindir@ |
| 4 |
libdir = @libdir@ |
| 5 |
includedir = @includedir@ |
| 6 |
INSTALL = @INSTALL@ |
| 7 |
INSTALL_PROGRAM = @INSTALL@ -m 755 |
| 8 |
INSTALL_DATA = @INSTALL@ -m 644 |
| 9 |
SHELL = @SHELL@ |
| 10 |
CXX = @CXX@ |
| 11 |
LIBTOOL = @LIBTOOL@ |
| 12 |
CXXFLAGS = @CXXFLAGS@ |
| 13 |
CPPFLAGS = @CPPFLAGS@ |
| 14 |
LDFLAGS = @LDFLAGS@ |
| 15 |
LIBS = @LIBS@ |
| 16 |
COMPILE = $(CXX) $(CPPFLAGS) $(CXXFLAGS) -I. |
| 17 |
LINK = $(CXX) $(LDFLAGS) |
| 18 |
|
| 19 |
srcdir = @srcdir@ |
| 20 |
VPATH = @srcdir@ |
| 21 |
.PATH: @srcdir@ |
| 22 |
|
| 23 |
top_builddir = .. |
| 24 |
basedir = .. |
| 25 |
thisdir = src |
| 26 |
|
| 27 |
.SUFFIXES: .lo |
| 28 |
|
| 29 |
#------------------------------------------------------------------------- |
| 30 |
# inference rules |
| 31 |
.C.lo: |
| 32 |
$(LIBTOOL) --mode=compile $(COMPILE) -c $< |
| 33 |
|
| 34 |
#------------------------------------------------------------------------- |
| 35 |
|
| 36 |
all: allbin |
| 37 |
|
| 38 |
libptytty_objects = ptytty.lo proxy.lo logging.lo fdpass.lo c-api.lo |
| 39 |
|
| 40 |
libptytty.la: $(libptytty_objects) |
| 41 |
$(LIBTOOL) --mode=link $(LINK) -rpath $(libdir) -o $@ $(libptytty_objects) |
| 42 |
|
| 43 |
#------------------------------------------------------------------------- |
| 44 |
|
| 45 |
tags: *.[Ch] |
| 46 |
ctags *.[Ch] |
| 47 |
|
| 48 |
TAGS: *.[Ch] |
| 49 |
etags *.[Ch] |
| 50 |
|
| 51 |
allbin: libptytty.la |
| 52 |
|
| 53 |
alldoc: |
| 54 |
|
| 55 |
clean: |
| 56 |
rm -rf *.o *.lo *.la .libs |
| 57 |
|
| 58 |
realclean: clean |
| 59 |
rm -f tags TAGS |
| 60 |
|
| 61 |
cleandir: realclean |
| 62 |
|
| 63 |
distclean: realclean |
| 64 |
(cd $(srcdir); rm -f Makefile) |
| 65 |
|
| 66 |
install: allbin |
| 67 |
$(INSTALL) -d $(DESTDIR)$(libdir) |
| 68 |
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) libptytty.la $(DESTDIR)/$(libdir) |
| 69 |
$(INSTALL) -d $(DESTDIR)$(includedir) |
| 70 |
$(INSTALL_DATA) libptytty.h $(DESTDIR)/$(includedir) |
| 71 |
|
| 72 |
depend: |
| 73 |
makedepend -f Makefile.in -I. -Y *.C >/dev/null 2>&1 |
| 74 |
makedepend -f Makefile.in -I. -Y *.C -a -o .lo >/dev/null 2>&1 |
| 75 |
|
| 76 |
# DO NOT DELETE: nice dependency list follows |
| 77 |
|
| 78 |
c-api.o: ../config.h ptytty.h libptytty.h ptytty_conf.h |
| 79 |
fdpass.o: ../config.h libptytty.h |
| 80 |
logging.o: ../config.h ptytty.h libptytty.h ptytty_conf.h |
| 81 |
proxy.o: ../config.h ptytty.h libptytty.h ptytty_conf.h |
| 82 |
ptytty.o: ../config.h ptytty.h libptytty.h ptytty_conf.h |
| 83 |
|
| 84 |
c-api.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h |
| 85 |
fdpass.lo: ../config.h libptytty.h |
| 86 |
logging.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h |
| 87 |
proxy.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h |
| 88 |
ptytty.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h |