2019-05-14 04:07:23 +00:00
|
|
|
AUTOMAKE_OPTIONS = nostdinc
|
|
|
|
|
2020-11-15 09:06:57 +00:00
|
|
|
CPPFLAGS_COMMON = \
|
2019-05-14 04:07:23 +00:00
|
|
|
-I$(abs_builddir) \
|
|
|
|
-I$(abs_builddir)/../lib \
|
|
|
|
-I$(abs_srcdir) \
|
|
|
|
-I$(abs_srcdir)/../lib \
|
2020-11-15 09:40:48 +00:00
|
|
|
-I$(includedir)
|
2019-05-14 04:07:23 +00:00
|
|
|
|
2020-11-15 09:06:57 +00:00
|
|
|
CFLAGS_COMMON =
|
|
|
|
LDFLAGS_COMMON = -L$(abs_builddir)/../lib -L$(libdir)
|
2020-11-16 13:02:52 +00:00
|
|
|
LIBADD_COMMON = ../lib/libmoo.la
|
2019-05-14 04:07:23 +00:00
|
|
|
|
|
|
|
bin_PROGRAMS = moo
|
2019-05-21 17:24:27 +00:00
|
|
|
|
|
|
|
##################################################
|
|
|
|
# moo
|
|
|
|
##################################################
|
2019-05-14 04:07:23 +00:00
|
|
|
moo_SOURCES = main.c
|
2020-11-15 09:06:57 +00:00
|
|
|
moo_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
moo_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
moo_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
moo_LDADD = $(LIBADD_COMMON)
|
2019-05-14 04:07:23 +00:00
|
|
|
|
2019-05-22 08:49:27 +00:00
|
|
|
|
|
|
|
if ENABLE_EXPERIMENTAL
|
|
|
|
|
|
|
|
##################################################
|
|
|
|
# moo-gtk - experimental. the following configuration is temporary only.
|
|
|
|
##################################################
|
|
|
|
bin_PROGRAMS += moo-gtk
|
|
|
|
moo_gtk_SOURCES = gtk-main.c
|
2020-11-15 09:06:57 +00:00
|
|
|
moo_gtk_CPPFLAGS = $(CPPFLAGS_COMMON) -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
|
|
|
|
moo_gtk_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
moo_gtk_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
moo_gtk_LDADD = $(LIBADD_COMMON) -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
|
2019-05-22 08:49:27 +00:00
|
|
|
|
|
|
|
endif
|