File: Makefile.stub

package info (click to toggle)
asis 2019-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 13,848 kB
  • sloc: ada: 156,772; makefile: 296; sh: 81; xml: 48; csh: 10
file content (34 lines) | stat: -rw-r--r-- 734 bytes parent folder | download | duplicates (2)
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
#host system
host := $(shell gcc -dumpmachine)

# Where Asis library should be installed
# Default is into current GNAT directory
INSTALL_DIR = $(dir $(shell which gnatls))..
prefix=$(INSTALL_DIR)

# System commands
exe_ext =
GPRBUILD = gprbuild
GPRINSTALL = gprinstall
GPRCLEAN = gprclean
GPRBUILD_FLAGS = -vl

# External Variable to pass to project file
OPSYS=default_Unix

ifeq "$(findstring mingw32, $(host))" "mingw32"
   exe_ext= .exe
endif

ifeq "$(findstring powerpc-ibm-aix, $(host))" "powerpc-ibm-aix"
   CFLAGS = -O2 -g -mminimal-toc
   OPSYS=powerpc_aix
endif

ifeq "$(findstring hppa1.1-hp-hpux, $(host))" "hppa1.1-hp-hpux"
   CFLAGS = -O2 -g -mdisable-indexing
   OPSYS=pa_hpux
endif

# GPRBUILD specific flags
GMFLAGS=