fixed dependency in bin/Makefile.am

This commit is contained in:
hyunghwan.chung 2020-11-15 09:40:48 +00:00
parent 7677b55db3
commit 560f516d1f
2 changed files with 8 additions and 10 deletions

View File

@ -5,13 +5,12 @@ CPPFLAGS_COMMON = \
-I$(abs_builddir)/../lib \
-I$(abs_srcdir) \
-I$(abs_srcdir)/../lib \
-I$(includedir) \
$(PTHREAD_CFLAGS)
-I$(includedir)
CFLAGS_COMMON =
LDFLAGS_COMMON = -L$(abs_builddir)/../lib -L$(libdir)
LIBADD_COMMON = -lmoo
DEPENDENCIES_COMMON =
DEPENDENCIES_COMMON = ../lib/libmoo.la
bin_PROGRAMS = moo
@ -23,7 +22,7 @@ moo_CPPFLAGS = $(CPPFLAGS_COMMON)
moo_CFLAGS = $(CFLAGS_COMMON)
moo_LDFLAGS = $(LDFLAGS_COMMON)
moo_LDADD = $(LIBADD_COMMON)
moo_DEPENDENCIES = ../lib/libmoo.la
moo_DEPENDENCIES = $(DEPENDENCIES_COMMON)
if ENABLE_EXPERIMENTAL
@ -37,6 +36,6 @@ moo_gtk_CPPFLAGS = $(CPPFLAGS_COMMON) -I/usr/include/gtk-3.0 -I/usr/include/at-s
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
moo_gtk_DEPENDENCIES = ../lib/libmoo.la
moo_gtk_DEPENDENCIES = $(DEPENDENCIES_COMMON)
endif

View File

@ -335,13 +335,12 @@ CPPFLAGS_COMMON = \
-I$(abs_builddir)/../lib \
-I$(abs_srcdir) \
-I$(abs_srcdir)/../lib \
-I$(includedir) \
$(PTHREAD_CFLAGS)
-I$(includedir)
CFLAGS_COMMON =
LDFLAGS_COMMON = -L$(abs_builddir)/../lib -L$(libdir)
LIBADD_COMMON = -lmoo
DEPENDENCIES_COMMON =
DEPENDENCIES_COMMON = ../lib/libmoo.la
##################################################
# moo
@ -351,13 +350,13 @@ moo_CPPFLAGS = $(CPPFLAGS_COMMON)
moo_CFLAGS = $(CFLAGS_COMMON)
moo_LDFLAGS = $(LDFLAGS_COMMON)
moo_LDADD = $(LIBADD_COMMON)
moo_DEPENDENCIES = ../lib/libmoo.la
moo_DEPENDENCIES = $(DEPENDENCIES_COMMON)
@ENABLE_EXPERIMENTAL_TRUE@moo_gtk_SOURCES = gtk-main.c
@ENABLE_EXPERIMENTAL_TRUE@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
@ENABLE_EXPERIMENTAL_TRUE@moo_gtk_CFLAGS = $(CFLAGS_COMMON)
@ENABLE_EXPERIMENTAL_TRUE@moo_gtk_LDFLAGS = $(LDFLAGS_COMMON)
@ENABLE_EXPERIMENTAL_TRUE@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
@ENABLE_EXPERIMENTAL_TRUE@moo_gtk_DEPENDENCIES = ../lib/libmoo.la
@ENABLE_EXPERIMENTAL_TRUE@moo_gtk_DEPENDENCIES = $(DEPENDENCIES_COMMON)
all: all-am
.SUFFIXES: