ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/Makefile.am
(Generate patch)

Comparing deliantra/server/server/Makefile.am (file contents):
Revision 1.22 by root, Mon Mar 5 19:54:49 2007 UTC vs.
Revision 1.23 by root, Mon Mar 5 20:07:04 2007 UTC

1#
2# Makefile for crossfire 0.95.0 and beyond
3#
4# This file will eventually be replaced by a configure script. But for
5# now, this simple makefile should do the job.
6#
7# Copyright (C) 1992 Frank Tore Johansen 1# Copyright (C) 1992 Frank Tore Johansen
8# Copyright (C) 2001 Mark Wedel 2# Copyright (C) 2001 Mark Wedel
3# Copyright (C) 2007 Marc Alexander Lehmann
9# 4#
10# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
11# it under the terms of the GNU General Public License as published by 6# it under the terms of the GNU General Public License as published by
12# the Free Software Foundation; either version 2 of the License, or 7# the Free Software Foundation; either version 2 of the License, or
13# (at your option) any later version. 8# (at your option) any later version.
66 swap.C\ 61 swap.C\
67 time.C\ 62 time.C\
68 weather.C\ 63 weather.C\
69 dynbuf.C\ 64 dynbuf.C\
70 freezethaw.C\ 65 freezethaw.C\
71 cfperl.xs ../plugins/common/plugin_common.C 66 cfperl.xs plugin_common.C
72 67
73SUFFIXES = .xs 68SUFFIXES = .xs
74 69
75EXTRA_DIST = typemap genacc 70EXTRA_DIST = typemap genacc
76 71
83 $(PERL) -MExtUtils::Embed -e xsinit -- -std cf 78 $(PERL) -MExtUtils::Embed -e xsinit -- -std cf
84 PERL="$(PERL)" srcdir="$(srcdir)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -csuffix .C -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap $(srcdir)/typemap -prototypes $(srcdir)/cfperl.xs >$@ 79 PERL="$(PERL)" srcdir="$(srcdir)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -csuffix .C -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap $(srcdir)/typemap -prototypes $(srcdir)/cfperl.xs >$@
85 80
86AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \ 81AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \
87 -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \ 82 -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \
88 -DPLUGIN_SUFFIX=\".so\" \ 83 -DPLUGIN_SUFFIX=\".so\"
89 -I$(top_srcdir)/plugins/common/include
90 84
91LIBDL= 85LIBDL=
92crossfire_LDFLAGS= 86crossfire_LDFLAGS=
93crossfire_LDADD = ../common/libcross.a ../random_maps/librandom_map.a \ 87crossfire_LDADD = ../common/libcross.a ../random_maps/librandom_map.a \
94 ../socket/libsocket.a $(LIBDL) $(PERLLIB) 88 ../socket/libsocket.a $(LIBDL) $(PERLLIB)
95 89
96../common/libcross.a: 90../common/libcross.a:
97 ( cd ../common ; make libcross.a ) 91 ( cd ../common ; $(MAKE) libcross.a )
98 92
99../random_maps/librandom_map.a: 93../random_maps/librandom_map.a:
100 ( cd ../random_maps ; make librandom_map.a ) 94 ( cd ../random_maps ; $(MAKE) librandom_map.a )
101 95
102../socket/libsocket.a: 96../socket/libsocket.a:
103 ( cd ../socket ; make libsocket.a ) 97 ( cd ../socket ; $(MAKE) libsocket.a )
104 98
105# Check if everything is installed as it should 99# Check if everything is installed as it should
106installcheck-local: 100installcheck-local:
107 $(bindir)/crossfire -o 101 $(bindir)/crossfire -o
108 102

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines