summaryrefslogtreecommitdiff
path: root/matecomponent/panel-module/Makefile.am
blob: 8c35312749f42537ad62f280d55756b572577a50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
panelmodule_LTLIBRARIES = libmate-panel-applets-matecomponent.la
panelmoduledir = $(modulesdir)

libmate_panel_applets_matecomponent_la_SOURCES =	\
	$(CORBA_SRCLIST)		\
	mate-panel-applets-matecomponent-module.c	\
	mate-panel-applets-manager-matecomponent.c	\
	mate-panel-applets-manager-matecomponent.h	\
	mate-panel-applet-frame-matecomponent.c	\
	mate-panel-applet-frame-matecomponent.h

libmate_panel_applets_matecomponent_la_CPPFLAGS =	\
	$(MATECOMPONENT_CFLAGS)		\
	-I$(top_srcdir)			\
	-I$(top_srcdir)/mate-panel	\
	-I$(top_builddir)		\
	-DDATADIR=\""$(datadir)"\"

libmate_panel_applets_matecomponent_la_LDFLAGS =				\
	-export_dynamic -avoid-version -module -no-undefined	\
	-export-symbols-regex '^g_io_module_(load|unload|query)'

libmate_panel_applets_matecomponent_la_LIBADD =	\
	$(MATECOMPONENT_LIBS)

CORBA_SRCLIST =			\
	MATE_Panel-stubs.c	\
	MATE_Panel-skels.c	\
	MATE_Panel-common.c	\
	MATE_Panel.h

$(CORBA_SRCLIST): $(top_srcdir)/matecomponent/idl/MATE_Panel.idl $(MATECORBA_IDL)
	$(AM_V_GEN)$(MATECORBA_IDL) -I $(MATECOMPONENT_IDLDIR) -I $(MATECOMPONENT_ACT_IDLDIR) $(top_srcdir)/matecomponent/idl/MATE_Panel.idl

xmluidir   = $(datadir)/mate-2.0/ui
xmlui_DATA = MATE_Panel_Popup.xml

install-data-hook:
	if test -z "$(DESTDIR)" -a "$(GIO_QUERYMODULES)" != "no" ; then	\
		$(GIO_QUERYMODULES) $(modulesdir) ;			\
	fi
uninstall-local:
	if test "$(GIO_QUERYMODULES)" != "no" ; then	\
		$(GIO_QUERYMODULES) $(modulesdir) ;	\
	fi

EXTRA_DIST = $(xmlui_DATA)

CLEANFILES = $(CORBA_SRCLIST)

-include $(top_srcdir)/git.mk