From 559f6496a940a57c56c3a7b0d10cd14f1c191a8c Mon Sep 17 00:00:00 2001 From: ssuen Date: Wed, 1 Aug 2007 18:47:26 +0000 Subject: [PATCH] Add new ppc32_linux platform. - - - - - - - - - - - - - - - - - - - - - --- codeCoverage/ppc32_linux/Makefile | 41 ++++++++++++ common/ppc32_linux/Makefile | 64 +++++++++++++++++++ dyner/ppc32_linux/Makefile | 32 ++++++++++ dyninstAPI/ppc32_linux/Makefile | 98 +++++++++++++++++++++++++++++ dyninstAPI/tests/ppc32_linux/Makefile | 82 ++++++++++++++++++++++++ dyninstAPI_RT/ppc32_linux/Makefile | 67 ++++++++++++++++++++ igen/ppc32_linux/Makefile | 24 +++++++ make.config | 9 ++- mrnet/ppc32_linux/Makefile | 78 +++++++++++++++++++++++ paradyn/ppc32_linux/Makefile | 62 ++++++++++++++++++ paradynd/ppc32_linux/Makefile | 96 ++++++++++++++++++++++++++++ pdthread/ppc32_linux/Makefile | 33 ++++++++++ pdutil/ppc32_linux/Makefile | 31 +++++++++ rtinst/ppc32_linux/Makefile | 72 +++++++++++++++++++++ sharedMem/ppc32_linux/Makefile | 39 ++++++++++++ symtabAPI/ppc32_linux/Makefile | 83 ++++++++++++++++++++++++ testsuite/ppc32_linux/Makefile | 88 ++++++++++++++++++++++++++ visi/ppc32_linux/Makefile | 56 +++++++++++++++++ visiClients/barchart/ppc32_linux/Makefile | 37 +++++++++++ visiClients/histVisi/ppc32_linux/Makefile | 32 ++++++++++ visiClients/phaseTable/ppc32_linux/Makefile | 32 ++++++++++ visiClients/tableVisi/ppc32_linux/Makefile | 52 +++++++++++++++ visiClients/tclVisi/ppc32_linux/Makefile | 32 ++++++++++ visiClients/termWin/ppc32_linux/Makefile | 32 ++++++++++ visiClients/terrain/ppc32_linux/Makefile | 63 +++++++++++++++++++ 25 files changed, 1334 insertions(+), 1 deletion(-) create mode 100644 codeCoverage/ppc32_linux/Makefile create mode 100644 common/ppc32_linux/Makefile create mode 100644 dyner/ppc32_linux/Makefile create mode 100644 dyninstAPI/ppc32_linux/Makefile create mode 100644 dyninstAPI/tests/ppc32_linux/Makefile create mode 100644 dyninstAPI_RT/ppc32_linux/Makefile create mode 100644 igen/ppc32_linux/Makefile create mode 100644 mrnet/ppc32_linux/Makefile create mode 100644 paradyn/ppc32_linux/Makefile create mode 100644 paradynd/ppc32_linux/Makefile create mode 100644 pdthread/ppc32_linux/Makefile create mode 100644 pdutil/ppc32_linux/Makefile create mode 100644 rtinst/ppc32_linux/Makefile create mode 100644 sharedMem/ppc32_linux/Makefile create mode 100644 symtabAPI/ppc32_linux/Makefile create mode 100644 testsuite/ppc32_linux/Makefile create mode 100644 visi/ppc32_linux/Makefile create mode 100644 visiClients/barchart/ppc32_linux/Makefile create mode 100644 visiClients/histVisi/ppc32_linux/Makefile create mode 100644 visiClients/phaseTable/ppc32_linux/Makefile create mode 100644 visiClients/tableVisi/ppc32_linux/Makefile create mode 100644 visiClients/tclVisi/ppc32_linux/Makefile create mode 100644 visiClients/termWin/ppc32_linux/Makefile create mode 100644 visiClients/terrain/ppc32_linux/Makefile diff --git a/codeCoverage/ppc32_linux/Makefile b/codeCoverage/ppc32_linux/Makefile new file mode 100644 index 0000000..5ea9fad --- /dev/null +++ b/codeCoverage/ppc32_linux/Makefile @@ -0,0 +1,41 @@ +# Define any symbols needed to invoke configuration changes in make.config + +DEBUG_FLAG = -g -gstabs+ +NO_IMPLICIT_TEMPLATES = true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include ../../make.config + +# Now make any necessary architecture specific changes to variables: + +SRCS = + +MYFLAGS += -I/usr/include/libelf + +CXXFLAGS += $(MYFLAGS) +CFLAGS += $(MYFLAGS) +TFLAGS += $(MYFLAGS) + +# Tradeoff: adding -g to TFLAGS aids gdb but uses gobs of disk space +#TFLAGS += -g + +SYSLIBS = -ldl + +AS = /usr/bin/as + +# no support for elf64_XXX() functions +#CXXFLAGS += -DUSES_ELF32_ONLY +#CFLAGS += -DUSES_ELF32_ONLY +#TFLAGS += -DUSES_ELF32_ONLY + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard library template". This defines all the +# common targets like "clean", "install", etc. + +include ../../make.program.tmpl diff --git a/common/ppc32_linux/Makefile b/common/ppc32_linux/Makefile new file mode 100644 index 0000000..52b5cfe --- /dev/null +++ b/common/ppc32_linux/Makefile @@ -0,0 +1,64 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:28 ssuen Exp $ +# + +# Define any symbols needed to invoke configuration changes in make.config + +#USES_SHM_SAMPLING = true +#USES_PAPI = true +#DEBUG_FLAG = -g +NO_IMPLICIT_TEMPLATES = true +USES_DWARF_DEBUG = true +USES_LIBELF = true + +# For debugging. +#NO_OPT_FLAG = true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include ../../make.config + +# Now make any necessary architecture specific changes to variables: + +SRCS = ../../common/src/linuxKludges.C \ + ../../common/src/timing-linux.C + +#MYFLAGS += -DNO_MDL_PRINT +#MYFLAGS += -DLD_DEBUG +#MYFLAGS += -DATTACH_DETACH_DEBUG +#MYFLAGS += -DPTRACEDEBUG +#MYFLAGS += -DPTRACEDEBUG_EXCESSIVE +#MYFLAGS += -DPTRACEDEBUG_ALWAYS +#MYFLAGS += -DINST_TRAP_DEBUG +#MYFLAGS += -DSIGNAL_DEBUG +#MYFLAGS += -DASTDEBUG +#MYFLAGS += -DINFERIOR_RPC_DEBUG + +CXXFLAGS += $(MYFLAGS) +CFLAGS += $(MYFLAGS) +TFLAGS += $(MYFLAGS) + +# Tradeoff: adding -g to TFLAGS aids gdb but uses gobs of disk space +#TFLAGS += -g + +SYSLIBS = -ldl + +LIBS += -lgcc + +AS = /usr/bin/as + + +# Add preprocessor and special link information for G++ +G_PTHREAD = -pthread +G_PTHREAD_LD = -pthread + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard library template". This defines all the +# common targets like "clean", "install", etc. + +include ../../make.library.tmpl diff --git a/dyner/ppc32_linux/Makefile b/dyner/ppc32_linux/Makefile new file mode 100644 index 0000000..5e436e9 --- /dev/null +++ b/dyner/ppc32_linux/Makefile @@ -0,0 +1,32 @@ + +USES_TCLTK = true + +# include ../Make.common +# DO NOT DELETE + +TO_CORE = ../.. +NO_OPT_FLAG=true +NO_IMPLICIT_TEMPLATES=true +USES_DWARF_DEBUG=true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include $(TO_CORE)/make.config + +# Now make any necessary architecture specific changes to variables: + +SYSLIBS += -lnsl +LIBS = -L$(LIBDWARF_LIB) -ldwarf + +MUTATEE_CFLAGS += -rdynamic -ldl + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard program template". This defines all the +# common targets like "clean", "install", etc. + +include $(TO_CORE)/make.program.tmpl diff --git a/dyninstAPI/ppc32_linux/Makefile b/dyninstAPI/ppc32_linux/Makefile new file mode 100644 index 0000000..ab3928f --- /dev/null +++ b/dyninstAPI/ppc32_linux/Makefile @@ -0,0 +1,98 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:30 ssuen Exp $ +# + +# Define any symbols needed to invoke configuration changes in make.config + +#USES_SHM_SAMPLING = true +#USES_PAPI = true +#DEBUG_FLAG = -g +NO_IMPLICIT_TEMPLATES = true +USES_DWARF_DEBUG = true +USES_LIBELF = true +USES_BOOST = true + +# For debugging. +#NO_OPT_FLAG = true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include ../../make.config + +# Now make any necessary architecture specific changes to variables: + +SRCS = ../src/linux.C \ + ../src/linux-power.C \ + ../src/linuxDL.C \ + ../src/dynamiclinking.C \ + ../src/linuxMT.C \ + ../src/inst-linux.C \ + ../src/inst-power.C \ + ../src/arch-power.C \ + ../src/unix.C \ + ../src/parseStab.C \ + ../src/InstrucIter-power.C \ + ../src/addLibraryLinux.C \ + ../src/writeBackElf.C \ + ../src/saveSharedLibrary.C \ + ../src/image-power.C \ + ../src/parseDwarf.C \ + ../src/syscall-linux.C + +#MYFLAGS += -DNO_MDL_PRINT +#MYFLAGS += -DLD_DEBUG +#MYFLAGS += -DATTACH_DETACH_DEBUG +#MYFLAGS += -DPTRACEDEBUG +#MYFLAGS += -DPTRACEDEBUG_EXCESSIVE +#MYFLAGS += -DPTRACEDEBUG_ALWAYS +#MYFLAGS += -DINST_TRAP_DEBUG +#MYFLAGS += -DSIGNAL_DEBUG +#MYFLAGS += -DASTDEBUG +#MYFLAGS += -DINFERIOR_RPC_DEBUG +MYFLAGS += -DUSES_DWARF_DEBUG -I$(LIBDWARF_INC) +MYFLAGS += -I$(LIBELF_INC) +MYFLAGS += -I/usr/include/libelf + +CXXFLAGS += $(MYFLAGS) +CFLAGS += $(MYFLAGS) +TFLAGS += $(MYFLAGS) + +# Tradeoff: adding -g to TFLAGS aids gdb but uses gobs of disk space +#TFLAGS += -g + +SYSLIBS = -ldl + +LIBS += -L$(LIBDWARF_LIB) -L$(LIBELF_LIB) +ifdef LIBDWARFSTATIC +LIBS += -Wl,-static -ldwarf -Wl,-call_shared +else +LIBS += -ldwarf +endif +ifdef LIBELFSTATIC +LIBS += -Wl,-static -lelf -Wl,-call_shared +else +LIBS += -lelf +endif +LIBS += -lgcc + +# AS = /usr/bin/as + +# no support for elf64_XXX() functions +# CXXFLAGS += -DUSES_ELF32_ONLY +# CFLAGS += -DUSES_ELF32_ONLY +# TFLAGS += -DUSES_ELF32_ONLY + +# Add preprocessor and special link information for G++ +G_PTHREAD = -pthread +G_PTHREAD_LD = -pthread + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard library template". This defines all the +# common targets like "clean", "install", etc. + +include ../../make.library.tmpl diff --git a/dyninstAPI/tests/ppc32_linux/Makefile b/dyninstAPI/tests/ppc32_linux/Makefile new file mode 100644 index 0000000..da00aaf --- /dev/null +++ b/dyninstAPI/tests/ppc32_linux/Makefile @@ -0,0 +1,82 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:31 ssuen Exp $ +# + +# Define any symbols needed to invoke configuration changes in make.config +TO_CORE = ../../.. +NO_OPT_FLAG=true +NO_IMPLICIT_TEMPLATES = true +USES_DWARF_DEBUG = true +USES_LIBELF = true +DEBUG_FLAG = -g + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. +include $(TO_CORE)/make.config + +# Now make any necessary architecture specific changes to variables: + +#if M_G77 is defined, g77 mutatees will be built +M_G77 = g77 + +# there is no "native" or OS-provided compiler for Linux! +# we use the Portland Group compilers, as that's what we've currently got +# (in future we probably also want to test with the KAI/Intel compilers) +ifdef PGI +NATIVE_CC = pgcc +NATIVE_CXX = pgCC +COMPILERT_NATIVE_CC = $(shell $(NATIVE_CC) -V 2>/dev/null | grep '^pg' | head -1) +COMPILERT_NATIVE_CXX = $(shell $(NATIVE_CXX) -V 2>/dev/null | grep '^pg' | head -1) +endif + +GNU_WARNING_FLAGS = -W -Wall +MUTATOR_CXXFLAGS += $(GNU_WARNING_FLAGS) +MUTATEE_CFLAGS_GNU = $(UNIFIED_DEF) $(GNU_WARNING_FLAGS) +MUTATEE_CXXFLAGS_GNU = $(UNIFIED_DEF) $(GNU_WARNING_FLAGS) + +# Tests 1, 2, and 12 use libdl. It is only added to their link lines +# as we must also test the harder-to-bootstrap general case (mutatee +# without the libdl) +MUTATEE_USE_LIBDL_SELECTIVELY = true +MUTATEE_LIBS = +MUTATEE_LDFLAGS_GNU += -Wl,-export-dynamic +MUTATEE_LDFLAGS_NATIVE += -Wl,-export-dynamic + +MUTATEE_LDFLAGS_GNU += $(LDFLAGS) +MUTATEE_LDFLAGS_NATIVE += $(LDFLAGS) + +COMMA=, +MUTATEE_G77_FFLAGS += -Dppc64_linux -DF77 -fno-second-underscore -g +MUTATEE_G77_FFLAGS += $(F77FLAGS) +MUTATEE_G77_CFLAGS += $(filter-out -Wl$(COMMA)-export-dynamic, $(MUTATEE_CFLAGS_GNU)) +MUTATEE_G77_CFLAGS += -DF77 -DFortran -g $(MUTATEE_FFLAGS) -c +MUTATEE_G77_CFLAGS += $(CFLAGS) +TEST1_FORTRAN_CSOURCE = test1.mutateeFortC.c + +MUTATEE_G77_LDFLAGS += $(LDFLAGS) + +MUTATOR_LIBS += -liberty +MUTATEE_CFLAGS_NATIVE = $(UNIFIED_DEF) -g +MUTATEE_CXXFLAGS_NATIVE = $(UNIFIED_DEF) -g + +# Definitions used for test1 assembly +TEST1_AS = gcc -c +TEST1_ASFLAGS = $(MUTATEE_CFLAGS_GNU) +#CALL35_1_SRC = call35_1_x86_linux.s + +# Definition used for test6 assembly +NASM = $(GCC) +TEST6_AS_GNU = $(NASM) +#TEST6_ASFLAGS_GNU = -f elf -dPLATFORM=$(PLATFORM) +TEST6_ASFLAGS_GNU = $(CFLAGS) -c +TEST6_AS_SRC = test6LS-powerpc.S +TEST6_AS_OBJ_BASE = $(basename $(TEST6_AS_SRC)) + +TESTLIB_FLAGS = -fpic -shared -g -Wl,-export-dynamic -Wl,-ldl +TESTLIB_FLAGS += $(LDFLAGS) + +# see discussion in make.module.tmpl for the format of this variable +MUTATEE_TEST9_EXTRA_LIB = 9.-L./ 9.-lInstMe + +include ../make.module.tmpl + diff --git a/dyninstAPI_RT/ppc32_linux/Makefile b/dyninstAPI_RT/ppc32_linux/Makefile new file mode 100644 index 0000000..62366ae --- /dev/null +++ b/dyninstAPI_RT/ppc32_linux/Makefile @@ -0,0 +1,67 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:32 ssuen Exp $ +# + +# Define any symbols needed to invoke configuration changes in make.config + +# none + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include ../../make.config + +# Now make any necessary architecture specific changes to variables: +LD = $(GCC) +LDFLAGS += -shared -nostdlib + +# Automatic init routine +LDFLAGS += -Wl,-init -Wl,libdyninstAPI_RT_init + +CFLAGS += -O2 + +# if we want to produce a shared object... +CC = $(GCC) +LD = $(GCC) +CFLAGS += -I. -I../.. -fpic + +LIBS += -ldl + +AS = gcc +ASFLAGS += -c + +SRCS += ../src/RTposix.c \ + ../src/RTlinux.c \ + ../src/RTheap.c \ + ../src/RTheap-linux.c \ + ../src/RTmutatedBinary.c \ + ../src/RTmutatedBinary_ELF.c \ + ../src/RTthread.c \ + ../src/RTthread-index.c \ + ../src/RTthread-powerpc.c \ + ../src/RTthread-powerpc-asm.S \ + ../src/RTspace.S + +#CFLAGS += -DDEBUG_PRINT_RT # enable debug/trace messages from library + +ifdef DETACH_ON_THE_FLY +CFLAGS += -DDETACH_ON_THE_FLY +SRCS += ../src/RTsigill-powerpc.S +endif + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard program template". This defines all the +# common targets like "clean", "install", etc. + +include ../../make.library.tmpl + +RTthread-powerpc-asm.o: + $(CC) -c $(CFLAGS) ../src/RTthread-powerpc-asm.S + +RTspace.o: + $(CC) -c $(CFLAGS) ../src/RTspace.S + diff --git a/igen/ppc32_linux/Makefile b/igen/ppc32_linux/Makefile new file mode 100644 index 0000000..f9f98a2 --- /dev/null +++ b/igen/ppc32_linux/Makefile @@ -0,0 +1,24 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:33 ssuen Exp $ +# +# Define any symbols needed to invoke configuration changes in make.config + +USES_FLEX = true +NO_IMPLICIT_TEMPLATES = true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include ../../make.config + +# Now make any necessary architecture specific changes to variables: + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard program template". This defines all the +# common targets like "clean", "install", etc. + +include ../../make.program.tmpl diff --git a/make.config b/make.config index 39a40a2..e559e31 100644 --- a/make.config +++ b/make.config @@ -1,6 +1,6 @@ # Paradyn overall build configuration (unix) # -# $Id: make.config,v 1.222 2007/07/17 17:11:23 ssuen Exp $ +# $Id: make.config,v 1.223 2007/08/01 18:47:26 ssuen Exp $ # SUITE_NAME = Paradyn @@ -204,6 +204,13 @@ OS_DEF = -Dos_linux=26 CAP_DEF = -Dcap_ptrace -Dcap_relocation -Dcap_async_events -Dcap_threads -Dcap_dynamic_heap -Dcap_dwarf BUG_DEF = -Dbug_syscall_changepc_rewind endif +ifeq ($(PLATFORM),ppc32_linux) +OLD_DEF = -Dppc32_linux +ARCH_DEF = -Darch_power +OS_DEF = -Dos_linux=26 +CAP_DEF = -Dcap_ptrace -Dcap_relocation -Dcap_async_events -Dcap_threads -Dcap_dynamic_heap -Dcap_dwarf +BUG_DEF = -Dbug_syscall_changepc_rewind +endif # # Combine all the #defines for ease of use diff --git a/mrnet/ppc32_linux/Makefile b/mrnet/ppc32_linux/Makefile new file mode 100644 index 0000000..ebd0b6e --- /dev/null +++ b/mrnet/ppc32_linux/Makefile @@ -0,0 +1,78 @@ +# +# Copyright (c) 1996-2004 Barton P. Miller +# +# We provide the Paradyn Parallel Performance Tools (below +# described as "Paradyn") on an AS IS basis, and do not warrant its +# validity or performance. We reserve the right to update, modify, +# or discontinue this software at any time. We shall have no +# obligation to supply such updates or modifications or any other +# form of support to you. +# +# This license is for research uses. For such uses, there is no +# charge. We define "research use" to mean you may freely use it +# inside your organization for whatever purposes you see fit. But you +# may not re-distribute Paradyn or parts of Paradyn, in any form +# source or binary (including derivatives), electronic or otherwise, +# to any other organization or entity without our permission. +# +# (for other uses, please contact us at paradyn@cs.wisc.edu) +# +# All warranties, including without limitation, any warranty of +# merchantability or fitness for a particular purpose, are hereby +# excluded. +# +# By your use of Paradyn, you understand and agree that we (or any +# other person or entity with proprietary rights in Paradyn) are +# under no obligation to provide either maintenance services, +# update services, notices of latent defects, or correction of +# defects for Paradyn. +# +# Even if advised of the possibility of such damages, under no +# circumstances shall we (or any other person or entity with +# proprietary rights in the software licensed hereunder) be liable +# to you or any third party for direct, indirect, or consequential +# damages of any character regardless of type of action, including, +# without limitation, loss of profits, loss of use, loss of good +# will, or computer failure or malfunction. You agree to indemnify +# us (and any other person or entity with proprietary rights in the +# software licensed hereunder) for any and all liability it may +# incur to third parties resulting from your use of Paradyn. +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:34 ssuen Exp $ +# + +USES_FLEX = true + +include ../../make.config + +ifdef NO_OPT_FLAG +MRNET_CFLAGS=-g +MRNET_CXXFLAGS=-g +else +MRNET_CFLAGS=-O2 +MRNET_CXXFLAGS=-O2 +endif + +MRNET_CFLAGS += $(MYFLAGS) +MRNET_CXXFLAGS += $(MYFLAGS) + +.PHONY: all install clean distclean configure-build + +all: configure-build + cd ./build; CC="$(CC)" CXX="$(CXX)" RANLIB=$(RANLIB) AS=$(AS) ${MAKE} $@ + +install: all + cd ./build; CC="$(CC)" CXX="$(CXX)" RANLIB=$(RANLIB) AS=$(AS) ${MAKE} $@ + +configure-build: + if test ! -f ./build/Makefile ; \ + then \ + cd ./build; CC="$(CC)" CXX="$(CXX)" RANLIB=$(RANLIB) AS=$(AS) CFLAGS="$(MRNET_CFLAGS)" CXXFLAGS="$(MRNET_CXXFLAGS)" sh ../../mrnet/configure --prefix=`pwd`/${TO_CORE}/../../${PLATFORM} ${WITHLIBFL} --enable-verbosebuild ; \ + fi + +clean distclean: + if test -f ./build/Makefile ; \ + then \ + $(MAKE) -C ./build $@ ; \ + fi + diff --git a/paradyn/ppc32_linux/Makefile b/paradyn/ppc32_linux/Makefile new file mode 100644 index 0000000..d561c19 --- /dev/null +++ b/paradyn/ppc32_linux/Makefile @@ -0,0 +1,62 @@ +# +# $Log: Makefile,v $ +# Revision 1.1 2007/08/01 18:47:35 ssuen +# Add new ppc32_linux platform. - - - - - - - - - - - - - - - - - - - - - +# +# Revision 1.1 2007/06/20 21:19:23 ssuen +# add ppc64_linux platform - - - - - - - - - - - - - - - - - - - - - - - - +# +# Revision 1.5 2005/01/28 18:12:03 legendre +# Adding MPI-2 support +# +# Revision 1.4 2004/10/19 01:23:43 pack +# Undoing accidental commit +# +# Revision 1.2 2000/07/18 17:02:25 schendel +# add optional flag to turn on printing of sample value trace lines +# +# Revision 1.1 2000/03/31 01:59:06 wylie +# Platform migration +# +# Revision 1.1 1997/10/15 21:10:15 tung +# Linux/X86 Port +# +# Revision 1.1 1996/10/18 23:35:12 mjrg +# Solaris/X86 port +# +# +# Define any symbols needed to invoke configuration changes in make.config + +USES_TCLTK = true +USES_FLEX = true +USES_X11 = true +NO_IMPLICIT_TEMPLATES = true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include ../../make.config + +# Now make any necessary architecture specific changes to variables: +#CFLAGS += -DSHG_ADD_ON_EVAL +#CXXFLAGS += -DSHG_ADD_ON_EVAL +CFLAGS += -DSHG_ADD_ON_EVAL -g +CXXFLAGS += -DSHG_ADD_ON_EVAL -g +#CXXFLAGS += -DSAMPLEVALUE_DEBUG +TFLAGS += -DSHG_ADD_ON_EVAL +SYSLIBS += -ldl +#SYSLIBS += -lresolv -lsocket -lnsl + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Now make any necessary architecture specific changes to variables: + +# none to make + +# Include the "standard program template". This defines all the +# common targets like "clean", "install", etc. + +include ../../make.program.tmpl diff --git a/paradynd/ppc32_linux/Makefile b/paradynd/ppc32_linux/Makefile new file mode 100644 index 0000000..831c1c1 --- /dev/null +++ b/paradynd/ppc32_linux/Makefile @@ -0,0 +1,96 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:36 ssuen Exp $ +# + +# Define any symbols needed to invoke configuration changes in make.config + +USES_LIBERTY = true +USES_SHM_SAMPLING = true +NO_IMPLICIT_TEMPLATES = true +USES_DWARF_DEBUG = true +USES_LIBELF = true +DEBUG_FLAG = -g + +#If libhrtime is not installed on your computer and you have no interest +# in using it, then comment out the following line (with a #), remove +# the DEPENDS file in this directory, and recompile with make. +#If you have libhrtime, but it can't be found, the libhrtime path can +# be adjusted in ../../make.config. You'll need to remake DEPENDS if +# this path is adjusted. +#USES_LIBHRTIME = true +#USES_PAPI = true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include ../../make.config + +# Now make any necessary architecture specific changes to variables: + +VPATH += ../../rtinst/h:../../rtinst/src + +SRCS = ../src/init-linux.C \ + ../../rtinst/src/RThwtimer-linux.c \ + ../../paradynd/src/proc-linux.C + +MYFLAGS += -DNO_MDL_PRINT +MYFLAGS += -DUSES_DWARF_DEBUG -I$(LIBDWARF_INC) +MYFLAGS += -I$(LIBELF_INC) +MYFLAGS += -I/usr/include/libelf + +SYSLIBS = -ldl +LIBS = -L$(LIBDWARF_LIB) -L$(LIBELF_LIB) +ifdef LIBDWARFSTATIC +LIBS += -Wl,-static -ldwarf -Wl,-call_shared +else +LIBS += -ldwarf +endif +ifdef LIBELFSTATIC +LIBS += -Wl,-static -lelf -Wl,-call_shared +else +LIBS += -lelf +endif + +# AS = /usr/bin/as + +#MYFLAGS += -DPDYN_DEBUG +#MYFLAGS += -DATTACH_DETACH_DEBUG -DINFERIOR_RPC_DEBUG +#MYFLAGS += -DPTRACEDEBUG +#MYFLAGS += -DPTRACEDEBUG_EXCESSIVE +#MYFLAGS += -DSIGNAL_DEBUG +#MYFLAGS += -DINST_TRAP_DEBUG +#MYFLAGS += -DLD_DEBUG +#MYFLAGS += -DSAMPLEVALUE_DEBUG +#MYFLAGS += -DAGGREGATE_DEBUG +MYFLAGS += -g + +CFLAGS += $(MYFLAGS) +CXXFLAGS += $(MYFLAGS) +TFLAGS += $(MYFLAGS) + +ifdef USES_LIBHRTIME +LIBS += $(HRTIME_LIB) +endif + +ifdef USES_PAPI +LIBS += $(PAPI_LIB) +endif + +ifdef USES_LIBPERFCTR +LIBS += $(PERFCTR_LIB) +endif + +# no support for elf64_XXX() functions +# CFLAGS += -DUSES_ELF32_ONLY +# CXXFLAGS += -DUSES_ELF32_ONLY +# TFLAGS += -DUSES_ELF32_ONLY + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard program template". This defines all the +# common targets like "clean", "install", etc. + +include ../../make.program.tmpl diff --git a/pdthread/ppc32_linux/Makefile b/pdthread/ppc32_linux/Makefile new file mode 100644 index 0000000..c33262a --- /dev/null +++ b/pdthread/ppc32_linux/Makefile @@ -0,0 +1,33 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:37 ssuen Exp $ +# +# Define any symbols needed to invoke configuration changes in make.config + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +INSTANTIATE_TEMPLATES = true +UNCOMMON_LINK = true + +include ../../make.config + +# Now make any necessary architecture specific changes to variables: + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +CFLAGS += -fPIC -g +CXXFLAGS += -fPIC -g + +# Include the "standard program template". This defines all the +# common targets like "clean", "install", etc. + +include ../../make.library.tmpl + +$(TARGET): $(OBJS) + @$(RM) $@ + @$(MAKE) $(VOUCHER) + $(CC) -shared $(LDFLAGS) -o $@ $(VOUCHER).o $(OBJS) $(LIBS) + diff --git a/pdutil/ppc32_linux/Makefile b/pdutil/ppc32_linux/Makefile new file mode 100644 index 0000000..7d46fd5 --- /dev/null +++ b/pdutil/ppc32_linux/Makefile @@ -0,0 +1,31 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:38 ssuen Exp $ +# + +# Define any symbols needed to invoke configuration changes in make.config + +NO_IMPLICIT_TEMPLATES = true +DO_INLINE_ALL = true +USES_LIBELF = true + +NO_OPT_FLAG = true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include ../../make.config + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Now make any necessary architecture specific changes to variables: + +CFLAGS += -g -I$(LIBELF_INC) +CXXFLAGS += -g $(USEFULWARNINGS) -I$(LIBELF_INC) + +# Include the "standard library template". This defines all the +# common targets like "clean", "install", etc. + +include ../../make.library.tmpl diff --git a/rtinst/ppc32_linux/Makefile b/rtinst/ppc32_linux/Makefile new file mode 100644 index 0000000..2ec3488 --- /dev/null +++ b/rtinst/ppc32_linux/Makefile @@ -0,0 +1,72 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:39 ssuen Exp $ +# + +# Define any symbols needed to invoke configuration changes in make.config + +USES_SHM_SAMPLING = true + +#If libhrtime is not installed on your computer and you have no interest +# in using it, then comment out the following line (with a #), remove +# the DEPENDS file in this directory, and recompile with make. +#If you have libhrtime, but it can't be found, the libhrtime path can +# be adjusted in ../../make.config. You'll need to remake DEPENDS if +# this path is adjusted. +#USES_LIBHRTIME = true +#USES_PAPI = true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include ../../make.config + +# Now make any necessary architecture specific changes to variables: +LD = $(GCC) +LDFLAGS += -shared -ldl + +# The GNU headers for glibc conflict with RTposix.h +# CFLAGS += -D_SVID_SOURCE + +# if we want to produce a shared object... +CFLAGS += -g -O2 +# CFLAGS += -D_SVID_SOURCE +CFLAGS += -fPIC +CFLAGS += -I. -I../.. + +VPATH = ../src +#:../../dyninstAPI_RT/src + +SRCS += ../src/RTetc-linux.c \ + ../src/RTetc-posix.c \ + ../src/RThwtimer-linux.c \ + ../src/RTrexec.c \ + ../src/RTinst.c \ + ../src/RTmpi.c \ + ../src/RTthread.c \ + ../src/RTthread-timer.c \ + ../src/thread-compat.c + +ifdef USES_LIBPERFCTR +CFLAGS += -I$(PERFCTR_INCDIR) -DPERFCTR +LIBS += -L$(PERFCTR_LIBDIR) $(PERFCTR_LIB) +endif + +#CFLAGS += -DSHM_SAMPLING_DEBUG +#CFLAGS += -DDEBUG_PRINT_RT # enable debug/trace messages from library + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard program template". This defines all the +# common targets like "clean", "install", etc. + +include ../../make.library.tmpl + +ifdef INCLUDE_CP_PROFILING +$(TARGET2): $(OBJS) $(CP_OBJS) + @$(RM) $(TARGET2) + $(LD) $(LDFLAGS) -o $(TARGET2) $(OBJS) $(CP_OBJS) $(LIBS) +endif + diff --git a/sharedMem/ppc32_linux/Makefile b/sharedMem/ppc32_linux/Makefile new file mode 100644 index 0000000..daaee98 --- /dev/null +++ b/sharedMem/ppc32_linux/Makefile @@ -0,0 +1,39 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:40 ssuen Exp $ +# + +# Define any symbols needed to invoke configuration changes in make.config + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +NO_IMPLICIT_TEMPLATES = true + +include ../../make.config + +# Now make any necessary architecture specific changes to variables: +LD = $(GXX) +LDFLAGS += -shared + +# The GNU headers for glibc conflict with RTposix.h +# CFLAGS += -D_SVID_SOURCE + +# if we want to produce a shared object... +CFLAGS += -fPIC +CFLAGS += -I. -I../.. + +TO_ROOT = ../../ + +VPATH = ../src +#:../../dyninstAPI_RT/src + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard program template". This defines all the +# common targets like "clean", "install", etc. + +include ../../make.library.tmpl + diff --git a/symtabAPI/ppc32_linux/Makefile b/symtabAPI/ppc32_linux/Makefile new file mode 100644 index 0000000..1c6e69e --- /dev/null +++ b/symtabAPI/ppc32_linux/Makefile @@ -0,0 +1,83 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:41 ssuen Exp $ +# + +# Define any symbols needed to invoke configuration changes in make.config + +#USES_SHM_SAMPLING = true +#USES_PAPI = true +#DEBUG_FLAG = -g +NO_IMPLICIT_TEMPLATES = true +USES_DWARF_DEBUG = true +USES_LIBELF = true + +# For debugging. +# NO_OPT_FLAG = true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include ../../make.config + +# Now make any necessary architecture specific changes to variables: + +SRCS = ../src/Object-elf.C + +#MYFLAGS += -DNO_MDL_PRINT +#MYFLAGS += -DLD_DEBUG +#MYFLAGS += -DATTACH_DETACH_DEBUG +#MYFLAGS += -DPTRACEDEBUG +#MYFLAGS += -DPTRACEDEBUG_EXCESSIVE +#MYFLAGS += -DPTRACEDEBUG_ALWAYS +#MYFLAGS += -DINST_TRAP_DEBUG +#MYFLAGS += -DSIGNAL_DEBUG +#MYFLAGS += -DASTDEBUG +#MYFLAGS += -DINFERIOR_RPC_DEBUG +MYFLAGS += -DUSES_DWARF_DEBUG -I$(LIBDWARF_INC) +MYFLAGS += -I$(LIBELF_INC) +MYFLAGS += -I/usr/include/libelf + +CXXFLAGS += $(MYFLAGS) +CFLAGS += $(MYFLAGS) +TFLAGS += $(MYFLAGS) + +# Tradeoff: adding -g to TFLAGS aids gdb but uses gobs of disk space +#TFLAGS += -g + +SYSLIBS = -ldl + +LIBS += -L$(LIBDWARF_LIB) -L$(LIBELF_LIB) -R$(LIBDWARF_LIB):$(LIBELF_LIB) +ifdef LIBDWARFSTATIC +LIBS += -Wl,-static -ldwarf -Wl,-call_shared +else +LIBS += -ldwarf +endif +ifdef LIBELFSTATIC +LIBS += -Wl,-static -lelf -Wl,-call_shared +else +LIBS += -lelf +endif +LIBS += -lgcc + +LIBS += -liberty + +AS = /usr/bin/as + +# no support for elf64_XXX() functions +# CXXFLAGS += -DUSES_ELF32_ONLY +# CFLAGS += -DUSES_ELF32_ONLY +# TFLAGS += -DUSES_ELF32_ONLY + +# Add preprocessor and special link information for G++ +G_PTHREAD = -pthread +G_PTHREAD_LD = -pthread + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard library template". This defines all the +# common targets like "clean", "install", etc. + +include ../../make.library.tmpl diff --git a/testsuite/ppc32_linux/Makefile b/testsuite/ppc32_linux/Makefile new file mode 100644 index 0000000..3942870 --- /dev/null +++ b/testsuite/ppc32_linux/Makefile @@ -0,0 +1,88 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:42 ssuen Exp $ +# + +# Define any symbols needed to invoke configuration changes in make.config +TO_CORE = ../.. +NO_OPT_FLAG=true +NO_IMPLICIT_TEMPLATES = true +USES_DWARF_DEBUG = true +USES_LIBELF = true +DEBUG_FLAG = -g + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. +include $(TO_CORE)/make.config + +# Now make any necessary architecture specific changes to variables: + +#if M_G77 is defined, g77 mutatees will be built +M_G77 = g77 + +# there is no "native" or OS-provided compiler for Linux! +# we use the Portland Group compilers, as that's what we've currently got +# (in future we probably also want to test with the KAI/Intel compilers) +ifdef PGI +NATIVE_CC = pgcc +NATIVE_CXX = pgCC +COMPILERT_NATIVE_CC = $(shell $(NATIVE_CC) -V 2>/dev/null | grep '^pg' | head -1) +COMPILERT_NATIVE_CXX = $(shell $(NATIVE_CXX) -V 2>/dev/null | grep '^pg' | head -1) +endif + +GNU_WARNING_FLAGS = -W -Wall +MUTATOR_CXXFLAGS += $(GNU_WARNING_FLAGS) +MUTATEE_CFLAGS_GNU = $(UNIFIED_DEF) $(GNU_WARNING_FLAGS) +MUTATEE_CXXFLAGS_GNU = $(UNIFIED_DEF) $(GNU_WARNING_FLAGS) + +# Tests 1, 2, and 12 use libdl. It is only added to their link lines +# as we must also test the harder-to-bootstrap general case (mutatee +# without the libdl) +MUTATEE_USE_LIBDL_SELECTIVELY = true +MUTATEE_LIBS = +MUTATEE_LDFLAGS_GNU += -Wl,-export-dynamic +MUTATEE_LDFLAGS_NATIVE += -Wl,-export-dynamic + +MUTATEE_LDFLAGS_GNU += $(LDFLAGS) +MUTATEE_LDFLAGS_NATIVE += $(LDFLAGS) + +COMMA=, +MUTATEE_G77_FFLAGS += -Dppc64_linux -DF77 -fno-second-underscore -g +MUTATEE_G77_FFLAGS += $(F77FLAGS) +MUTATEE_G77_CFLAGS += $(filter-out -Wl$(COMMA)-export-dynamic, $(MUTATEE_CFLAGS_GNU)) +MUTATEE_G77_CFLAGS += -DF77 -DFortran -g $(MUTATEE_FFLAGS) -c +MUTATEE_G77_CFLAGS += $(CFLAGS) +TEST1_FORTRAN_CSOURCE = test1.mutateeFortC.c + +MUTATEE_G77_LDFLAGS += $(LDFLAGS) + +MUTATOR_LIBS += -liberty +MUTATEE_CFLAGS_NATIVE = $(UNIFIED_DEF) -g +MUTATEE_CXXFLAGS_NATIVE = $(UNIFIED_DEF) -g + +# Definitions used for test1 assembly +TEST1_AS = gcc -c +TEST1_ASFLAGS = $(MUTATEE_CFLAGS_GNU) +#CALL35_1_SRC = call35_1_x86_linux.s + +# Definition used for test6 assembly +NASM = $(GCC) +TEST6_AS_GNU = $(NASM) +#TEST6_ASFLAGS_GNU = -f elf -dPLATFORM=$(PLATFORM) +TEST6_ASFLAGS_GNU = $(CFLAGS) -c +TEST6_AS_SRC = test6LS-powerpc.S +TEST6_AS_OBJ_BASE = $(basename $(TEST6_AS_SRC)) + +TESTLIB_FLAGS = -fpic -shared -g -Wl,-export-dynamic -Wl,-ldl +TESTLIB_FLAGS += $(LDFLAGS) +TESTSUITE_FLAGS += $(LDFLAGS) +MUTATOR_LDFLAGS += $(LDFLAGS) + +# see discussion in make.module.tmpl for the format of this variable +MUTATEE_TEST9_EXTRA_LIB = 9.-L./ 9.-lInstMe + +LIBS_LIBTESTSUITE = -ldl + +STRIP_SO = strip -g + +include ../make.module.tmpl + diff --git a/visi/ppc32_linux/Makefile b/visi/ppc32_linux/Makefile new file mode 100644 index 0000000..bc2fe39 --- /dev/null +++ b/visi/ppc32_linux/Makefile @@ -0,0 +1,56 @@ +# +# $Log: Makefile,v $ +# Revision 1.1 2007/08/01 18:47:43 ssuen +# Add new ppc32_linux platform. - - - - - - - - - - - - - - - - - - - - - +# +# Revision 1.1 2007/06/20 21:19:32 ssuen +# add ppc64_linux platform - - - - - - - - - - - - - - - - - - - - - - - - +# +# Revision 1.3 2005/12/19 19:43:54 pack +# MRNet replaces xdr for frontend to daemon communication. New igen - - - +# MRNet changes +# +# Revision 1.1.1.1 2004/11/05 22:17:50 darnold +# start +# +# Revision 1.1.1.1 2004/10/18 20:35:54 darnold +# Manual Branch for MRNet Integration based on Release_4.1 +# +# Revision 1.2 2000/07/18 17:02:42 schendel +# add optional flag to turn on printing of sample value trace lines +# +# Revision 1.1 2000/03/31 01:59:59 wylie +# Platform migration +# +# Revision 1.1 1997/10/15 20:26:17 tung +# Linux/X86 Port +# +# Revision 1.1 1996/10/18 23:42:40 mjrg +# Solaris/X86 port +# +# +# +# Define any symbols needed to invoke configuration changes in make.config + +INSTANTIATE_TEMPLATES = true +DO_INLINE_ALL = true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include ../../make.config + +# Now make any necessary architecture specific changes to variables: +#CXXFLAGS += -DSAMPLEVALUE_DEBUG + +# none + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard library template". This defines all the +# common targets like "clean", "install", etc. + +include ../../make.library.tmpl diff --git a/visiClients/barchart/ppc32_linux/Makefile b/visiClients/barchart/ppc32_linux/Makefile new file mode 100644 index 0000000..0768cdc --- /dev/null +++ b/visiClients/barchart/ppc32_linux/Makefile @@ -0,0 +1,37 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:44 ssuen Exp $ +# + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +TO_CORE = ../../.. +USES_TCLTK = true +USES_X11 = true +NO_IMPLICIT_TEMPLATES = true + +include $(TO_CORE)/make.config + +# Now make any necessary architecture specific changes to variables: +# this two are a temporary kludge; barchart should have a "src" dir + +VPATH += .. +CXXFLAGS += $(TCLFRIENDLYWARNINGS) +CFLAGS += $(TCLFRIENDLYWARNINGS) +TFLAGS += $(TCLFRIENDLYWARNINGS) + + +ifdef GCC_2_95 +CXXFLAGS += -fno-exceptions +TFLAGS += -fno-exceptions +endif + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard program template". This defines all the +# common targets like "clean", "install", etc. + +include $(TO_CORE)/make.program.tmpl diff --git a/visiClients/histVisi/ppc32_linux/Makefile b/visiClients/histVisi/ppc32_linux/Makefile new file mode 100644 index 0000000..69f5818 --- /dev/null +++ b/visiClients/histVisi/ppc32_linux/Makefile @@ -0,0 +1,32 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:45 ssuen Exp $ +# + +# Define any symbols needed to invoke configuration changes in make.config + +USES_TCLTK = true +USES_X11 = true +TO_CORE = ../../.. +NO_IMPLICIT_TEMPLATES = true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include $(TO_CORE)/make.config + +# Now make any necessary architecture specific changes to variables: +# this two are a temporary kludge; barchart should have a "src" dir +CXXFLAGS += $(TCLFRIENDLYWARNINGS) +TFLAGS += $(TCLFRIENDLYWARNINGS) +CFLAGS += $(TCLFRIENDLYWARNINGS) +SYSLIBS = -ldl + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard program template". This defines all the +# common targets like "clean", "install", etc. + +include ../../../make.program.tmpl diff --git a/visiClients/phaseTable/ppc32_linux/Makefile b/visiClients/phaseTable/ppc32_linux/Makefile new file mode 100644 index 0000000..1a4b1d2 --- /dev/null +++ b/visiClients/phaseTable/ppc32_linux/Makefile @@ -0,0 +1,32 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:46 ssuen Exp $ +# + +# Define any symbols needed to invoke configuration changes in make.config + +USES_TCLTK = true +USES_X11 = true +TO_CORE = ../../.. +NO_IMPLICIT_TEMPLATES = true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include ../../../make.config + +# Now make any necessary architecture specific changes to variables: +# this two are a temporary kludge; barchart should have a "src" dir +CXXFLAGS += $(TCLFRIENDLYWARNINGS) +TFLAGS += $(TCLFRIENDLYWARNINGS) +CFLAGS += $(TCLFRIENDLYWARNINGS) +SYSLIBS += -ldl + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard program template". This defines all the +# common targets like "clean", "install", etc. + +include ../../../make.program.tmpl diff --git a/visiClients/tableVisi/ppc32_linux/Makefile b/visiClients/tableVisi/ppc32_linux/Makefile new file mode 100644 index 0000000..4196d60 --- /dev/null +++ b/visiClients/tableVisi/ppc32_linux/Makefile @@ -0,0 +1,52 @@ +# +# $Log: Makefile,v $ +# Revision 1.1 2007/08/01 18:47:47 ssuen +# Add new ppc32_linux platform. - - - - - - - - - - - - - - - - - - - - - +# +# Revision 1.1 2007/06/20 21:19:36 ssuen +# add ppc64_linux platform - - - - - - - - - - - - - - - - - - - - - - - - +# +# Revision 1.1 2005/03/29 22:58:46 igor +# gor +# +# Add ppc64-unknown-linux2.4 as a platform, and make the minimum changes +# needed for kerninst and pdutil to work on linux/ppc64 +# +# Revision 1.1 2000/03/31 02:00:31 wylie +# Platform migration +# +# Revision 1.1 1997/10/15 21:21:35 tung +# Linux/X86 Port +# +# Revision 1.1 1996/10/18 23:43:24 mjrg +# Solaris/X86 port +# +# +# + +# Define any symbols needed to invoke configuration changes in make.config + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +TO_CORE = ../../.. +USES_TCLTK = true +USES_X11 = true +NO_IMPLICIT_TEMPLATES = true + +include $(TO_CORE)/make.config + +# Now make any necessary architecture specific changes to variables: + +SYSLIBS += -ldl +#SYSLIBS += -lsocket -lnsl + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard program template". This defines all the +# common targets like "clean", "install", etc. + +include $(TO_CORE)/make.program.tmpl diff --git a/visiClients/tclVisi/ppc32_linux/Makefile b/visiClients/tclVisi/ppc32_linux/Makefile new file mode 100644 index 0000000..92f95f9 --- /dev/null +++ b/visiClients/tclVisi/ppc32_linux/Makefile @@ -0,0 +1,32 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:48 ssuen Exp $ +# + +# Define any symbols needed to invoke configuration changes in make.config + +USES_TCLTK = true +USES_X11 = true +TO_CORE = ../../.. +NO_IMPLICIT_TEMPLATES = true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include ../../../make.config + +# Now make any necessary architecture specific changes to variables: +# this two are a temporary kludge; barchart should have a "src" dir +CXXFLAGS += $(TCLFRIENDLYWARNINGS) +TFLAGS += $(TCLFRIENDLYWARNINGS) +CFLAGS += $(TCLFRIENDLYWARNINGS) +SYSLIBS += -ldl + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard program template". This defines all the +# common targets like "clean", "install", etc. + +include ../../../make.program.tmpl diff --git a/visiClients/termWin/ppc32_linux/Makefile b/visiClients/termWin/ppc32_linux/Makefile new file mode 100644 index 0000000..19acd9d --- /dev/null +++ b/visiClients/termWin/ppc32_linux/Makefile @@ -0,0 +1,32 @@ +# +# $Id: Makefile,v 1.1 2007/08/01 18:47:49 ssuen Exp $ +# + +# Define any symbols needed to invoke configuration changes in make.config + +USES_TCLTK = true +USES_X11 = true +TO_CORE = ../../.. +NO_IMPLICIT_TEMPLATES = true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include ../../../make.config + +# Now make any necessary architecture specific changes to variables: +# this two are a temporary kludge; barchart should have a "src" dir +CXXFLAGS += $(TCLFRIENDLYWARNINGS) +TFLAGS += $(TCLFRIENDLYWARNINGS) +CFLAGS += $(TCLFRIENDLYWARNINGS) +SYSLIBS += -ldl + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard program template". This defines all the +# common targets like "clean", "install", etc. + +include ../../../make.program.tmpl diff --git a/visiClients/terrain/ppc32_linux/Makefile b/visiClients/terrain/ppc32_linux/Makefile new file mode 100644 index 0000000..66b42cf --- /dev/null +++ b/visiClients/terrain/ppc32_linux/Makefile @@ -0,0 +1,63 @@ +# +# $Log: Makefile,v $ +# Revision 1.1 2007/08/01 18:47:50 ssuen +# Add new ppc32_linux platform. - - - - - - - - - - - - - - - - - - - - - +# +# Revision 1.1 2007/06/20 21:19:39 ssuen +# add ppc64_linux platform - - - - - - - - - - - - - - - - - - - - - - - - +# +# Revision 1.3 2006/04/13 23:06:06 legendre +# Fixes to get visis building in new Windows build system +# +# Revision 1.2 2005/12/19 19:44:15 pack +# MRNet replaces xdr for frontend to daemon communication. New igen - - - +# MRNet changes +# +# Revision 1.1.1.1 2004/11/05 22:17:52 darnold +# start +# +# Revision 1.1.1.1 2004/10/18 20:35:55 darnold +# Manual Branch for MRNet Integration based on Release_4.1 +# +# Revision 1.1 2000/03/31 02:00:43 wylie +# Platform migration +# +# Revision 1.1 1997/10/15 21:22:46 tung +# Linux/X86 Port +# +# Revision 1.1 1997/05/13 20:55:36 naim +# Adding Terrain to rs6000 and x86 platforms - naim +# +# Revision 1.1 1997/05/12 20:16:37 naim +# Adding "Terrain" visualization to paradyn (commited by naim, done by tung). +# +# +# Define any symbols needed to invoke configuration changes in make.config + +USES_X11 = true +TO_CORE = ../../.. +NO_IMPLICIT_TEMPLATES = true + +# Include standard make configuration stuff that applies to everything +# in the paradyn tree. + +include $(TO_CORE)/make.config + +# Now make any necessary architecture specific changes to variables: +# this two are a temporary kludge; barchart should have a "src" dir +VPATH += .. +CXXFLAGS += $(TCLFRIENDLYWARNINGS) +TFLAGS += $(TCLFRIENDLYWARNINGS) +CFLAGS += $(TCLFRIENDLYWARNINGS) +SYSLIBS += -ldl -lSM -lICE -lXpm +#SYSLIBS = -lsocket -lnsl + +# Include the module-specific Makefile, which defines everything about +# the module that is common across architectures. + +include ../make.module.tmpl + +# Include the "standard program template". This defines all the +# common targets like "clean", "install", etc. + +include ../../../make.program.tmpl -- 1.8.3.1