mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
31 lines
973 B
Makefile
31 lines
973 B
Makefile
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
ifdef GNU_AS
|
|
ifeq ($(findstring arm,$(OS_TEST)), arm)
|
|
|
|
# These flags are a lie; they're just used to enable the requisite
|
|
# opcodes; actual arch detection is done at runtime.
|
|
ASFLAGS = -march=armv7-a -mfpu=neon
|
|
|
|
armfrag-gnu.$(ASM_SUFFIX): armopts-gnu.S
|
|
armidct-gnu.$(ASM_SUFFIX): armopts-gnu.S
|
|
armloop-gnu.$(ASM_SUFFIX): armopts-gnu.S
|
|
|
|
# armopts needs a specific rule, because arm2gnu.pl will always add the .S
|
|
# suffix when translating the files that include it.
|
|
armopts-gnu.S: arm/armopts.s
|
|
$(PERL) $(srcdir)/arm/arm2gnu.pl < $< > $@
|
|
# For all others, we can use an implicit rule with the configured $(ASM_SUFFIX).
|
|
%-gnu.$(ASM_SUFFIX): arm/%.s
|
|
$(PERL) $(srcdir)/arm/arm2gnu.pl < $< > $@
|
|
|
|
endif
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
LOCAL_INCLUDES = -I$(srcdir)
|