blob: b73e9b34fdaabe9004ffe44a07566b9d4cca8973 (
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
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
###############################################################################
## ##
## midipix target-specific build recipes ##
## ##
## Copyright (C) 2014--2017 Z. Gilboa ##
## ##
## This program 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. ##
## ##
## This program 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 this program. If not, see <http://www.gnu.org/licenses/>. ##
## ##
###############################################################################
midipix_winnt_common.o: s-output $(srcdir)/config/i386/winnt.c \
$(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h output.h $(TREE_H) flags.h \
$(TM_P_H) $(HASHTAB_H) $(GGC_H) $(LTO_STREAMER_H)
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
--include=$(srcdir)/config/i386/midipix_winnt_common.h \
$(srcdir)/config/i386/winnt.c -o midipix_winnt_common.o
midipix_winnt_cxx.o: $(srcdir)/config/i386/winnt-cxx.c \
$(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TM_H) $(TREE_H) flags.h \
$(TM_P_H) $(HASHTAB_H) $(GGC_H)
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
--include=$(srcdir)/config/i386/midipix_winnt_common.h \
$(srcdir)/config/i386/winnt-cxx.c -o $@
midipix_winnt_stubs.o: $(srcdir)/config/i386/winnt-stubs.c \
$(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h output.h $(TREE_H) flags.h \
$(TM_P_H) $(HASHTAB_H) $(GGC_H)
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
$(srcdir)/config/i386/winnt-stubs.c -o $@
midipix.o: $(srcdir)/config/i386/midipix.c coretypes.h
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
$(srcdir)/config/i386/midipix.c -o $@
STMP_FIXINC = stmp-fixinc
LIMITS_H_TEST = true
CUSTOM_CRTSTUFF = yes
SHLIB_EXT = .so
SHLIB_IMPLIB = @shlib_base_name@.lib.a
SHLIB_SOVERSION = 1
SHLIB_SONAME = @shlib_base_name@$(EH_MODEL).so
SHLIB_MAP = @shlib_map_file@
SHLIB_OBJS = @shlib_objs@
SHLIB_DIR = @multilib_dir@
SHLIB_SLIBDIR_QUAL = @shlib_slibdir_qual@
SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk
SHLIB_MKMAP_OPTS = -v pe_dll=libgcc_s$(EH_MODEL).so
SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver
SHLIB_LINK = $(GCC_FOR_TARGET) \
$(LIBGCC2_CFLAGS) \
-shared -mout-dsolib \
-nodefaultlibs \
-o $(SHLIB_DIR)/$(SHLIB_SONAME) \
$(SHLIB_OBJS) \
--sysroot=$$(cbb_sysroot_for_libgcc)
SHLIB_INSTALL = \
$$(mkinstalldirs) \
$$(DESTDIR)$$(SHLIB_DLLDIR) \
$$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL); \
$(INSTALL) \
$(SHLIB_DIR)/$(SHLIB_SONAME) \
$$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SONAME); \
$(INSTALL_DATA) \
$(SHLIB_DIR)/$(SHLIB_IMPLIB) \
$$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_IMPLIB); \
|