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