-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
73 lines (43 loc) · 2.14 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
## Process this file with automake to produce Makefile.in
# ###################
# debug this makefile
# Debug building the project using GNU Make extensions
# Must me deactivated during autoreconf
# OLD_SHELL := $(SHELL)
# SHELL = $(info Building $@ $(if $<, (from $<))$(if $?, ($? newer)))$(OLD_SHELL)
#$(info OLD_SHELL: $(OLD_SHELL))
#$(info SHELL: $(SHELL))
#$(info .CURDIR: $(.CURDIR))
#$(info CURDIR: $(CURDIR))
#$(info MAKEFLAGS = $(MAKEFLAGS))
# #####################
# MAKE rules start here
bin_PROGRAMS = stdtests$(EXEEXT) generator$(EXEEXT)
stdtests_SOURCES = $(top_srcdir)/src/stdtests.c \
$(top_srcdir)/include/compiler.h $(top_builddir)/lastbuild.h \
$(top_srcdir)/Makefile.am $(top_srcdir)/Makefile.in $(top_builddir)/Makefile \
$(top_srcdir)/configure.ac $(top_srcdir)/configure
# Helper tool for MAINTAINER_MODE
generator_SOURCES = $(top_srcdir)/template/generator.c $(top_builddir)/lastbuild.h \
$(top_srcdir)/include/fix_non_posix_systems.h \
$(top_srcdir)/Makefile.am $(top_srcdir)/Makefile.in $(top_builddir)/Makefile \
$(top_srcdir)/configure.ac $(top_srcdir)/configure
# timestamp for this build
$(top_builddir)/lastbuild.h: $(top_srcdir)/Makefile.am $(top_srcdir)/Makefile.in $(top_builddir)/Makefile \
$(top_srcdir)/configure.ac $(top_srcdir)/configure
date >lastbuild.h "+#define LASTBUILD %s"
echo >>lastbuild.h "/* automatic created from Makefile */"
#config.h: configure $(top_srcdir)/Makefile.in $(top_srcdir)/Makefile.am
# $(top_srcdir)/configure
MOSTLYCLEANFILES = *.o *.obj $(bin_PROGRAMS)
CLEANFILES = lastbuild.h stamp-h \
$(top_builddir)/cxx_filtered_headers_ac.txt $(top_builddir)/cxx_filtered_headers_ac.txt \
$(top_builddir)/config.h $(top_builddir)/config.log $(top_builddir)/config.status
DISTCLEANFILES = $(top_srcdir)/Makefile.in $(top_builddir)/Makefile \
$(top_srcdir)/configure $(top_srcdir)/config.in $(top_builddir)/config.h
update: $(top_srcdir)/configure.ac $(top_srcdir)/Makefile.in
cd '$(top_srcdir)' && ./bootstrap -v
init: $(top_srcdir)/configure.ac $(top_srcdir)/Makefile.in
cd '$(top_srcdir)' && ./bootstrap -v
.PHONY: init, update
### the end