# # Copyright (c) 2018 - Present European Spallation Source ERIC # # The program is free software: you can redistribute # it and/or modify it under the terms of the GNU General Public License # as published by the Free Software Foundation, either version 2 of the # License, or any newer version. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for # more details. # # You should have received a copy of the GNU General Public License along with # this program. If not, see https://www.gnu.org/licenses/gpl-2.0.txt # # # Author : Jeong Han Lee # email : jeonghan.lee@gmail.com # Date : Saturday, September 15 12:05:10 CEST 2018 # version : 0.0.1 ## The following lines are mandatory, please don't change them. where_am_I := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) include $(E3_REQUIRE_TOOLS)/driver.makefile include $(where_am_I)/../configure/DECOUPLE_FLAGS ## Exclude linux-ppc64e6500 ##EXCLUDE_ARCHS = linux-ppc64e6500 APP:=MCoreUtilsApp APPSRC:=$(APP) USR_INCLUDES += -I$(where_am_I)$(APPSRC) USR_CFLAGS += -D_GNU_SOURCE USR_CFLAGS += -DVERSION=\"$(LIBVERSION)\" SOURCES += $(APPSRC)/threadShow.c SOURCES += $(APPSRC)/threadRules.c SOURCES += $(APPSRC)/memLock.c SOURCES += $(APPSRC)/shellCommands.c SOURCES += $(APPSRC)/utils.c DBDS += $(APPSRC)/mcoreutils.dbd ## This RULE should be used in case of inflating DB files ## db rule is the default in RULES_DB, so add the empty one ## Please look at e3-mrfioc2 for example. db: .PHONY: db vlibs: .PHONY: vlibs