File: Makefile.in

package info (click to toggle)
crossfire-client 1.2.0-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,880 kB
  • ctags: 2,012
  • sloc: ansic: 21,003; sh: 2,703; makefile: 540; perl: 48
file content (156 lines) | stat: -rw-r--r-- 3,522 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
VERSION = crossfire-client-@VERSION@
MKDIR = @MKDIR@
CP = @CP@
TAR = @TAR@
RM = @RM@
TARGET = @TARGET@
CFLAGS = @CFLAGS@ @CPPFLAGS@ -I.
LDFLAGS = @LDFLAGS@
CC = @CC@
LIBS = @LIBS@ @LIBXPM_LIB@ 
INSTALL = @INSTALL@
DEPEND = @DEPEND@
PERL = @PERL@
SOUND_DIR = @SOUNDDIR@
DMALLOC_LIB = @DMALLOC_LIB@
AR = @AR@
RANLIB = @RANLIB@

SUBDIRS = @SUBDIRS@

# Put all them here - by default, SUBDIRS will change depending on libraries
# and other stuff detected.  ALLBSUBDIRS is used for the archive creation.
ALLSUBDIRS = common gtk gnome sound-src x11

prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
mandir=@mandir@/man1
soundlistdir=@sysconfdir@/sound/events
desktopdir=@prefix@/share/gnome/apps/Games
pixmapsdir=@prefix@/share/pixmaps

EXTRA_DIST = \
	CHANGES			\
	COPYING			\
	License			\
	Makefile.in		\
	NOTES			\
	README			\
	TODO			\
	aclocal.m4		\
	configure		\
	configure.in		\
	crossfire-client.spec


PIXMAPS = \
	pixmaps/all.xpm		\
	pixmaps/applied.xbm	\
	pixmaps/applied.xpm	\
	pixmaps/bg.xpm		\
	pixmaps/clear.xbm	\
	pixmaps/close.xbm	\
	pixmaps/close.xpm	\
	pixmaps/coin.xpm	\
	pixmaps/crossfiretitle.xpm	\
	pixmaps/cursed.xbm	\
	pixmaps/cursed.xpm	\
	pixmaps/damned.xbm	\
	pixmaps/damned.xpm	\
	pixmaps/dot.xpm		\
	pixmaps/hand.xpm	\
	pixmaps/hand2.xpm	\
	pixmaps/lock.xpm	\
	pixmaps/locked.xbm	\
	pixmaps/locked.xpm	\
	pixmaps/mag.xpm		\
	pixmaps/magic.xbm	\
	pixmaps/magic.xpm	\
	pixmaps/nonmag.xpm	\
	pixmaps/question.111	\
	pixmaps/question.xpm	\
	pixmaps/shield.png	\
	pixmaps/skull.xpm	\
	pixmaps/stipple.111	\
	pixmaps/stipple.112	\
	pixmaps/test.xpm	\
	pixmaps/unlock.xpm	\
	pixmaps/unpaid.xbm	\
	pixmaps/unpaid.xpm	

HELP= \
	help/about.h		\
	help/chelp.h		\
	help/shelp.h

UTILS = \
	utils/config.guess	\
	utils/config.sub	\
	utils/deftoheader.pl	\
	utils/install-sh	\
	utils/mdk.sh		\
	utils/missing		\
	utils/mkinstalldirs


all:
	@for dir in $(SUBDIRS); \
	    do \
	    echo "making all in $$dir..."; \
	    (cd $$dir;  $(MAKE) $(MFLAGS) 'MFLAGS=$(MFLAGS)' all; ) \
	done;


depend:
	@for dir in $(SUBDIRS); \
	    do \
	    echo "making depend in $$dir..."; \
	    (cd $$dir;  $(MAKE) $(MFLAGS) 'MFLAGS=$(MFLAGS)' depend; ) \
	done;

clean:
	@for dir in $(SUBDIRS); \
	    do \
	    echo "making clean in $$dir..."; \
	    (cd $$dir;  $(MAKE) $(MFLAGS) 'MFLAGS=$(MFLAGS)' clean; ) \
	done;

distclean:
	$(RM) -f Makefile Makefile.bak config.cache config.log config.status
	@for dir in $(SUBDIRS); \
	    do \
	    echo "making distclean in $$dir..."; \
	    (cd $$dir;  $(MAKE) $(MFLAGS) 'MFLAGS=$(MFLAGS)' distclean; ) \
	done;

proto:
	@for dir in $(SUBDIRS); \
	    do \
	    echo "making proto in $$dir..."; \
	    (cd $$dir;  $(MAKE) $(MFLAGS) 'MFLAGS=$(MFLAGS)' proto; ) \
	done;

archive:
	if [ -d /tmp/$(VERSION) ]; then $(RM) -rf /tmp/$(VERSION); fi
	$(MKDIR) /tmp/$(VERSION) /tmp/$(VERSION)/utils /tmp/$(VERSION)/help /tmp/$(VERSION)/pixmaps
	$(CP) $(EXTRA_DIST) /tmp/$(VERSION)
	$(CP) $(PIXMAPS) /tmp/$(VERSION)/pixmaps
	$(CP) $(HELP) /tmp/$(VERSION)/help
	$(CP) $(UTILS) /tmp/$(VERSION)/utils
	@for dir in $(ALLSUBDIRS); \
	    do \
	    echo "making archive in $$dir..."; \
	    (cd $$dir;  $(MAKE) $(MFLAGS) 'MFLAGS=$(MFLAGS)' archive; ) \
	done;
	(cd /tmp; $(RM) $(VERSION).tgz; \
		$(TAR) cvfhz $(VERSION).tar.gz $(VERSION) )
	$(CP) /tmp/$(VERSION).tar.gz ../
	$(RM) -rf /tmp/$(VERSION) /tmp/$(VERSION).tar.gz

install:
	@for dir in $(SUBDIRS); \
	    do \
	    echo "making install in $$dir..."; \
	    (cd $$dir;  $(MAKE) $(MFLAGS) 'MFLAGS=$(MFLAGS)' install; ) \
	done;