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 |
|
|
CXXFLAGS = @CXXFLAGS@ |
10 |
|
|
CPPFLAGS = @CPPFLAGS@ |
11 |
|
|
LDFLAGS = @LDFLAGS@ |
12 |
|
|
LIBS = @LIBS@ |
13 |
|
|
COMPILE = $(CXX) $(CPPFLAGS) $(CXXFLAGS) -I. |
14 |
ayin |
1.5 |
LINK = $(CXX) $(LDFLAGS) |
15 |
root |
1.2 |
|
16 |
|
|
srcdir = @srcdir@ |
17 |
|
|
VPATH = @srcdir@ |
18 |
|
|
.PATH: @srcdir@ |
19 |
|
|
|
20 |
|
|
top_builddir = .. |
21 |
|
|
basedir = .. |
22 |
|
|
thisdir = src |
23 |
|
|
|
24 |
ayin |
1.9 |
.SUFFIXES: .C .o .lo |
25 |
root |
1.2 |
|
26 |
|
|
#------------------------------------------------------------------------- |
27 |
|
|
# inference rules |
28 |
|
|
.C.o: |
29 |
|
|
$(COMPILE) -c $< |
30 |
|
|
|
31 |
ayin |
1.9 |
.C.lo: |
32 |
ayin |
1.10 |
libtool --mode=compile $(COMPILE) -c $< |
33 |
ayin |
1.9 |
|
34 |
root |
1.2 |
#.s.lo: |
35 |
|
|
# $(LIBTOOL) --mode=compile $(COMPILE) -c $< |
36 |
|
|
# |
37 |
|
|
#.S.lo: |
38 |
|
|
# $(LIBTOOL) --mode=compile $(COMPILE) -c $< |
39 |
|
|
|
40 |
|
|
#------------------------------------------------------------------------- |
41 |
|
|
|
42 |
|
|
all: allbin |
43 |
|
|
|
44 |
ayin |
1.9 |
libptytty.a: ptytty.lo logging.lo fdpass.lo |
45 |
|
|
# $(LINK) -o $@ $^ $(LIBS) |
46 |
root |
1.11 |
$(LIBTOOL) --mode=link $(LINK) -o libptytty.la $^ |
47 |
root |
1.2 |
|
48 |
|
|
#------------------------------------------------------------------------- |
49 |
|
|
|
50 |
|
|
tags: *.[Ch] |
51 |
ayin |
1.8 |
ctags *.[Ch] |
52 |
root |
1.2 |
|
53 |
|
|
TAGS: *.[Ch] |
54 |
ayin |
1.8 |
etags *.[Ch] |
55 |
root |
1.2 |
|
56 |
root |
1.4 |
allbin: libptytty.a |
57 |
root |
1.2 |
|
58 |
|
|
alldoc: |
59 |
|
|
|
60 |
|
|
clean: |
61 |
ayin |
1.9 |
rm -rf *.a *.o *.lo *.tmp *.la .libs |
62 |
root |
1.2 |
|
63 |
|
|
realclean: clean |
64 |
root |
1.7 |
rm -f tags TAGS |
65 |
root |
1.2 |
|
66 |
|
|
cleandir: realclean |
67 |
|
|
|
68 |
|
|
distclean: realclean |
69 |
root |
1.7 |
(cd $(srcdir); rm -f Makefile) |
70 |
root |
1.2 |
|
71 |
|
|
install: allbin alldoc install-perl |
72 |
|
|
# $(INSTALL) -d $(DESTDIR)$(bindir) |
73 |
|
|
# $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) |
74 |
|
|
# $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) |
75 |
|
|
# $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME) |
76 |
|
|
|
77 |
|
|
depend: |
78 |
|
|
makedepend -f Makefile.in -I. -Y *.C >/dev/null 2>&1 |
79 |
|
|
makedepend -f Makefile.in -I. -Y *.C -a -o .lo >/dev/null 2>&1 |
80 |
|
|
|
81 |
|
|
# DO NOT DELETE: nice dependency list follows |
82 |
|
|
|
83 |
root |
1.6 |
fdpass.o: ../config.h libptytty.h |
84 |
|
|
logging.o: ../config.h ptytty.h libptytty.h ptytty_conf.h |
85 |
|
|
ptytty.o: ../config.h ptytty.h libptytty.h ptytty_conf.h |
86 |
root |
1.2 |
|
87 |
root |
1.6 |
fdpass.lo: ../config.h libptytty.h |
88 |
|
|
logging.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h |
89 |
|
|
ptytty.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h |