~ubuntu-branches/ubuntu/karmic/xpuzzles/karmic

« back to all changes in this revision

Viewing changes to xpanex/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-22 16:29:42 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050822162942-tdtf178zkpd3xxdg
Tags: 7.1.3-1ubuntu1
Update {build-,}depends for xorg -> mesa transition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
############################################################
2
2
#
3
 
# $Id : Makefile.in 7.1.1 2004/09/25 $
 
3
# $Id : Makefile.in 7.1.2 2005/01/10 $
4
4
#
5
5
# xpanex Makefile.in for configure (UNIX X11 support)
6
6
############################################################
9
9
 
10
10
wIDGET = panex
11
11
WIDGET = Panex
12
 
VERNUM = 7.1.1
 
12
VERNUM = 7.1.2
13
13
#VER = x$(wIDGET)-$(VERNUM)
14
14
VER = x$(wIDGET)
15
15
 
35
35
#xapploaddir = @libdir@/X11/app-defaults
36
36
#xapploaddir = @libdir@/app-defaults
37
37
datadir = @datadir@
 
38
readdir = $(datadir)/games/xpuzzles
38
39
scoredir = /var/games/xpuzzles
39
40
logdir = /usr/tmp
40
41
 
83
84
# Assumes a directory of /var/games/xpuzzles if -DSCOREPATH not set.
84
85
# Assumes a directory of /usr/tmp if -DLOGPATH not set.
85
86
DEFINES = \
 
87
-DMOVESOUND=\"$(readdir)/move.au\" \
86
88
-DSCOREPATH=\"${SCOREPATH}\" -DSCOREFILE=\"${SCOREFILE}\" \
87
89
-DLOGPATH=\"${LOGPATH}\" -DLOGFILE=\"${LOGFILE}\"
88
90
DEFS = @DEFS@ $(DEFINES)
128
130
# List of object files
129
131
 
130
132
COREOBJS = $(WIDGET)$(O)$(S)$(WIDGET)S$(O)$(S)$(WIDGET)U$(O)$(S)rngs$(O)
131
 
OBJS = $(COREOBJS)$(S)x$(wIDGET)$(O)
 
133
OBJS = file$(O)$(S)sound$(O)$(S)$(COREOBJS)$(S)x$(wIDGET)$(O)
132
134
 
133
135
####################################################################
134
136
# List of source files
135
137
# Used for lint, and some dependencies.
136
138
 
137
139
CORESRCS = $(WIDGET)$(C) $(WIDGET)S$(C) $(WIDGET)U$(C) rngs$(C)
138
 
SRCS = $(CORESRCS) x$(wIDGET)$(C)
 
140
SRCS = file$(C) sound$(C) $(CORESRCS) x$(wIDGET)$(C)
139
141
 
140
142
all : x$(wIDGET)
141
143
 
150
152
$(WIDGET)S$(O) : $(WIDGET)S$(C) $(HDRS)
151
153
$(WIDGET)U$(O) : $(WIDGET)U$(C) $(HDRS)
152
154
rngs$(O) : rngs$(C)
 
155
file$(O) : file$(C)
 
156
sound$(O) : sound$(C)
153
157
x$(wIDGET)$(O) : x$(wIDGET)$(C) $(WIDGET).h
154
158
 
155
159
################################################################
161
165
        $(INSTALL_DATA) x$(wIDGET).man $(DESTDIR)$(mandir)/x$(wIDGET).$(MANNUM)
162
166
        $(srcdir)/mkinstalldirs $(DESTDIR)$(xapploaddir)
163
167
        $(INSTALL_DATA) $(WIDGET).ad $(DESTDIR)$(xapploaddir)/$(WIDGET)
 
168
        $(srcdir)/mkinstalldirs $(DESTDIR)$(readdir)
 
169
        $(INSTALL_DATA) move.au $(DESTDIR)$(readdir)/move.au
164
170
        @ $(ECHO) "$@ COMPLETE"
165
171
        @ $(ECHO) ""
166
 
        @ $(ECHO) "To use x$(M)$(wIDGET) from a menu, you may want to install the "
 
172
        @ $(ECHO) "To use x$(M)$(wIDGET) from a menu, you may want to install the"
167
173
        @ $(ECHO) "images.  Do a \"make install-png\" for Gnome and KDE, or do a"
168
174
        @ $(ECHO) "\"make install-xpm\" or a \"make install-xpm-home\" for CDE."
169
175
 
171
177
        $(RM) $(DESTDIR)$(bindir)/x$(M)$(wIDGET)$(E)$(A)
172
178
        $(RM) $(DESTDIR)$(mandir)/x$(wIDGET).$(MANNUM)
173
179
        $(RM) $(DESTDIR)$(xapploaddir)/$(WIDGET)
 
180
        @ $(ECHO) "sound file could be used by other xpuzzles"
 
181
        @ $(ECHO) "\"Control-C\" to break"
 
182
        sleep 5
 
183
        $(RM) $(DESTDIR)$(readdir)/move.au
174
184
 
175
185
install-games : x$(wIDGET)$(E)
176
186
        $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)
299
309
$(VER)/icons/$(wIDGET).p.xpm \
300
310
$(VER)/icons/mini.$(wIDGET).png $(VER)/icons/small.$(wIDGET).png \
301
311
$(VER)/icons/normal.$(wIDGET).png $(VER)/icons/big.$(wIDGET).png \
 
312
$(VER)/move.au $(VER)/play.sh $(VER)/file$(C) $(VER)/sound$(C) \
302
313
$(VER)/$(WIDGET)$(C) $(VER)/$(WIDGET)S$(C) $(VER)/$(WIDGET)U$(C) \
303
314
$(VER)/x$(wIDGET)$(C) $(VER)/rngs$(C) $(VER)/README \
304
 
$(VER)/x$(wIDGET).man $(VER)/x$(wIDGET).hlp $(VER)/x$(wIDGET).html \
 
315
$(VER)/Imakefile $(VER)/x$(wIDGET).man $(VER)/x$(wIDGET).html \
305
316
$(VER)/$(WIDGET).ad $(VER)/$(wIDGET).scores \
306
317
$(VER)/configure $(VER)/Makefile.in $(VER)/configure.in \
307
318
$(VER)/config.guess $(VER)/config.sub $(VER)/install-sh $(VER)/mkinstalldirs \
308
 
$(VER)/Imakefile $(VER)/make.com \
309
 
$(VER)/win/Makefile $(VER)/win/w$(wIDGET).h \
 
319
$(VER)/vms/README.vms $(VER)/vms/x$(wIDGET).hlp \
 
320
$(VER)/vms/make.com $(VER)/vms/mmov.com \
 
321
$(VER)/vms/vms_amd.c $(VER)/vms/vms_amd.h $(VER)/vms/vms_mmov.c \
 
322
$(VER)/win/Makefile $(VER)/win/w$(wIDGET).h $(VER)/win/move.wav \
310
323
$(VER)/win/w$(wIDGET).rc $(VER)/win/w$(wIDGET).ini $(VER)/win/w$(wIDGET).ico
311
324
 
312
325
zip : distclean
337
350
        cd .. ; bzip2 -c $(VER).tar > `echo $(VER) | cut -c1-8`.tbz ; \
338
351
$(RM) $(VER).tar
339
352
 
340
 
dist.man : x$(wIDGET).html x$(wIDGET).hlp
 
353
dist.man : x$(wIDGET).html vms/x$(wIDGET).hlp
341
354
 
342
355
x$(wIDGET).html : x$(wIDGET).man
343
356
        nroff -man < x$(wIDGET).man | man2html > x$(wIDGET).html
344
357
 
345
 
x$(wIDGET).hlp : x$(wIDGET).man
 
358
vms/x$(wIDGET).hlp : x$(wIDGET).man
346
359
        (echo "$(MANNUM) x$(wIDGET)" | tr [:lower:] [:upper:] ; \
347
360
 nroff -man < x$(wIDGET).man \
348
361
 | sed -e 's/.//g' -e '/^ *Page [0-9]/D' \
353
366
 -e 's/\(Copyright\) .*c.*\(19\)/\1 (C) \2/' \
354
367
 -e 's/^\([A-Z][A-Z]*\) \([A-Z][A-Z]*\)/\1_\2/' \
355
368
 -e 's/^\([A-Z]\)/2 \1/' \
356
 
 | more -flsu | /usr/xpg4/bin/more -s) > x$(wIDGET).hlp
 
369
 | more -flsu | /usr/xpg4/bin/more -s) > vms/x$(wIDGET).hlp
357
370
 
358
371
html : x$(wIDGET).html
359
372
 
360
 
hlp : x$(wIDGET).hlp
 
373
hlp : vms/x$(wIDGET).hlp
361
374
 
362
375
man :
363
376
        nroff -man x$(wIDGET).man | $(MORE)