aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am18
1 files changed, 14 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c43b7c7..99965fd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,11 +18,14 @@ sources_h = \
idoentrymenuitem.h \
idomessagedialog.h \
idorange.h \
- idooffscreenproxy.h \
idoscalemenuitem.h \
idotimeline.h \
libido.h
+if USE_GTK3
+sources_h += idooffscreenproxy.h
+endif
+
EXTRA_DIST = \
ido.list \
idotypebuiltins.h.template \
@@ -64,8 +67,12 @@ libido_0_1_la_SOURCES = \
idomessagedialog.c \
idorange.c \
idoscalemenuitem.c \
- idotimeline.c \
- idooffscreenproxy.c
+ idotimeline.c
+
+if USE_GTK3
+libido_0_1_la_SOURCES += idooffscreenproxy.c
+endif
+
libido3_0_1_la_SOURCES = $(libido_0_1_la_SOURCES)
libidoincludedir=$(includedir)/libido$(VER)-0.1/libido
@@ -77,9 +84,12 @@ libidoinclude_HEADERS = \
idorange.h \
idoscalemenuitem.h \
idotimeline.h \
- idooffscreenproxy.h \
libido.h
+if USE_GTK3
+libidoinclude_HEADERS += idooffscreenproxy.h
+endif
+
libido_0_1_la_LIBADD = $(GTK_LIBS)
libido_0_1_la_LDFLAGS = $(GTK_LT_LDFLAGS)
libido3_0_1_la_LIBADD = $(libido_0_1_la_LIBADD)