зеркало из https://github.com/mozilla/gecko-dev.git
97 строки
3.0 KiB
Makefile
97 строки
3.0 KiB
Makefile
#!gmake
|
|
#
|
|
# The contents of this file are subject to the Netscape Public
|
|
# License Version 1.1 (the "License"); you may not use this file
|
|
# except in compliance with the License. You may obtain a copy of
|
|
# the License at http://www.mozilla.org/NPL/
|
|
#
|
|
# Software distributed under the License is distributed on an "AS
|
|
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
# implied. See the License for the specific language governing
|
|
# rights and limitations under the License.
|
|
#
|
|
# The Original Code is mozilla.org code.
|
|
#
|
|
# The Initial Developer of the Original Code is Netscape
|
|
# Communications Corporation. Portions created by Netscape are
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
# Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
|
|
#######################################################################
|
|
# (1) Directory specific info #
|
|
#######################################################################
|
|
|
|
DEPTH = ../../..
|
|
|
|
CPPSRCS = PPC601AppleMacOSEmitter.cpp \
|
|
PPCInstructions.cpp \
|
|
ppc601-macos.nad.burg.cpp \
|
|
$(NULL)
|
|
|
|
LOCAL_MD_EXPORTS_ppc = AssembledInstructions.h \
|
|
PPC601AppleMacOSEmitter.h \
|
|
PPC601AppleMacOS_Support.h \
|
|
PPC601Cpu.h \
|
|
PPCCalls.h \
|
|
PPCInstructionTemplates.h \
|
|
PPCInstructions.h \
|
|
$(NULL)
|
|
|
|
|
|
|
|
|
|
MODULE_NAME = EF
|
|
|
|
#######################################################################
|
|
# (2) Include "component" configuration information. #
|
|
#######################################################################
|
|
|
|
include $(DEPTH)/config/config.mk
|
|
|
|
#######################################################################
|
|
# (3) Include "local" platform-dependent assignments (OPTIONAL). #
|
|
#######################################################################
|
|
|
|
|
|
#######################################################################
|
|
# (4) Execute "component" rules. (OPTIONAL) #
|
|
#######################################################################
|
|
|
|
include $(DEPTH)/config/rules.mk
|
|
|
|
#######################################################################
|
|
# (7) Execute "local" rules. (OPTIONAL). #
|
|
#######################################################################
|
|
|
|
#
|
|
# Rules to obtain burg-generated files
|
|
#
|
|
export:: ppc601-macos.nad.burg.cpp
|
|
|
|
|
|
#
|
|
# Rules to generate ppc601-macos.nad.burg.[cpp][h]
|
|
#
|
|
|
|
ppc601-macos.nad.burg.cpp: ppc601-macos.nad.burg $(BURG)
|
|
$(BURG) -I -o $@ < $<
|
|
|
|
ppc601-macos.nad.burg: ppc601-macos.nad $(DEPTH)/Compiler/PrimitiveGraph/PrimitiveOperations $(DEPTH)/Tools/Nad/nad.pl
|
|
$(PERL) $(DEPTH)/Tools/Nad/nad.pl $< $(DEPTH)/Compiler/PrimitiveGraph/PrimitiveOperations \
|
|
$(DEPTH)/Compiler/PrimitiveGraph/PrimitiveOperations.h \
|
|
$(DEPTH)/Compiler/PrimitiveGraph/PrimitiveOperations.cpp \
|
|
$<.burg.h > $@
|
|
|
|
#
|
|
# Extra cleaning
|
|
#
|
|
|
|
clobber::
|
|
rm -f ppc601-macos.nad.burg.cpp ppc601-macos.nad.burg.h ppc601-macos.nad.burg
|
|
|
|
realclean clobber_all::
|
|
rm -f ppc601-macos.nad.burg.cpp ppc601-macos.nad.burg.h ppc601-macos.nad.burg
|
|
|