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