2008-12-01 23:01:52 +00:00
|
|
|
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
|
2009-08-06 20:56:06 +00:00
|
|
|
$(AM_V_GEN) ( cd $(srcdir) && \
|
2008-12-01 23:01:52 +00:00
|
|
|
$(GLIB_MKENUMS) \
|
|
|
|
--template $(srcdir)/big/big-enum-types.h.in \
|
2009-08-11 18:21:13 +00:00
|
|
|
$(big_source_h) ) >> xgen-beth && \
|
|
|
|
(cmp -s xgen-beth big-enum-types.h || cp xgen-beth big-enum-types.h) && \
|
|
|
|
rm -f xgen-beth && \
|
2008-12-01 23:01:52 +00:00
|
|
|
echo timestamp > $(@F)
|
|
|
|
|
|
|
|
big-enum-types.c: stamp-big-enum-types.h big/big-enum-types.c.in
|
2009-08-06 20:56:06 +00:00
|
|
|
$(AM_V_GEN) ( cd $(srcdir) && \
|
2008-12-01 23:01:52 +00:00
|
|
|
$(GLIB_MKENUMS) \
|
|
|
|
--template $(srcdir)/big/big-enum-types.c.in \
|
2009-08-11 18:21:13 +00:00
|
|
|
$(big_source_h) ) >> xgen-betc && \
|
|
|
|
cp xgen-betc big-enum-types.c && \
|
|
|
|
rm -f xgen-betc
|
2008-12-01 23:01:52 +00:00
|
|
|
|
|
|
|
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)
|
|
|
|
|
2009-03-10 16:53:03 +00:00
|
|
|
EXTRA_DIST += \
|
|
|
|
big/README \
|
2008-12-01 23:01:52 +00:00
|
|
|
big/big-enum-types.h.in \
|
|
|
|
big/big-enum-types.c.in
|