Merge pull request #834 from nasa/358

Infer TRICK_HOME in Makefiles
This commit is contained in:
dbankieris 2019-06-21 13:21:25 -05:00 committed by GitHub
commit 00302208b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
46 changed files with 48 additions and 122 deletions

View File

@ -1,5 +1,4 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,9 +1,7 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps
ifneq ($(DMTCP),)
TRICK_CXXFLAGS += -D_DMTCP -I$(DMTCP)/dmtcpaware
endif

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -5,7 +5,7 @@
# make TARGET - makes the given target.
# make clean - removes all files generated by make.
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../../share/trick/makefiles/Makefile.common
# Flags passed to the preprocessor.
TRICK_CPPFLAGS += -I$(GTEST_HOME)/include -I$(TRICK_HOME)/include -g -Wall -Wextra -DGTEST_HAS_TR1_TUPLE=0

View File

@ -1,9 +1,7 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps
ifneq ($(DMTCP),)
TRICK_CXXFLAGS += -D_DMTCP -I$(DMTCP)/dmtcpaware
endif

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,9 +1,7 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps
ifneq ($(DMTCP),)
TRICK_CXXFLAGS += -D_DMTCP -I$(DMTCP)/dmtcpaware
endif

View File

@ -1,9 +1,9 @@
TRICK_CXXFLAGS += -std=c++11
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps
TRICK_CXXFLAGS += -std=c++11
ifneq ($(HDF5),)
ifneq ($(HDF5),/usr)
$(OBJ_DIR)/DRHDF5.o: TRICK_CXXFLAGS += -I$(HDF5)/include
@ -15,4 +15,3 @@ endif
ifneq ($(DMTCP),)
TRICK_CXXFLAGS += -D_DMTCP -I$(DMTCP)/dmtcpaware
endif

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,6 +1,4 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,4 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
TRICK_CFLAGS += $(PYTHON_INCLUDES)
@ -10,4 +9,3 @@ ifeq ($(PYTHON_VERSION),2.4)
endif
-include Makefile_deps

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -5,7 +5,7 @@
# make TARGET - makes the given target.
# make clean - removes all files generated by make.
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../../share/trick/makefiles/Makefile.common
# Flags passed to the preprocessor.
TRICK_CPPFLAGS += -I$(GTEST_HOME)/include -I$(TRICK_HOME)/include -g -Wall -Wextra -DGTEST_HAS_TR1_TUPLE=0
@ -35,4 +35,3 @@ Executive_test.o : Executive_test.cpp
Executive_test : Executive_test.o
$(TRICK_CXX) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)

View File

@ -1,8 +1,7 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps
ifneq ($(DMTCP),)
TRICK_CXXFLAGS += -D_DMTCP -I$(DMTCP)/dmtcpaware
endif

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,4 @@
TRICK_HOME := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))../../..)
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
# override the trick lib file for this directory.
TRICK_LIB := $(TRICK_LIB_DIR)/libtrick_pyip.a
@ -9,4 +8,3 @@ TRICK_CFLAGS += $(PYTHON_INCLUDES)
TRICK_CXXFLAGS += $(PYTHON_INCLUDES)
-include Makefile_deps

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -5,7 +5,7 @@
# make TARGET - makes the given target.
# make clean - removes all files generated by make.
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../../share/trick/makefiles/Makefile.common
# Flags passed to the preprocessor.
TRICK_CPPFLAGS += -I$(GTEST_HOME)/include -I$(TRICK_HOME)/include -I${TRICK_HOME}/trick_source -I${TRICK_HOME}/include/trick/compat -g -Wall -Wextra -DGTEST_HAS_TR1_TUPLE=0 -DUSE_ER7_UTILS_INTEGRATORS=1
@ -51,4 +51,3 @@ Integrator_unittest.o : Integrator_unittest.cc
Integrator_unittest : Integrator_unittest.o
$(TRICK_CXX) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)

View File

@ -1,4 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,4 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,7 +1,7 @@
# set CONFIG_MK to allow compilation without running configure
CONFIG_MK = 1
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
# set the TRICK_LIB variable to create a separate library for the Memory Manager.
TRICK_LIB := $(TRICK_LIB_DIR)/libtrick_mm.a
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib

View File

@ -5,7 +5,7 @@
# make TARGET - makes the given target.
# make clean - removes all files generated by make.
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../../share/trick/makefiles/Makefile.common
#COVERAGE_FLAGS += -fprofile-arcs -ftest-coverage -O0
#TRICK_SYSTEM_LDFLAGS += ${COVERAGE_FLAGS}
@ -216,4 +216,3 @@ MM_write_checkpoint_hexfloat : MM_write_checkpoint_hexfloat.o io_MM_write_checkp
Bitfield_tests : Bitfield_tests.o
$(TRICK_CXX) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,4 @@
TRICK_HOME := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))../../..)
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps
@ -12,4 +11,3 @@ ifneq ($(GSL_HOME),/usr)
TRICK_CXXFLAGS += -I${GSL_HOME}/include
endif
endif

View File

@ -5,7 +5,7 @@
# make TARGET - makes the given target.
# make clean - removes all files generated by make.
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../../share/trick/makefiles/Makefile.common
# Flags passed to the preprocessor.
TRICK_CXXFLAGS += -I$(GTEST_HOME)/include -I$(TRICK_HOME)/include -g -Wall -Wextra -DGTEST_HAS_TR1_TUPLE=0 -std=c++11

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -5,7 +5,7 @@
# make TARGET - makes the given target.
# make clean - removes all files generated by make.
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../../share/trick/makefiles/Makefile.common
# Flags passed to the preprocessor.
TRICK_CPPFLAGS += -I$(GTEST_HOME)/include -I$(TRICK_HOME)/include -g -Wall -Wextra -DGTEST_HAS_TR1_TUPLE=0
@ -34,4 +34,3 @@ ScheduledJobQueue_test.o : ScheduledJobQueue_test.cpp
ScheduledJobQueue_test : ScheduledJobQueue_test.o
$(TRICK_CXX) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,4 +1,3 @@
TRICK_HOME := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))../../..)
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -5,7 +5,7 @@
# make TARGET - makes the given target.
# make clean - removes all files generated by make.
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../../share/trick/makefiles/Makefile.common
# Flags passed to the preprocessor.
TRICK_CPPFLAGS += -I$(GTEST_HOME)/include -I$(TRICK_HOME)/include -g -Wall -Wextra -DGTEST_HAS_TR1_TUPLE=0
@ -34,4 +34,3 @@ ITimer_test.o : ITimer_test.cpp
ITimer_test : ITimer_test.o
$(TRICK_CXX) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)

View File

@ -1,5 +1,3 @@
TRICK_HOME := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))../../..)
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,4 @@
TRICK_HOME := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))../../..)
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps
TRICK_CXXFLAGS += -std=c++11

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,3 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps

View File

@ -1,5 +1,4 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
-include Makefile_deps
@ -29,4 +28,3 @@ include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
#
#
#-include Makefile_deps