83b1cedb86
Because of a history of cut and paste, the different enumeration and marshal generation generation shell snippets were using the same temporary file names. This caused problems for parallel builds. http://bugzilla.gnome.org/show_bug.cgi?id=591474
69 lines
1.6 KiB
Plaintext
69 lines
1.6 KiB
Plaintext
big_cflags = \
|
|
-I$(top_srcdir)/src \
|
|
-DPREFIX=\""$(prefix)"\" \
|
|
-DLIBDIR=\""$(libdir)"\" \
|
|
-DG_DISABLE_DEPRECATED \
|
|
-DG_LOG_DOMAIN=\"Big\" \
|
|
$(BIG_CFLAGS) \
|
|
$(NULL)
|
|
|
|
big_built_sources = \
|
|
big-enum-types.h \
|
|
big-enum-types.c \
|
|
$(NULL)
|
|
|
|
BUILT_SOURCES += $(big_built_sources)
|
|
|
|
BIG_STAMP_FILES = stamp-big-marshal.h stamp-big-enum-types.h
|
|
|
|
# please, keep this sorted alphabetically
|
|
big_source_h = \
|
|
big/box.h \
|
|
big/rectangle.h \
|
|
big/theme-image.h \
|
|
$(NULL)
|
|
|
|
# please, keep this sorted alphabetically
|
|
big_source_c = \
|
|
big/box.c \
|
|
big/rectangle.c \
|
|
big/theme-image.c \
|
|
$(NULL)
|
|
|
|
big-enum-types.h: stamp-big-enum-types.h Makefile
|
|
@true
|
|
stamp-big-enum-types.h: $(big_source_h) big/big-enum-types.h.in
|
|
$(AM_V_GEN) ( cd $(srcdir) && \
|
|
$(GLIB_MKENUMS) \
|
|
--template $(srcdir)/big/big-enum-types.h.in \
|
|
$(big_source_h) ) >> xgen-beth && \
|
|
(cmp -s xgen-beth big-enum-types.h || cp xgen-beth big-enum-types.h) && \
|
|
rm -f xgen-beth && \
|
|
echo timestamp > $(@F)
|
|
|
|
big-enum-types.c: stamp-big-enum-types.h big/big-enum-types.c.in
|
|
$(AM_V_GEN) ( cd $(srcdir) && \
|
|
$(GLIB_MKENUMS) \
|
|
--template $(srcdir)/big/big-enum-types.c.in \
|
|
$(big_source_h) ) >> xgen-betc && \
|
|
cp xgen-betc big-enum-types.c && \
|
|
rm -f xgen-betc
|
|
|
|
noinst_LTLIBRARIES += libbig-1.0.la
|
|
|
|
libbig_1_0_la_LIBADD = $(BIG_LIBS)
|
|
libbig_1_0_la_SOURCES = \
|
|
$(big_source_c) \
|
|
$(big_source_h) \
|
|
$(big_built_sources) \
|
|
$(NULL)
|
|
libbig_1_0_la_CPPFLAGS = $(big_cflags)
|
|
libbig_1_0_la_LDFLAGS = $(LDADD)
|
|
|
|
CLEANFILES += $(BIG_STAMP_FILES) $(BUILT_SOURCES)
|
|
|
|
EXTRA_DIST += \
|
|
big/README \
|
|
big/big-enum-types.h.in \
|
|
big/big-enum-types.c.in
|