1 |
|
2 |
DATE=@DATE@ |
3 |
VERSION=@VERSION@ |
4 |
RXVTNAME=@RXVTNAME@ |
5 |
SHELL = /bin/sh |
6 |
prefix = @prefix@ |
7 |
exec_prefix = @exec_prefix@ |
8 |
bindir = @bindir@ |
9 |
libdir = @libdir@ |
10 |
includedir = @includedir@ |
11 |
man1dir = @mandir@/man1 |
12 |
man1ext = 1 |
13 |
man3dir = @mandir@/man3 |
14 |
man3ext = 3 |
15 |
man7dir = @mandir@/man7 |
16 |
man7ext = 7 |
17 |
CC = @CC@ |
18 |
CXX = @CXX@ |
19 |
CPP = @CPP@ |
20 |
MV = @MV@ |
21 |
RM = @RM@ |
22 |
RMF = @RM@ -f |
23 |
CP = @CP@ |
24 |
LN = @LN@ |
25 |
SED = @SED@ |
26 |
AWK = @AWK@ |
27 |
ECHO = @ECHO@ |
28 |
CMP = @CMP@ |
29 |
TBL = @TBL@ |
30 |
PERL = @PERL@ |
31 |
INSTALL = @INSTALL@ |
32 |
INSTALL_PROGRAM = @INSTALL@ -m 755 |
33 |
INSTALL_DATA = @INSTALL@ -m 644 |
34 |
CXXFLAGS = @CXXFLAGS@ |
35 |
CPPFLAGS = @CPPFLAGS@ @XPM_CPPFLAGS@ |
36 |
LDFLAGS = @LDFLAGS@ |
37 |
DEFS = @DEFS@ |
38 |
LIBS = @LIBS@ |
39 |
DINCLUDE = @DINCLUDE@ |
40 |
DLIB = @DLIB@ |
41 |
XINC = @X_CFLAGS@ @XPM_CFLAGS@ |
42 |
XLIB = @X_LIBS@ @XPM_LIBS@ -lX11 @X_EXTRA_LIBS@ |
43 |
COMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(DEBUG) $(DINCLUDE) $(XINC) -I$(basedir) -I$(srcdir) -I. |
44 |
LINK = @LINKER@ $(LDFLAGS) |
45 |
|
46 |
srcdir = @srcdir@ |
47 |
VPATH = @srcdir@ |
48 |
.PATH: @srcdir@ |
49 |
|
50 |
top_builddir = .. |
51 |
basedir = .. |
52 |
thisdir = W11 |
53 |
XPMDIR=xpm-3.4k |
54 |
MKDIR = @top_srcdir@/autoconf/mkinstalldirs |
55 |
|
56 |
first_rule: all |
57 |
|
58 |
all allbin alldoc: |
59 |
-mkdir lib |
60 |
cd wrap; make $@ |
61 |
cd w32; make $@ |
62 |
if test -d $(XPMDIR); then make -f Makefile.xpm; fi |
63 |
|
64 |
tags clean: |
65 |
cd wrap; make $@ |
66 |
cd w32; make $@ |
67 |
if test -d $(XPMDIR); then make -f Makefile.xpm $@; fi |
68 |
|
69 |
realclean: clean |
70 |
|
71 |
cleandir: realclean |
72 |
|
73 |
install: |
74 |
$(INSTALL_PROGRAM) lib/libW11.dll $(bindir)/libW11.dll |
75 |
|
76 |
# |
77 |
# Distribution variables |
78 |
# |
79 |
|
80 |
DIST = Makefile.in Makefile.xpm |
81 |
DISTX11 = X11/Intrinsic.h X11/Xatom.h X11/Xlib.h X11/Xlocale.h X11/Xmd.h \ |
82 |
X11/Xutil.h X11/cursorfont.h X11/keysym.h X11/keysymdef.h |
83 |
DISTw32 = w32/Makefile w32/event.c w32/ntdef.h w32/ntutil.c w32/xlib.c |
84 |
DISTwrap = wrap/Makefile wrap/mkproxy.pl wrap/rxtv.ico wrap/rxvt.ico \ |
85 |
wrap/rxvt.rc wrap/wrap.c wrap/wrap.h wrap/xwrappers.gen |
86 |
|
87 |
distclean: realclean |
88 |
if test $(srcdir) = .; then $(MAKE) realclean; fi |
89 |
(cd $(srcdir); $(RMF) Makefile) |
90 |
|
91 |
distdirs: |
92 |
mkdir $(basedir)/../$(VERNAME)/$(thisdir) |
93 |
mkdir $(basedir)/../$(VERNAME)/$(thisdir)/X11 |
94 |
mkdir $(basedir)/../$(VERNAME)/$(thisdir)/w32 |
95 |
mkdir $(basedir)/../$(VERNAME)/$(thisdir)/wrap |
96 |
|
97 |
distcopy: |
98 |
$(CP) -p $(DIST) $(basedir)/../$(VERNAME)/$(thisdir) |
99 |
$(CP) -p $(DISTX11) $(basedir)/../$(VERNAME)/$(thisdir)/X11 |
100 |
$(CP) -p $(DISTw32) $(basedir)/../$(VERNAME)/$(thisdir)/w32 |
101 |
$(CP) -p $(DISTwrap) $(basedir)/../$(VERNAME)/$(thisdir)/wrap |