toshok%hungry.com 015b6f10f4 get the Compiler/CodeGenerator/md stuff compiling
git-svn-id: svn://10.0.0.236/trunk@16127 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:06:25 +00:00

74 lines
2.1 KiB
Makefile

#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../../..
MODULE_NAME = hppa
include $(DEPTH)/config/config.mk
INCLUDES += \
-I$(DEPTH)/Utilities/General \
-I$(DEPTH)/Utilities/zlib \
-I$(DEPTH)/Runtime/ClassReader \
-I$(DEPTH)/Compiler/FrontEnd \
-I$(DEPTH)/Runtime/NativeMethods \
-I$(DEPTH)/Runtime/System \
-I$(DEPTH)/Compiler/PrimitiveGraph \
-I$(DEPTH)/Runtime/ClassInfo \
-I$(DEPTH)/Runtime/FileReader \
-I$(DEPTH)/Compiler/CodeGenerator \
-I$(DEPTH)/Compiler/CodeGenerator/md \
-I$(DEPTH)/Compiler/RegisterAllocator \
$(NULL)
CXXSRCS = \
HPPAEmitter.cpp \
HPPAInstruction.cpp \
HPPAMul.cpp \
hppa.nad.burg.cpp \
$(NULL)
include $(DEPTH)/config/rules.mk
export:: hppa.nad.burg.cpp
libs:: $(MODULE)
#
# Rules to generate hppa.nad.burg.[cpp][h]
#
hppa.nad.burg.cpp: hppa.nad.burg $(BURG)
$(BURG) -I -o $@ < $<
hppa.nad.burg: hppa.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 hppa.nad.burg.cpp hppa.nad.burg.h hppa.nad.burg
realclean clobber_all::
rm -f hppa.nad.burg.cpp hppa.nad.burg.h hppa.nad.burg