[Makefile-st.am] Generate st/st.h
All of the st-$foo.h files say to include st.h, but we didn't have one. Therefore, generate it. https://bugzilla.gnome.org/show_bug.cgi?id=605491
This commit is contained in:
parent
7043215f5e
commit
da797dff35
1
.gitignore
vendored
1
.gitignore
vendored
@ -39,6 +39,7 @@ src/gnome-shell
|
|||||||
src/test-recorder
|
src/test-recorder
|
||||||
src/test-recorder.ogg
|
src/test-recorder.ogg
|
||||||
src/test-theme
|
src/test-theme
|
||||||
|
src/st/st.h
|
||||||
stamp-h1
|
stamp-h1
|
||||||
tests/run-test.sh
|
tests/run-test.sh
|
||||||
xmldocs.make
|
xmldocs.make
|
||||||
|
@ -88,18 +88,24 @@ st_source_h = \
|
|||||||
st/st-subtexture.h \
|
st/st-subtexture.h \
|
||||||
st/st-table.h \
|
st/st-table.h \
|
||||||
st/st-table-child.h \
|
st/st-table-child.h \
|
||||||
st/st-table-private.h \
|
|
||||||
st/st-texture-cache.h \
|
st/st-texture-cache.h \
|
||||||
st/st-texture-frame.h \
|
st/st-texture-frame.h \
|
||||||
st/st-theme.h \
|
st/st-theme.h \
|
||||||
st/st-theme-context.h \
|
st/st-theme-context.h \
|
||||||
st/st-theme-node.h \
|
st/st-theme-node.h \
|
||||||
st/st-theme-private.h \
|
|
||||||
st/st-tooltip.h \
|
st/st-tooltip.h \
|
||||||
st/st-types.h \
|
st/st-types.h \
|
||||||
st/st-widget.h \
|
st/st-widget.h \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
st/st.h: Makefile
|
||||||
|
$(AM_V_GEN) (echo "#define ST_H_INSIDE 1"; \
|
||||||
|
for name in $(st_source_h); do \
|
||||||
|
echo "#include <"$$name">"; \
|
||||||
|
done; echo "#undef ST_H_INSIDE") > st/st.h.tmp && mv st/st.h.tmp st/st.h
|
||||||
|
|
||||||
|
BUILT_SOURCES += st/st.h
|
||||||
|
|
||||||
st_source_private_h = \
|
st_source_private_h = \
|
||||||
st/st-private.h \
|
st/st-private.h \
|
||||||
st/st-table-private.h \
|
st/st-table-private.h \
|
||||||
@ -143,8 +149,10 @@ noinst_LTLIBRARIES += libst-1.0.la
|
|||||||
libst_1_0_la_LIBADD = $(ST_LIBS)
|
libst_1_0_la_LIBADD = $(ST_LIBS)
|
||||||
libst_1_0_la_SOURCES = \
|
libst_1_0_la_SOURCES = \
|
||||||
$(st_source_c) \
|
$(st_source_c) \
|
||||||
|
$(st_source_private_h) \
|
||||||
$(st_source_private_c) \
|
$(st_source_private_c) \
|
||||||
$(st_source_h) \
|
$(st_source_h) \
|
||||||
|
st/st.h \
|
||||||
$(st_built_sources) \
|
$(st_built_sources) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
libst_1_0_la_CPPFLAGS = $(st_cflags)
|
libst_1_0_la_CPPFLAGS = $(st_cflags)
|
||||||
|
Loading…
Reference in New Issue
Block a user