blob: f1f0c0b42eabc176535d6133b22dc4246a1ec3e5 (
plain)
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
|
ortho_srcdir=..
orthobe_srcdir=$(ortho_srcdir)/gcc
agcc_objdir=.
agcc_srcdir=$(ortho_srcdir)/gcc
AGCC_GCCSRC_DIR:=$(HOME)/dist/gcc-4.0.2
AGCC_GCCOBJ_DIR:=$(AGCC_GCCSRC_DIR)-objs
SED=sed
all: $(ortho_exec)
include $(orthobe_srcdir)/Makefile.inc
ORTHO_BASENAME=$(orthobe_srcdir)/ortho_gcc
ORTHO_PACKAGE=Ortho_Gcc
$(ortho_exec): $(AGCC_DEPS) $(ORTHO_BASENAME).ads force
gnatmake -m -o $@ -g -aI$(ortho_srcdir) \
-aI$(ortho_srcdir)/gcc $(GNAT_FLAGS) ortho_gcc-main \
-bargs -E -largs $(AGCC_OBJS) #-static
clean: agcc-clean
$(RM) -f *.o *.ali ortho_nodes-main
$(RM) b~*.ad? *~
distclean: clean agcc-clean
force:
.PHONY: force all clean
|