2003-05-24 21:47:06 +00:00
|
|
|
plugindir=$(libdir)/openbox/plugins
|
|
|
|
|
2003-06-29 08:47:24 +00:00
|
|
|
AM_CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
|
|
|
|
$(XML_CFLAGS) \
|
|
|
|
-DPLUGINDIR=\"$(plugindir)\"
|
2003-05-24 21:47:06 +00:00
|
|
|
|
|
|
|
INCLUDES=-I../.. -I../../tools
|
|
|
|
|
|
|
|
plugin_LTLIBRARIES=resistance.la
|
|
|
|
if OBCONF
|
|
|
|
plugin_LTLIBRARIES+=resistance-config.la
|
|
|
|
endif
|
|
|
|
|
2003-06-29 08:47:24 +00:00
|
|
|
resistance_la_CPPFLAGS=$(AM_CPPFLAGS) -DG_LOG_DOMAIN=\"Plugin-Resistance\"
|
2003-05-24 21:47:06 +00:00
|
|
|
resistance_la_LDFLAGS=-module -avoid-version
|
2003-06-29 08:47:24 +00:00
|
|
|
resistance_la_SOURCES=resistance.c resistance.h
|
2003-05-24 21:47:06 +00:00
|
|
|
|
|
|
|
if OBCONF
|
2003-06-29 08:47:24 +00:00
|
|
|
resistance_config_la_CPPFLAGS=$(AM_CPPFLAGS) \
|
|
|
|
-DG_LOG_DOMAIN=\"Plugin-Resistance\" \
|
2003-05-24 21:47:06 +00:00
|
|
|
$(GTK_CFLAGS) $(GLADE_CFLAGS)
|
|
|
|
resistance_config_la_LDFLAGS=-module -avoid-version
|
|
|
|
resistance_config_la_SOURCES=resistance_config.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_DATA=resistance.glade resistance.gladep
|
|
|
|
|
2003-06-29 08:47:24 +00:00
|
|
|
EXTRA_DIST=$(noinst_DATA)
|
|
|
|
|
2003-05-24 21:47:06 +00:00
|
|
|
MAINTAINERCLEANFILES= Makefile.in
|
|
|
|
|
|
|
|
distclean-local:
|
|
|
|
$(RM) *\~ *.orig *.rej .\#*
|