summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-panel-applet/Makefile.am')
-rw-r--r--libmate-panel-applet/Makefile.am14
1 files changed, 13 insertions, 1 deletions
diff --git a/libmate-panel-applet/Makefile.am b/libmate-panel-applet/Makefile.am
index a718e373..cb83268c 100644
--- a/libmate-panel-applet/Makefile.am
+++ b/libmate-panel-applet/Makefile.am
@@ -14,7 +14,18 @@ libmate_panel_appletinclude_HEADERS = \
mate-panel-applet.h \
mate-panel-applet-gsettings.h \
mate-panel-applet-enums.h
-
+if HAVE_GTK3
+libmate_panel_applet_4_la_SOURCES = \
+ $(BUILT_SOURCES) \
+ mate-panel-applet.h \
+ mate-panel-applet.c \
+ mate-panel-applet-factory.h \
+ mate-panel-applet-factory.c \
+ mate-panel-applet-gsettings.c \
+ mate-panel-applet-gsettings.h \
+ panel-plug.c \
+ panel-plug-private.h
+else
libmate_panel_applet_4_la_SOURCES = \
$(BUILT_SOURCES) \
mate-panel-applet.h \
@@ -23,6 +34,7 @@ libmate_panel_applet_4_la_SOURCES = \
mate-panel-applet-factory.c \
mate-panel-applet-gsettings.c \
mate-panel-applet-gsettings.h
+endif
libmate_panel_applet_4_la_LIBADD = \
$(LIBMATE_PANEL_APPLET_LIBS) \