forked from webb/niem-json-guidance-auxiliary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
unconfigured.mk
34 lines (24 loc) · 876 Bytes
/
unconfigured.mk
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
# Copyright 2015-2017 Georgia Tech Research Corporation (GTRC). All rights reserved.
this_makefile := ${lastword ${MAKEFILE_LIST}}
autoreconf = autoreconf
find = find
glibtoolize = glibtoolize
sed = sed
.PHONY: default #Default target is "all".
default: all
#HELP:Targets include:
.PHONY: help # Print this help
help:
@ ${sed} -e '/^\.PHONY:/s/^\.PHONY: *\([^ #]*\) *\#\( *\)\([^ ].*\)/\2\1: \3/p;/^[^#]*#HELP:/s/[^#]*#HELP:\(.*\)/\1/p;d' ${this_makefile}
.PHONY: all # build everything so that ./configure will work
all: install-sh configure
.PHONY: clean # Remove everything built by make
clean:
- if [[ -f Makefile ]]; then make distclean; fi
${RM} configure install-sh Makefile ${wildcard *~ .*~}
${RM} -r autom4te.cache
configure: configure.ac
${autoreconf} --install --verbose
install-sh:
${glibtoolize} -icf
${RM} ltmain.sh config.guess config.sub