… | |
… | |
64 | cfperl.xs\ |
64 | cfperl.xs\ |
65 | evthread.C |
65 | evthread.C |
66 | |
66 | |
67 | SUFFIXES = .xs |
67 | SUFFIXES = .xs |
68 | |
68 | |
69 | EXTRA_DIST = typemap genacc |
69 | EXTRA_DIST = typemap genacc genconst |
70 | |
70 | |
|
|
71 | CLEANFILES = const_iv.h |
|
|
72 | |
|
|
73 | const_iv.h: ../include/define.h |
|
|
74 | const_iv.h: genconst |
|
|
75 | $(PERL) genconst ../include/define.h |
|
|
76 | |
71 | cfperl.C: cfperl.xs genacc typemap |
77 | cfperl.C: cfperl.xs typemap genacc |
|
|
78 | cfperl.C: const_iv.h |
72 | cfperl.C: ../include/object.h ../include/client.h ../include/player.h |
79 | cfperl.C: ../include/object.h ../include/client.h ../include/player.h |
73 | cfperl.C: ../include/map.h ../include/living.h ../include/global.h |
80 | cfperl.C: ../include/map.h ../include/living.h ../include/global.h |
74 | cfperl.C: ../include/region.h ../include/cfperl.h ../random_maps/random_map.h |
81 | cfperl.C: ../include/region.h ../include/cfperl.h ../random_maps/random_map.h |
|
|
82 | cfperl.C: ../include/define.h |
75 | |
83 | |
76 | .xs.C: typemap |
84 | .xs.C: typemap |
77 | $(PERL) -MExtUtils::Embed -e xsinit -- -std cf |
85 | $(PERL) -MExtUtils::Embed -e xsinit -- -std cf |
78 | PERL="$(PERL)" srcdir="$(srcdir)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -csuffix .C -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap $(srcdir)/typemap -prototypes $(srcdir)/cfperl.xs >$@ |
86 | PERL="$(PERL)" srcdir="$(srcdir)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -csuffix .C -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap $(srcdir)/typemap -prototypes $(srcdir)/cfperl.xs >$@~ && mv $@~ $@ |
79 | |
87 | |
80 | AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \ |
88 | AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \ |
81 | -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \ |
89 | -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" \ |
82 | -DPLUGIN_SUFFIX=\".so\" |
90 | -DPLUGIN_SUFFIX=\".so\" |
83 | |
91 | |