File: Makefile.am

package info (click to toggle)
xscorch 0.2.0-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 4,636 kB
  • ctags: 3,399
  • sloc: ansic: 31,504; sh: 8,826; makefile: 467; perl: 16
file content (103 lines) | stat: -rw-r--r-- 2,179 bytes parent folder | download | duplicates (3)
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
## $Header: /fridge/cvs/xscorch/Makefile.am,v 1.21 2004/03/11 07:51:51 jacob Exp $
## Require automake 1.3
##
AUTOMAKE_OPTIONS	=  1.3


# Subdirectories to build in
#
SUBDIRS			=  doc sai sconsole sgame sgtk snet ssound sutil libj data img snd


# Extra distribution files, and cleanfiles
#
EXTRA_DIST		=  TODO
CLEANFILES		=  *~ *.bak *.bb *.bbg *.da *.gcov
MAINTAINERCLEANFILES	=  *.orig


if ANYGTK
GTK_PROGRAM=xscorch
else
GTK_PROGRAM=
endif


if NETWORK
NETWORK_PROGRAM=xscorch-server
NETWORK_LD_ADD=$(NET_LIBS) snet/libscorch_net.a snet/tcpnet/libtcpnet.a
else
NETWORK_PROGRAM=
NETWORK_LD_ADD=
endif


if MIKMOD
MIKMOD_LD_ADD=ssound/libscorch_sound.a
else
MIKMOD_LD_ADD=ssound/libscorch_sound_null.a
endif


bin_PROGRAMS=$(GTK_PROGRAM) $(NETWORK_PROGRAM)


xscorch_SOURCES = \
	xscorch.c
xscorch_LDADD = \
	-lm \
	$(GTK_LIBS) \
	$(LIBMIKMOD_LIBS) \
	sgame/libscorch_game.a \
	sgtk/libscorch_gtk.a \
	sgtk/swidgets/libscorch_widget_gtk.a \
	sai/libscorch_ai.a \
	$(MIKMOD_LD_ADD) \
	$(NETWORK_LD_ADD) \
	sutil/libscorch_util.a \
	sgame/libscorch_game.a \
	libj/jreg/libjreg.a \
	libj/jstr/libjstr.a


xscorch_server_SOURCES = \
	xscorch.c
xscorch_server_LDADD = \
	-lm \
	$(LIBREADLINE_LIBS) \
	sgame/libscorch_game.a \
	sconsole/libscorch_console.a \
	sai/libscorch_ai.a \
	ssound/libscorch_sound_null.a \
	$(NETWORK_LD_ADD) \
	sutil/libscorch_util.a \
	sgame/libscorch_game.a \
	libj/jreg/libjreg.a \
	libj/jstr/libjstr.a


work-list:
	egrep -n '(TEMP(\W|_)|#warning\W)' `find . \! -path ./old/\* -a -name \*.\[ch\]` | sort > doc/work-list.txt


INCLUDES=-Isgame -Isgtk


install-data-local:
	@echo ""
	@echo ""
	@echo "*** Installation successful ***"
	@echo ""
	@echo "Please note:  Until you use the 'Save Options' command in"
	@echo "xscorch, you will get a message indicating that the user"
	@echo "configuration could not be loaded.  This is normal and will"
	@echo "not affect gameplay; the program is just letting you know"
	@echo "that it will use the game defaults instead."
	@echo ""
	@echo "Note also: the keybindings for shields have changed.  See"
	@echo "the ChangeLog or the manual page for details."
	@echo ""
	@echo "Enjoy the game!"
	@echo ""
	@echo ""