1 |
root |
1.2 |
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 |
ayin |
1.15 |
SHELL = @SHELL@ |
10 |
ayin |
1.14 |
CXX = @CXX@ |
11 |
ayin |
1.15 |
LIBTOOL = @LIBTOOL@ |
12 |
ayin |
1.19 |
CXXFLAGS = @CXXFLAGS@ |
13 |
root |
1.2 |
CPPFLAGS = @CPPFLAGS@ |
14 |
|
|
LDFLAGS = @LDFLAGS@ |
15 |
|
|
LIBS = @LIBS@ |
16 |
|
|
COMPILE = $(CXX) $(CPPFLAGS) $(CXXFLAGS) -I. |
17 |
ayin |
1.5 |
LINK = $(CXX) $(LDFLAGS) |
18 |
root |
1.2 |
|
19 |
|
|
srcdir = @srcdir@ |
20 |
|
|
VPATH = @srcdir@ |
21 |
|
|
.PATH: @srcdir@ |
22 |
|
|
|
23 |
|
|
top_builddir = .. |
24 |
|
|
basedir = .. |
25 |
|
|
thisdir = src |
26 |
|
|
|
27 |
ayin |
1.13 |
.SUFFIXES: .lo |
28 |
root |
1.2 |
|
29 |
|
|
#------------------------------------------------------------------------- |
30 |
|
|
# inference rules |
31 |
ayin |
1.9 |
.C.lo: |
32 |
ayin |
1.15 |
$(LIBTOOL) --mode=compile $(COMPILE) -c $< |
33 |
ayin |
1.9 |
|
34 |
root |
1.2 |
#------------------------------------------------------------------------- |
35 |
|
|
|
36 |
|
|
all: allbin |
37 |
|
|
|
38 |
root |
1.17 |
libptytty_objects = ptytty.lo proxy.lo logging.lo fdpass.lo c-api.lo |
39 |
ayin |
1.13 |
|
40 |
|
|
libptytty.la: $(libptytty_objects) |
41 |
ayin |
1.15 |
$(LIBTOOL) --mode=link $(LINK) -rpath $(libdir) -o $@ $(libptytty_objects) |
42 |
root |
1.2 |
|
43 |
|
|
#------------------------------------------------------------------------- |
44 |
|
|
|
45 |
|
|
tags: *.[Ch] |
46 |
ayin |
1.8 |
ctags *.[Ch] |
47 |
root |
1.2 |
|
48 |
|
|
TAGS: *.[Ch] |
49 |
ayin |
1.8 |
etags *.[Ch] |
50 |
root |
1.2 |
|
51 |
ayin |
1.13 |
allbin: libptytty.la |
52 |
root |
1.2 |
|
53 |
|
|
alldoc: |
54 |
|
|
|
55 |
|
|
clean: |
56 |
ayin |
1.20 |
rm -rf *.o *.lo *.la .libs |
57 |
root |
1.2 |
|
58 |
|
|
realclean: clean |
59 |
root |
1.7 |
rm -f tags TAGS |
60 |
root |
1.2 |
|
61 |
|
|
cleandir: realclean |
62 |
|
|
|
63 |
|
|
distclean: realclean |
64 |
root |
1.7 |
(cd $(srcdir); rm -f Makefile) |
65 |
root |
1.2 |
|
66 |
root |
1.16 |
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 |
root |
1.2 |
|
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 |
root |
1.18 |
c-api.o: ../config.h ptytty.h libptytty.h ptytty_conf.h |
79 |
root |
1.6 |
fdpass.o: ../config.h libptytty.h |
80 |
|
|
logging.o: ../config.h ptytty.h libptytty.h ptytty_conf.h |
81 |
root |
1.18 |
proxy.o: ../config.h ptytty.h libptytty.h ptytty_conf.h |
82 |
root |
1.6 |
ptytty.o: ../config.h ptytty.h libptytty.h ptytty_conf.h |
83 |
root |
1.2 |
|
84 |
root |
1.18 |
c-api.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h |
85 |
root |
1.6 |
fdpass.lo: ../config.h libptytty.h |
86 |
|
|
logging.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h |
87 |
root |
1.18 |
proxy.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h |
88 |
root |
1.6 |
ptytty.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h |