1## Process this file with automake to generate Makefile.in 2# 3# Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 4# Free Software Foundation, Inc. 5# 6# This program is free software; you can redistribute it and/or modify 7# it under the terms of the GNU General Public License as published by 8# the Free Software Foundation; either version 3 of the License, or 9# (at your option) any later version. 10# 11# This program is distributed in the hope that it will be useful, 12# but WITHOUT ANY WARRANTY; without even the implied warranty of 13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14# GNU General Public License for more details. 15# You should have received a copy of the GNU General Public License 16# along with this program; if not, write to the Free Software 17# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 19AUTOMAKE_OPTIONS = 20 21# this is where Gnash plugins get installed 22cgidir = $(libdir)/cygnal/plugins 23 24cgi_LTLIBRARIES = echo.la # gateway.la 25 26GNASH_LIBS = \ 27 $(top_builddir)/libbase/libgnashbase.la \ 28 $(top_builddir)/libcore/libgnashcore.la \ 29 ../../libamf/libgnashamf.la \ 30 ../../libnet/libgnashnet.la \ 31 $(BOOST_LIBS) \ 32 $(NULL) 33 34AM_CPPFLAGS = \ 35 -I$(top_srcdir)/libbase \ 36 -I$(top_srcdir)/libcore \ 37 -I$(top_srcdir)/libltdl \ 38 -I$(top_srcdir)/cygnal \ 39 -I$(top_srcdir)/cygnal/libamf \ 40 -I$(top_srcdir)/cygnal/libnet \ 41 $(BOOST_CFLAGS) \ 42 $(PTHREAD_CFLAGS) 43 44echo_la_SOURCES = echo.cpp echo.h 45echo_la_LDFLAGS = -module -avoid-version -no-undefined 46echo_la_LIBADD = $(GNASH_LIBS) $(top_builddir)/cygnal/libcygnal.la 47 48# gateway_la_SOURCES = gateway.cpp gateway.h 49# gateway_la_LDFLAGS = -module -avoid-version -no-undefined 50# gateway_la_LIBADD = $(GNASH_LIBS) $(top_builddir)/cygnal/libcygnal.la 51 52CLEANFILES = \ 53 gnash-dbg.log 54 55install-cgiLTLIBRARIES: $(cgi_LTLIBRARIES) 56 test -d "$(DESTDIR)$(cgidir)" || $(mkinstalldirs) "$(DESTDIR)$(cgidir)" 57 $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $(cgi_LTLIBRARIES) "$(DESTDIR)$(cgidir)/$(cgi_LTLIBRARIES)" 58 $(RM) $(DESTDIR)$(cgidir)/*.a $(DESTDIR)$(cgidir)/*.la 59 60uninstall-local: 61 $(RM) $(DESTDIR)$(cgidir)/echo.so 62