xLua - Lua C++ API

Check-in [2a9391a828]
Login
Overview
Comment:Respect silent mode in custom rules Follow the instructions in the automake documentation to properly silence commands in custom rules when silent mode is enabled.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:2a9391a828e2a30d3071349fbd93b71e5716d25bcd271dcef1b622f475355c5b
User & Date: jmmv@google.com 2014-09-14 11:48:12
Context
2014-09-14
11:50
Remove the only sub-Makefile.am.inc We have more than one top-level directory in the project so it does not make sense to only recurse into one to find Makefile.am.inc files. Get rid of the lonely instance of this instead of sharding the already-simple top-level Makefile.am. check-in: 89ff6d306b user: jmmv@google.com tags: master, trunk
11:48
Respect silent mode in custom rules Follow the instructions in the automake documentation to properly silence commands in custom rules when silent mode is enabled. check-in: 2a9391a828 user: jmmv@google.com tags: master, trunk
2014-08-03
22:48
Make sure libraries in /usr/local/lib are found Explicitly pass rpath and other flags to the build within Travis CI so that we can properly load our dependent libraries. check-in: 50183f8c44 user: jmmv@meroh.net tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.am.

65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
...
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
...
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
liblutok_la_LDFLAGS = -version-info 3:0:0
liblutok_la_LIBADD = $(LUA_LIBS)

pkgconfig_DATA = lutok.pc
CLEANFILES = lutok.pc
EXTRA_DIST += lutok.pc.in
lutok.pc: $(srcdir)/lutok.pc.in Makefile
	sed -e 's#__INCLUDEDIR__#$(includedir)#g' \
	    -e 's#__LIBDIR__#$(libdir)#g' \
	    -e 's#__LUA_CFLAGS__#$(LUA_CFLAGS)#g' \
	    -e 's#__LUA_LIBS__#$(LUA_LIBS)#g' \
	    -e 's#__VERSION__#$(PACKAGE_VERSION)#g' \
	    <$(srcdir)/lutok.pc.in >lutok.pc.tmp
	mv lutok.pc.tmp lutok.pc

CLEAN_TARGETS =
DIST_HOOKS =
PHONY_TARGETS =

examplesdir = $(docdir)/examples
................................................................................
debug_test_CXXFLAGS = $(LUTOK_CFLAGS) $(ATF_CXX_CFLAGS)
debug_test_LDADD = $(LUTOK_LIBS) $(ATF_CXX_LIBS)

tests_SCRIPTS = examples_test
CLEANFILES += examples_test
EXTRA_DIST += examples_test.sh
examples_test: $(srcdir)/examples_test.sh
	sed -e 's,__ATF_SH__,$(ATF_SH),g' \
	    -e 's,__EXAMPLESDIR__,$(examplesdir),g' \
	    -e 's,__LIBDIR__,$(libdir),g' \
	    <$(srcdir)/examples_test.sh >examples_test.tmp
	chmod +x examples_test.tmp
	rm -f examples_test
	mv examples_test.tmp examples_test

tests_PROGRAMS += exceptions_test
exceptions_test_SOURCES = exceptions_test.cpp
exceptions_test_CXXFLAGS = $(LUTOK_CFLAGS) $(ATF_CXX_CFLAGS)
exceptions_test_LDADD = $(LUTOK_LIBS) $(ATF_CXX_LIBS)

................................................................................
# This should probably be html-local, but it seems better to generate the
# documentation in all cases to get warnings about missing documentation every
# time the code is modified.  (And, after all, the documentation is not
# installed so generating it unconditionally is not a big problem.)
all-local: api-docs/api-docs.tag

api-docs/api-docs.tag: $(builddir)/Doxyfile $(SOURCES)
	rm -rf api-docs
	mkdir -p api-docs
	${DOXYGEN} $(builddir)/Doxyfile 2>&1 | tee api-docs/warnings
	rm -f api-docs/html/installdox
api-docs/html: api-docs/api-docs.tag

CLEAN_TARGETS += clean-api-docs
clean-api-docs:
	rm -rf api-docs








|




|







 







|


|
|
|







 







|
|
|







65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
...
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
...
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
liblutok_la_LDFLAGS = -version-info 3:0:0
liblutok_la_LIBADD = $(LUA_LIBS)

pkgconfig_DATA = lutok.pc
CLEANFILES = lutok.pc
EXTRA_DIST += lutok.pc.in
lutok.pc: $(srcdir)/lutok.pc.in Makefile
	$(AM_V_GEN)sed -e 's#__INCLUDEDIR__#$(includedir)#g' \
	    -e 's#__LIBDIR__#$(libdir)#g' \
	    -e 's#__LUA_CFLAGS__#$(LUA_CFLAGS)#g' \
	    -e 's#__LUA_LIBS__#$(LUA_LIBS)#g' \
	    -e 's#__VERSION__#$(PACKAGE_VERSION)#g' \
	    <$(srcdir)/lutok.pc.in >lutok.pc.tmp; \
	mv lutok.pc.tmp lutok.pc

CLEAN_TARGETS =
DIST_HOOKS =
PHONY_TARGETS =

examplesdir = $(docdir)/examples
................................................................................
debug_test_CXXFLAGS = $(LUTOK_CFLAGS) $(ATF_CXX_CFLAGS)
debug_test_LDADD = $(LUTOK_LIBS) $(ATF_CXX_LIBS)

tests_SCRIPTS = examples_test
CLEANFILES += examples_test
EXTRA_DIST += examples_test.sh
examples_test: $(srcdir)/examples_test.sh
	$(AM_V_GEN)sed -e 's,__ATF_SH__,$(ATF_SH),g' \
	    -e 's,__EXAMPLESDIR__,$(examplesdir),g' \
	    -e 's,__LIBDIR__,$(libdir),g' \
	    <$(srcdir)/examples_test.sh >examples_test.tmp; \
	chmod +x examples_test.tmp; \
	rm -f examples_test; \
	mv examples_test.tmp examples_test

tests_PROGRAMS += exceptions_test
exceptions_test_SOURCES = exceptions_test.cpp
exceptions_test_CXXFLAGS = $(LUTOK_CFLAGS) $(ATF_CXX_CFLAGS)
exceptions_test_LDADD = $(LUTOK_LIBS) $(ATF_CXX_LIBS)

................................................................................
# This should probably be html-local, but it seems better to generate the
# documentation in all cases to get warnings about missing documentation every
# time the code is modified.  (And, after all, the documentation is not
# installed so generating it unconditionally is not a big problem.)
all-local: api-docs/api-docs.tag

api-docs/api-docs.tag: $(builddir)/Doxyfile $(SOURCES)
	$(AM_V_GEN)rm -rf api-docs; \
	mkdir -p api-docs; \
	${DOXYGEN} $(builddir)/Doxyfile 2>&1 | tee api-docs/warnings; \
	rm -f api-docs/html/installdox
api-docs/html: api-docs/api-docs.tag

CLEAN_TARGETS += clean-api-docs
clean-api-docs:
	rm -rf api-docs