## Process this file with automake to produce Makefile.in. # CFLAGS += -Wall \ # -Wpointer-arith \ # -Wmissing-prototypes -Wmissing-declarations ## We require new-style dependency handling. AUTOMAKE_OPTIONS = 1.3 INCLUDES = -I. -I$(srcdir) \ -I$(top_srcdir)/intl \ -I$(top_builddir)/intl \ -I$(top_builddir)/panel \ -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \ -I$(includedir) $(GNOME_INCLUDEDIR) $(ORB_CFLAGS) bin_PROGRAMS = panel libpanel_appletincludedir = $(includedir) lib_LTLIBRARIES = libpanel_applet.la CORBA_SRCLIST = gnome-panel-stubs.c gnome-panel-skels.c gnome-panel-common.c gnome-panel.h # try to make these get cleaned properly CLEANFILES += $(CORBA_SRCLIST) $(CORBA_SRCLIST): $(top_srcdir)/idl/gnome-panel.idl $(ORBIT_IDL) $(ORBIT_IDL) $< # We need explicit dependencies here for people building out # of the tarballs. extern.c: gnome-panel.h libpanel_applet_la_SOURCES = \ panel-util.c \ panel-util.h \ applet-widget.c \ $(CORBA_SRCLIST) libpanel_appletinclude_HEADERS = \ applet-widget.h \ gnome-panel.h \ panel-types.h libpanel_applet_la_LDFLAGS = -version-info 0:0:0 -rpath $(libdir) libpanel_applet_la_LIBADD = $(ORB_LIBS) -lm $(DL_LIB) BUILT_SOURCES = $(CORBA_SRCLIST) base_panel_SOURCES=\ panel-include.h \ main.c \ main.h \ applet.c \ applet.h \ panel.c \ panel.h \ session.c \ session.h \ panel_config.c \ panel_config.h \ panel_config_global.c \ panel_config_global.h \ menu.c \ menu.h \ launcher.c \ launcher.h \ logout.c \ logout.h \ extern.c \ extern.h \ swallow.c \ swallow.h \ drawer.c \ drawer.h \ panel-widget.c \ panel-widget.h \ basep-widget.c \ basep-widget.h \ snapped-widget.c \ snapped-widget.h \ drawer-widget.c \ drawer-widget.h \ corner-widget.c \ corner-widget.h \ button-widget.c \ button-widget.h \ panel-util.c \ panel-util.h \ gdkextra.c \ gdkextra.h panel_SOURCES = \ $(base_panel_SOURCES) \ $(CORBA_SRCLIST) $(base_panel_SOURCES): $(CORBA_SRCLIST) panel_LDADD = libpanel_applet.la $(GNOME_LIBDIR) $(GNORBA_LIBS) $(ORB_LIBS) $(GNOMEUI_LIBS) $(INTLLIBS) panel_LDFLAGS=-export-dynamic data_DATA = panelrc ## Why not just make this via configure? Because @datadir@ will be ## expanded incorrectly. # xpanel: xpanel.in Makefile # ## Why do a sed and then an mv? To avoid problems if the user # ## interrupts. # sed -e 's,\@bindir\@,$(bindir),g' < $(srcdir)/xpanel.in \ # > xpanel.tmp && chmod +x xpanel.tmp && mv -f xpanel.tmp xpanel panelrc: panelrc.in Makefile ## Why do a sed and then an mv? To avoid problems if the user ## interrupts. sed -e 's,\@datadir\@,$(datadir),g' < $(srcdir)/panelrc.in \ > panelrc.tmp && mv -f panelrc.tmp panelrc MOSTLYCLEANFILES = panelrc MAINTAINERCLEANFILES = $(CORBA_SRCLIST) EXTRA_DIST = \ panelrc.in \ panel.in \ appletsConf.sh.in \ panel.gnorba \ panel.soundlist ## 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?\@GNOME_INCLUDEDIR\@?$(GNOME_INCLUDEDIR)?g' \ -e 's?\@GNOMEGNORBA_LIBS\@?$(GNOMEGNORBA_LIBS)?g' \ < $(srcdir)/appletsConf.sh.in > appletsConf.tmp \ && mv appletsConf.tmp appletsConf.sh panelgnorbadir = $(sysconfdir)/CORBA/servers panelgnorba_DATA = panel.gnorba soundlistdir = $(sysconfdir)/sound/events soundlist_DATA = panel.soundlist