-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathMakefile.am
52 lines (43 loc) · 1.68 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
#
# Makefile.am -- Top level Makefile template
#
# Copyright 2013,2014,2015,2017,2018,2019,2021
# James Fidell ([email protected])
#
# License:
#
# This file is part of the Open Astro Project.
#
# The Open Astro Project is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# The Open Astro Project is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with the Open Astro Project. If not, see
# <http://www.gnu.org/licenses/>.
#
#SUBDIRS = bin docs include liboafilterwheel udev
ACLOCAL_AMFLAGS=-I m4
WARN_SUBDIRS = liboautil liboavideo liboacam liboademosaic liboaSER \
liboafilterwheel liboaPTR liboaimgproc liboaephem common osx \
oacapture oalive
NOWARN_SUBDIRS = ext udev bin packagers
SUBDIRS = $(NOWARN_SUBDIRS) $(WARN_SUBDIRS)
WARNINGS = -g -O -Wall -Werror -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign $(OSX_WARNINGS)
warnings:
$(MAKE) V=0 CFLAGS='$(WARNINGS)' CXXFLAGS='$(WARNINGS)'
$(MAKE) V=0 CFLAGS='$(WARNINGS)' CXXFLAGS='$(WARNINGS)' $(check_PROGRAMS)
verbose-warnings:
$(MAKE) V=1 CFLAGS='$(WARNINGS)' CXXFLAGS='$(WARNINGS)'
$(MAKE) V=1 CFLAGS='$(WARNINGS)' CXXFLAGS='$(WARNINGS)' $(check_PROGRAMS)
dmg:
bin/build-oacapture-dmg.sh
bin/build-oalive-dmg.sh
osx-pkg:
bin/build-osx-pkg.sh