File tree Expand file tree Collapse file tree 8 files changed +1921
-5
lines changed Expand file tree Collapse file tree 8 files changed +1921
-5
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ noinst_LIBRARIES =
6060noinst_LIBRARIES += libctags.a
6161noinst_LIBRARIES += libutil.a
6262
63- noinst_PROGRAMS =
63+ noinst_PROGRAMS = utiltest
6464
6565# packcc always uses native compiler even when cross-compiling.
6666# packcc cannot use the standard Automake rule.
@@ -126,6 +126,18 @@ libutil_a_CPPFLAGS+= $(DEBUG_CPPFLAGS)
126126endif
127127dist_libutil_a_SOURCES = $(UTIL_HEADS ) $(UTIL_SRCS )
128128
129+ utiltest_CPPFLAGS = -I$(srcdir ) -I$(srcdir ) /main
130+ utiltest_CFLAGS =
131+ utiltest_CFLAGS += $(EXTRA_CFLAGS )
132+ utiltest_CFLAGS += $(WARNING_CFLAGS )
133+ utiltest_CFLAGS += $(COVERAGE_CFLAGS )
134+ if ENABLE_DEBUGGING
135+ utiltest_CPPFLAGS += $(DEBUG_CPPFLAGS )
136+ endif
137+ utiltest_LDADD =
138+ utiltest_LDADD += libutil.a
139+ dist_utiltest_SOURCES = $(UTILTEST_HEADS ) $(UTILTEST_SRCS )
140+
129141libctags_a_CPPFLAGS = -I. -I$(srcdir ) -I$(srcdir ) /main -I$(srcdir ) /dsl -I$(srcdir ) /peg -DHAVE_PACKCC
130142if ENABLE_DEBUGGING
131143libctags_a_CPPFLAGS+ = $(DEBUG_CPPFLAGS )
You can’t perform that action at this time.
0 commit comments