INCLUDES = -I../libbeacon -I$(top_srcdir)/libbeacon -I$(top_srcdir)/libbeacon -I$(srcdir)/../libbeacon -I$(srcdir)/libbeacon -I$(srcdir)/common/src -I$(srcdir)/Net-Multicast-Beacon -I. -I$(top_srcdir)/common/src -I$(top_srcdir)/Net-Multicast-Beacon -I$(top_builddir)/Net-Multicast-Beacon -I$(top_builddir)/common/src -I$(top_builddir)/libbeacon #-I../libbeacon -I../common/src -I../Net-Multicast-Beacon #AM_CPPFLAGS=@CPPFLAGS@ -I$(top_srcdir) -I$(top_builddir)/lasso @LASSO_CFLAGS@ AM_CFLAGS=@CFLAGS@ @LASSO_CORE_CFLAGS@ #AM_STANDARD_CFLAGS=@LASSO_CORE_CFLAGS@ AM_CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/libbeacon -I$(srcdir)/libbeacon -I$(srcdir)/common/src -I$(srcdir)/Net-Multicast-Beacon -I. -I$(srcdir)/libbeacon -I$(top_srcdir)/common/src -I$(top_srcdir)/Net-Multicast-Beacon -I$(top_builddir)/common/src PERL=@PERL@ SWIG=@SWIG@ #PERL_LASSO_PACKAGE=Lasso PERL_MAKEFILE=Makefile.perl PERL_CRUFT=pm_to_blib Beacon.bs beacon_wrap.o fakedir=$(prefix) fake_DATA=build-perl-stamp #beacon_wrap.c Beacon.pm: $(top_srcdir)/Net-Multicast-Beacon/beacon.i # $(SWIG) -v -perl5 -exportall -o beacon_wrap.c $(top_srcdir)/Net-Multicast-Beacon/beacon.i $(PERL_MAKEFILE): Beacon.pm test -e Makefile.PL || cp $(srcdir)/Makefile.PL . test -e beacon_wrap.c || cp $(srcdir)/beacon_wrap.c . test -e Beacon.pm || cp $(srcdir)/Beacon.pm . test -e beacon.h || cp $(top_srcdir)/libbeacon/beacon.h . VERSION=$(VERSION) CC=$(CC) CFLAGS="$(AM_CPPFLAGS) $(AM_CFLAGS) $(SWIG_OPTS) $(CPPFLAGS) $(AM_STANDARD_CFLAGS)" $(PERL) $(srcdir)/Makefile.PL MAKEFILE=$(PERL_MAKEFILE) PREFIX=$(prefix) INC="$(INCLUDES)" -perl install-perl: $(PERL_MAKEFILE) target=`echo $@ | sed -e 's/-perl//'`; \ $(MAKE) -f $(PERL_MAKEFILE) $$target test-perl: $(PERL_MAKEFILE) $(RUN)$(MAKE) -f $(PERL_MAKEFILE) test clean-perl realclean-perl: @target=`echo $@ | sed -e 's/-perl//'`; \ if test -r $(PERL_MAKEFILE); then \ echo $(MAKE) -f $(PERL_MAKEFILE) $$target; \ $(MAKE) -f $(PERL_MAKEFILE) $$target; \ fi build-perl: -perl #build-perl: $(PERL_MAKEFILE) # $(MAKE) -f $(PERL_MAKEFILE) #build-perl-stamp: beacon_wrap.c beacon.h Makefile.perl build-perl-stamp: $(srcdir)/beacon_wrap.c Makefile.perl $(top_srcdir)/libbeacon/beacon.h $(MAKE) build-perl && touch build-perl-stamp #install-data-local: install-perl install-data-local: $(MAKE) -f $(PERL_MAKEFILE) install SWIG_OUTPUTS = Beacon.pm beacon_wrap.c # In distribution, swig generated files are present. EXTRA_DIST = $(SWIG_OUTPUTS) beacon.i Makefile.PL # Maintainer clean the swig generated files, because he/she maintains them. MAINTAINERCLEANFILES = $(SWIG_OUTPUTS) clean-local: rm -rf blib build-perl-stamp $(PERL_MAKEFILE) $(PERL_CRUFT) # perl module installation disabled since broken wrt to make distcheck install-fakeDATA: @true