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 logging.lo fdpass.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 alldoc install-perl |
67 |
# $(INSTALL) -d $(DESTDIR)$(bindir) |
68 |
# $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) |
69 |
# $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) |
70 |
# $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME) |
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 |
fdpass.o: ../config.h libptytty.h |
79 |
logging.o: ../config.h ptytty.h libptytty.h ptytty_conf.h |
80 |
ptytty.o: ../config.h ptytty.h libptytty.h ptytty_conf.h |
81 |
|
82 |
fdpass.lo: ../config.h libptytty.h |
83 |
logging.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h |
84 |
ptytty.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h |