Commit 4109b0c8 authored by Arturo Espinosa's avatar Arturo Espinosa

Files required to get gnome-config to provide support for applets



Files required to get gnome-config to provide support for
applets compilation.  This is all you need to do:

cc applet_source.c `gnome-config --libs --cflags applets`

To get your applet compiled now.

Miguel.
parent e67585d0
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
## We require new-style dependency handling. ## We require new-style dependency handling.
AUTOMAKE_OPTIONS = 1.2f AUTOMAKE_OPTIONS = 1.2f
#enable swallows for testing only, not for release! # enable swallows for testing only, not for release!
#(it's after 0.20 so I guess swallows can be enabled, # (it's after 0.20 so I guess swallows can be enabled,
#maybe someone will fix it up) # maybe someone will fix it up)
CFLAGS += -D_SWALLOW_ CFLAGS += -D_SWALLOW_
CFLAGS += -D_DRAWER_ CFLAGS += -D_DRAWER_
...@@ -122,4 +122,21 @@ panelrc: panelrc.in Makefile ...@@ -122,4 +122,21 @@ panelrc: panelrc.in Makefile
MOSTLYCLEANFILES = panelrc MOSTLYCLEANFILES = panelrc
EXTRA_DIST = panelrc.in panel.in gnome-panel.idl EXTRA_DIST = panelrc.in panel.in gnome-panel.idl appletsConf.sh.in
## Put `exec' in the name because this should be installed by
## `install-exec', not `install-data'.
confexecdir = $(libdir)
confexec_DATA = appletsConf.sh
#
# Create the appletsConf.sh file from the .sh.in file
#
appletsConf.sh: appletsConf.sh.in Makefile
sed -e 's,\@GNOME_LIBDIR\@,$(GNOME_LIBDIR),g' \
-e 's,\@GNOMEUI_LIBS\@,$(GNOMEUI_LIBS),g' \
-e 's,\@GNOME_INCLUDEDIR\@,$(GNOME_INCLUDEDIR),g' \
-e 's,\@MICO_LIBS\@,$(MICO_LIBS),g' \
-e 's,\@INTLLIBS\@,$(INTLLIBS),g' \
< $(srcdir)/appletsConf.sh.in > appletsConf.tmp \
&& mv appletsConf.tmp appletsConf.sh
#
# Configuration file for creating GNOME panel applets
#
APPLETS_LIBDIR="@GNOME_LIBDIR@"
APPLETS_LIBS="@GNOMEUI_LIBS@ @MICO_LIBS@ @INTLLIBS@"
APPLETS_INCLUDEDIR="@GNOME_INCLUDEDIR@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment