2 # realtime test suite Makefile.
4 # Copyright (C) 2009, Cisco Systems Inc.
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License along
17 # with this program; if not, write to the Free Software Foundation, Inc.,
18 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 # Garrett Cooper, September 2009
25 # Override these variables to use non-system available tools.
28 AUTOHEADER ?
= autoheader
31 include $(top_srcdir
)/include/mk
/env_pre.mk
32 -include $(abs_srcdir
)/config.mk
35 FILTER_OUT_DIRS
:= $(LIBDIR
)
36 LIB
:= $(LIBDIR
)/librealtime.a
38 # START autotools junk
39 AUTOGENERATED_FILES
= \
42 AUTOMAKE_FILES
:= config.guess config.sub install-sh missing stamp-h1
44 .PHONY
: autotools aclocal autoconf autoheader automake
45 autotools
: aclocal autoconf autoheader automake
47 .PHONY
: ac-clean ac-distclean ac-maintainer-clean
49 $(RM
) -rf autom4te.cache
50 $(RM
) -f aclocal.m4 config.log config.status
51 $(RM
) -f
include/realtime_config.h
include/realtime_config.h.in
include/stamp-h1
53 ac-distclean
:: ac-clean
54 ac-maintainer-clean
:: ac-distclean
55 $(RM
) -f aclocal.m4 configure
$(AUTOMAKE_FILES
) m4
/Makefile.in
58 $(ACLOCAL
) -I
$(abs_srcdir
)/m4
62 include/realtime_config.h.in
: configure.in
$(wildcard m4
/*.m4
) aclocal.m4
65 configure
: configure.in aclocal.m4
67 automake
: $(AUTOMAKE_FILES
)
68 $(AUTOMAKE_FILES
): m4
/Makefile.in
69 m4
/Makefile.in
: m4
/Makefile.am aclocal.m4
73 autoheader
: include/realtime_config.h.in
76 distclean:: %: clean ac-distclean
77 $(RM
) -f
$(AUTOGENERATED_FILES
)
79 maintainer-clean
:: distclean ac-maintainer-clean
81 $(AUTOGENERATED_FILES
): $(top_builddir
)/config.status
90 $(MAKE
) -C
$^
-f
"$(abs_srcdir)/$(LIBDIR)/Makefile" all
94 trunk-clean
:: | lib-clean
97 $(MAKE
) -C
$^
-f
"$(abs_srcdir)/$(LIBDIR)/Makefile" clean
99 include $(top_srcdir
)/include/mk
/generic_trunk_target.mk