##DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64 # # D r . D e a m o n 6 4 # for INTEL64(R), AMD64(R) # # Copyright(C) 2007-2009 Koine Yuusuke(koinec). All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY Koine Yuusuke(koinec) ``AS IS'' AND ANY # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE # DISCLAIMED. IN NO EVENT SHALL Koine Yuusuke(koinec) OR CONTRIBUTORS BE # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # OF THE POSSIBILITY OF SUCH DAMAGE. # ##DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64 ## File Info ----------------------------------------------------------- # File: Makefile # Function: # Comment: ##---------------------------------------------------------------------- # Section 1 : Setting Build Command #################################### MAKE = make LIBINTEL64ASM_DIR = libintel64asm TESTPG01_DIR = ../testpg/testpg01 TESTPG01_TARGET = count TESTPG02_DIR = ../testpg/testpg02 TESTPG02_TARGET = dwarftest TESTPG02_OBJ = dwarftest dwarfnodbg dwarfnodbg.dbg \ libsotest.so libsonodbg.so libsonodbg.dbg TESTDATA_TARGET = drd64_testdata all: setup coreout.core $(TESTPG01_TARGET) $(TESTPG02_TARGET) TESTDATA_TARGET: all setup: touch $(TESTDATA_TARGET) cp ../$(LIBINTEL64ASM_DIR)/x8664db.csv . coreout.core: $(MAKE) -C ../toolpg/coreout coreout clean -./coreout $(TESTPG01_TARGET): $(MAKE) -C $(TESTPG01_DIR) all clean $(TESTPG02_TARGET): $(MAKE) -C $(TESTPG02_DIR) all clean clean: rm -f *.o rm -f *.csv rm -f *.core rm -f coreout rm -f $(TESTPG01_TARGET) rm -f $(TESTPG02_OBJ) rm -f $(TESTDATA_TARGET)