File: Makefile.stub

package info (click to toggle)
asis 3.12p-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,920 kB
  • ctags: 3
  • sloc: ada: 76,459; perl: 1,330; makefile: 87
file content (57 lines) | stat: -rw-r--r-- 928 bytes parent folder | download
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
#host system
host := $(shell gcc -dumpmachine)

# Where Asis library should be installed
INSTALL_DIR=$(HOME)/local

# Asis specific directories
GNAT_DIR=../gnat
ASIS_DIR=../asis

# System commands
CHMOD = chmod
LN = ln -s

CP = cp -p
INSTALL_FILES = cp -p
MKDIR = mkdir -p
exe_ext =
arext = .a
soext = .so
# object extension
objext = .o
RM = rm -f
RMDIR = rm -rf
AR = ar
AR_FLAGS = rc
RANLIB = ranlib
RANLIB_TEST = [ -f /usr/bin/ranlib -o -f /bin/ranlib ]
GNATMAKE_FLAGS =

ifeq "$(findstring mingw32, $(host))" "mingw32"
   CP = cp -lf
   INSTALL_FILES = cp -lf
   MKDIR = mkdir -p
   exe_ext= .exe
endif

ifeq "$(findstring OpenVMS, $(host))" "OpenVMS"
   exe_ext = .exe
   objext = .obj
   arext = .olb
   soext = .exe
   objext = .obj
   AR = lib
   AR_FLAGS = /create
   GNATMAKE_FLAGS = -nognatlib
endif

#  GNAT specific flags
ADAFLAGS=

# GNATMAKE specific flags
GMFLAGS=

# GCC backend specific flags
CFLAGS= -O2
CC=gcc