2009-09-08 15:47:30 -04:00
|
|
|
st_cflags = \
|
|
|
|
-I$(top_srcdir)/src \
|
|
|
|
-DPREFIX=\""$(prefix)"\" \
|
|
|
|
-DLIBDIR=\""$(libdir)"\" \
|
|
|
|
-DG_DISABLE_DEPRECATED \
|
|
|
|
-DG_LOG_DOMAIN=\"St\" \
|
|
|
|
-DST_COMPILATION \
|
|
|
|
-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \
|
|
|
|
$(ST_CFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
st_built_sources = \
|
|
|
|
st-enum-types.h \
|
|
|
|
st-enum-types.c \
|
|
|
|
st-marshal.h \
|
|
|
|
st-marshal.c
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(st_built_sources)
|
|
|
|
|
|
|
|
EXTRA_DIST += \
|
2009-10-02 12:02:25 -04:00
|
|
|
st/test-theme.css \
|
2009-09-08 15:47:30 -04:00
|
|
|
st/st-marshal.list \
|
|
|
|
st/st-enum-types.h.in \
|
|
|
|
st/st-enum-types.c.in
|
|
|
|
|
|
|
|
CLEANFILES += stamp-st-marshal.h stamp-st-enum-types.h
|
|
|
|
|
|
|
|
st-marshal.h: stamp-st-marshal.h
|
|
|
|
@true
|
|
|
|
stamp-st-marshal.h: Makefile st/st-marshal.list
|
|
|
|
$(AM_V_GEN) $(GLIB_GENMARSHAL) \
|
|
|
|
--prefix=_st_marshal \
|
|
|
|
--header \
|
|
|
|
$(srcdir)/st/st-marshal.list > $@.tmp && \
|
|
|
|
(cmp -s $@.tmp st-marshal.h || cp -f $@.tmp st-marshal.h) && \
|
|
|
|
rm -f $@.tmp && \
|
|
|
|
echo timestamp > $(@F)
|
|
|
|
|
|
|
|
st-marshal.c: Makefile st/st-marshal.list
|
|
|
|
$(AM_V_GEN) (echo "#include \"st-marshal.h\"" ; \
|
|
|
|
$(GLIB_GENMARSHAL) \
|
|
|
|
--prefix=_st_marshal \
|
|
|
|
--body \
|
|
|
|
$(srcdir)/st/st-marshal.list ) > $@.tmp && \
|
|
|
|
cp -f $@.tmp st-marshal.c && \
|
|
|
|
rm -f $@.tmp
|
|
|
|
|
|
|
|
st-enum-types.h: stamp-st-enum-types.h Makefile
|
|
|
|
@true
|
|
|
|
stamp-st-enum-types.h: $(source_h) st/st-enum-types.h.in
|
|
|
|
$(AM_V_GEN) ( cd $(srcdir) && \
|
|
|
|
$(GLIB_MKENUMS) \
|
|
|
|
--template st/st-enum-types.h.in \
|
|
|
|
$(st_source_h) ) >> $@.tmp && \
|
|
|
|
(cmp -s $@.tmp st-enum-types.h || cp $@.tmp st-enum-types.h) && \
|
|
|
|
rm -f $@.tmp && \
|
|
|
|
echo timestamp > $(@F)
|
|
|
|
|
|
|
|
st-enum-types.c: stamp-st-enum-types.h st/st-enum-types.c.in
|
|
|
|
$(AM_V_GEN) ( cd $(srcdir) && \
|
|
|
|
$(GLIB_MKENUMS) \
|
|
|
|
--template st/st-enum-types.c.in \
|
|
|
|
$(st_source_h) ) >> $@.tmp && \
|
|
|
|
cp $@.tmp $@ && \
|
|
|
|
rm -f $@.tmp
|
|
|
|
|
|
|
|
# please, keep this sorted alphabetically
|
|
|
|
st_source_h = \
|
2009-09-09 23:13:35 -04:00
|
|
|
st/st-adjustment.h \
|
2009-09-08 15:47:30 -04:00
|
|
|
st/st-bin.h \
|
2009-09-20 16:50:42 -04:00
|
|
|
st/st-border-image.h \
|
2009-09-10 01:42:25 -04:00
|
|
|
st/st-box-layout.h \
|
|
|
|
st/st-box-layout-child.h \
|
2009-09-09 23:13:35 -04:00
|
|
|
st/st-button.h \
|
2009-09-10 04:39:27 -04:00
|
|
|
st/st-clipboard.h \
|
|
|
|
st/st-entry.h \
|
2009-10-05 16:33:19 -04:00
|
|
|
st/st-im-text.h \
|
2009-09-10 04:39:27 -04:00
|
|
|
st/st-label.h \
|
2009-10-02 12:02:25 -04:00
|
|
|
st/st-private.h \
|
2009-09-09 23:13:35 -04:00
|
|
|
st/st-scrollable.h \
|
|
|
|
st/st-scroll-bar.h \
|
|
|
|
st/st-scroll-view.h \
|
2009-09-08 15:47:30 -04:00
|
|
|
st/st-subtexture.h \
|
2009-09-29 23:13:29 -04:00
|
|
|
st/st-table.h \
|
|
|
|
st/st-table-child.h \
|
2009-10-02 12:02:25 -04:00
|
|
|
st/st-table-private.h \
|
2009-09-08 15:47:30 -04:00
|
|
|
st/st-texture-cache.h \
|
|
|
|
st/st-texture-frame.h \
|
2009-09-19 20:43:49 -04:00
|
|
|
st/st-theme.h \
|
|
|
|
st/st-theme-context.h \
|
|
|
|
st/st-theme-node.h \
|
2009-10-02 12:02:25 -04:00
|
|
|
st/st-theme-private.h \
|
2009-09-08 15:47:30 -04:00
|
|
|
st/st-tooltip.h \
|
|
|
|
st/st-types.h \
|
|
|
|
st/st-widget.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2009-09-19 20:43:49 -04:00
|
|
|
st_source_private_h = \
|
|
|
|
st/st-private.h \
|
2009-09-29 23:13:29 -04:00
|
|
|
st/st-table-private.h \
|
2009-09-19 20:43:49 -04:00
|
|
|
st/st-theme-private.h
|
|
|
|
|
2009-09-08 15:47:30 -04:00
|
|
|
# please, keep this sorted alphabetically
|
|
|
|
st_source_c = \
|
2009-09-09 23:13:35 -04:00
|
|
|
st/st-adjustment.c \
|
2009-09-08 15:47:30 -04:00
|
|
|
st/st-bin.c \
|
2009-09-20 16:50:42 -04:00
|
|
|
st/st-border-image.c \
|
2009-09-10 01:42:25 -04:00
|
|
|
st/st-box-layout.c \
|
|
|
|
st/st-box-layout-child.c \
|
2009-09-09 23:13:35 -04:00
|
|
|
st/st-button.c \
|
2009-09-10 04:39:27 -04:00
|
|
|
st/st-clipboard.c \
|
|
|
|
st/st-entry.c \
|
2009-10-05 16:33:19 -04:00
|
|
|
st/st-im-text.c \
|
2009-09-10 04:39:27 -04:00
|
|
|
st/st-label.c \
|
2009-09-08 15:47:30 -04:00
|
|
|
st/st-private.c \
|
2009-09-09 23:13:35 -04:00
|
|
|
st/st-scrollable.c \
|
|
|
|
st/st-scroll-bar.c \
|
|
|
|
st/st-scroll-view.c \
|
2009-09-08 15:47:30 -04:00
|
|
|
st/st-subtexture.c \
|
2009-09-29 23:13:29 -04:00
|
|
|
st/st-table.c \
|
|
|
|
st/st-table-child.c \
|
2009-09-08 15:47:30 -04:00
|
|
|
st/st-texture-cache.c \
|
|
|
|
st/st-texture-frame.c \
|
2009-09-19 20:43:49 -04:00
|
|
|
st/st-theme.c \
|
|
|
|
st/st-theme-context.c \
|
|
|
|
st/st-theme-node.c \
|
2009-09-08 15:47:30 -04:00
|
|
|
st/st-tooltip.c \
|
|
|
|
st/st-widget.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES += libst-1.0.la
|
|
|
|
|
|
|
|
libst_1_0_la_LIBADD = $(ST_LIBS)
|
|
|
|
libst_1_0_la_SOURCES = \
|
|
|
|
$(st_source_c) \
|
2009-09-19 20:43:49 -04:00
|
|
|
$(st_source_private_c) \
|
2009-09-08 15:47:30 -04:00
|
|
|
$(st_source_h) \
|
|
|
|
$(st_built_sources) \
|
|
|
|
$(NULL)
|
|
|
|
libst_1_0_la_CPPFLAGS = $(st_cflags)
|
|
|
|
libst_1_0_la_LDFLAGS = $(LDADD)
|
2009-09-19 20:43:49 -04:00
|
|
|
|
|
|
|
noinst_PROGRAMS += test-theme
|
|
|
|
|
|
|
|
test_theme_CPPFLAGS = $(st_cflags)
|
|
|
|
test_theme_LDADD = libst-1.0.la
|
|
|
|
|
|
|
|
test_theme_SOURCES = st/test-theme.c
|