1 |
pcg |
1.1 |
|
2 |
|
|
srcdir = @srcdir@ |
3 |
|
|
VPATH = @srcdir@ |
4 |
|
|
.PATH: @srcdir@ |
5 |
|
|
|
6 |
|
|
top_builddir = .. |
7 |
|
|
basedir = .. |
8 |
|
|
thisdir = W11 |
9 |
|
|
XPMDIR=xpm-3.4k |
10 |
|
|
MKDIR = @top_srcdir@/autoconf/mkinstalldirs |
11 |
|
|
|
12 |
|
|
first_rule: all |
13 |
|
|
|
14 |
|
|
all allbin alldoc: |
15 |
|
|
-mkdir lib |
16 |
|
|
cd wrap; make $@ |
17 |
|
|
cd w32; make $@ |
18 |
|
|
if test -d $(XPMDIR); then make -f Makefile.xpm; fi |
19 |
|
|
|
20 |
|
|
tags clean: |
21 |
|
|
cd wrap; make $@ |
22 |
|
|
cd w32; make $@ |
23 |
|
|
if test -d $(XPMDIR); then make -f Makefile.xpm $@; fi |
24 |
|
|
|
25 |
|
|
realclean: clean |
26 |
|
|
|
27 |
|
|
cleandir: realclean |
28 |
|
|
|
29 |
|
|
install: |
30 |
|
|
$(INSTALL_PROGRAM) lib/libW11.dll $(bindir)/libW11.dll |
31 |
|
|
|
32 |
|
|
# |
33 |
|
|
# Distribution variables |
34 |
|
|
# |
35 |
|
|
|
36 |
|
|
DIST = Makefile.in Makefile.xpm |
37 |
|
|
DISTX11 = X11/Intrinsic.h X11/Xatom.h X11/Xlib.h X11/Xlocale.h X11/Xmd.h \ |
38 |
|
|
X11/Xutil.h X11/cursorfont.h X11/keysym.h X11/keysymdef.h |
39 |
|
|
DISTw32 = w32/Makefile w32/event.c w32/ntdef.h w32/ntutil.c w32/xlib.c |
40 |
|
|
DISTwrap = wrap/Makefile wrap/mkproxy.pl wrap/rxtv.ico wrap/rxvt.ico \ |
41 |
|
|
wrap/rxvt.rc wrap/wrap.c wrap/wrap.h wrap/xwrappers.gen |
42 |
|
|
|
43 |
|
|
distclean: realclean |
44 |
|
|
if test $(srcdir) = .; then $(MAKE) realclean; fi |
45 |
|
|
(cd $(srcdir); $(RMF) Makefile) |
46 |
|
|
|
47 |
|
|
distdirs: |
48 |
|
|
mkdir $(basedir)/../$(VERNAME)/$(thisdir) |
49 |
|
|
mkdir $(basedir)/../$(VERNAME)/$(thisdir)/X11 |
50 |
|
|
mkdir $(basedir)/../$(VERNAME)/$(thisdir)/w32 |
51 |
|
|
mkdir $(basedir)/../$(VERNAME)/$(thisdir)/wrap |
52 |
|
|
|
53 |
|
|
distcopy: |
54 |
|
|
$(CP) -p $(DIST) $(basedir)/../$(VERNAME)/$(thisdir) |
55 |
|
|
$(CP) -p $(DISTX11) $(basedir)/../$(VERNAME)/$(thisdir)/X11 |
56 |
|
|
$(CP) -p $(DISTw32) $(basedir)/../$(VERNAME)/$(thisdir)/w32 |
57 |
|
|
$(CP) -p $(DISTwrap) $(basedir)/../$(VERNAME)/$(thisdir)/wrap |