Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jean-Baptiste Kempf
libaacs
Commits
2a4ef4b0
Commit
2a4ef4b0
authored
Oct 08, 2013
by
npzacs
Browse files
Reduce make recursion: merge src/examples/Makefile.am to src/Makefile.am
parent
6e1153b0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Makefile.am
View file @
2a4ef4b0
SUBDIRS
=
src
src/examples
SUBDIRS
=
src
ACLOCAL_AMFLAGS
=
-I
m4
...
...
configure.ac
View file @
2a4ef4b0
...
...
@@ -177,5 +177,5 @@ AC_SUBST(LT_VERSION_INFO)
dnl generate output files
AC_SUBST(SET_FEATURES)
AC_CONFIG_FILES([Makefile src/Makefile
src/examples/Makefile
src/libaacs.pc src/libaacs/aacs-version.h])
AC_CONFIG_FILES([Makefile src/Makefile src/libaacs.pc src/libaacs/aacs-version.h])
AC_OUTPUT
src/Makefile.am
View file @
2a4ef4b0
...
...
@@ -67,3 +67,19 @@ clean-lex-yacc:
# do not distribute files that should be generated by lex/yacc locally
dist-hook
:
(
cd
$(distdir)
&&
rm
-f
$(BUILT_SOURCES)
)
#
# programs
#
noinst_PROGRAMS
=
parser_test
bin_PROGRAMS
=
aacs_info
parser_test_SOURCES
=
examples/parser_test.c
\
file/keydbcfg-parser.y
\
file/keydbcfg-lexer.l
parser_test_CFLAGS
=
-std
=
c99
$(SET_FEATURES)
$(SET_INCLUDES)
aacs_info_SOURCES
=
examples/aacs_info.c
aacs_info_CFLAGS
=
-std
=
c99
$(SET_FEATURES)
$(SET_INCLUDES)
aacs_info_LDADD
=
libaacs.la
src/examples/Makefile.am
deleted
100644 → 0
View file @
6e1153b0
SET_FEATURES
=
-D_ISOC99_SOURCE
-D_POSIX_C_SOURCE
=
200112L
-D_REENTRANT
SET_INCLUDES
=
-I
$(top_srcdir)
-I
$(top_srcdir)
/src
-I
$(top_srcdir)
/src/file
AM_CFLAGS
=
-std
=
c99
$(SET_FEATURES)
$(SET_INCLUDES)
AACS_LIB
=
$(top_builddir)
/src/libaacs.la
noinst_PROGRAMS
=
parser_test
bin_PROGRAMS
=
aacs_info
parser_test_SOURCES
=
parser_test.c
\
$(top_builddir)
/src/keydbcfg-lexer.c
\
$(top_builddir)
/src/keydbcfg-parser.c
parser_test_LDADD
=
$(AACS_LIB)
aacs_info_SOURCES
=
aacs_info.c
aacs_info_LDADD
=
$(AACS_LIB)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment