mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 04:31:09 +00:00
3659db3a4a
This adds LDFLAGS everywhere where they were previously pulled in via other libraries. This is however unsupported by modern linkers. You can trigger these failures by building with gold (or, I'm told, with very new ld).
46 lines
978 B
Makefile
46 lines
978 B
Makefile
include $(top_srcdir)/Makefile.decl
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir)/gdk \
|
|
-I$(top_srcdir)/gdk \
|
|
-I$(top_srcdir)/gdk/x11 \
|
|
$(GTK_DEBUG_FLAGS) \
|
|
$(GTK_DEP_CFLAGS)
|
|
|
|
DEPS = \
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
$(top_builddir)/gdk/$(gdktargetlib) \
|
|
$(top_builddir)/gtk/$(gtktargetlib)
|
|
|
|
LDADDS = \
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
$(top_builddir)/gdk/$(gdktargetlib) \
|
|
$(top_builddir)/gtk/$(gtktargetlib) \
|
|
$(GTK_DEP_LIBS) \
|
|
$(GDK_DEP_LIBS)
|
|
|
|
if USE_X11
|
|
noinst_PROGRAMS = \
|
|
doc-shooter
|
|
endif
|
|
|
|
doc_shooter_DEPENDENCIES = $(DEPS)
|
|
doc_shooter_LDADD = $(LDADDS)
|
|
doc_shooter_SOURCES= \
|
|
shadow.c \
|
|
shadow.h \
|
|
shooter.c \
|
|
widgets.c \
|
|
widgets.h
|
|
|
|
clean-local:
|
|
for file in *.png; do \
|
|
case "$$file" in \
|
|
folder.png|gnome.png) ;; \
|
|
*) rm -f $$file ;; \
|
|
esac ; \
|
|
done
|
|
|
|
-include $(top_srcdir)/git.mk
|