Skip to content
Snippets Groups Projects
MCoreUtils.Makefile 1.64 KiB
Newer Older
Jeong Han Lee's avatar
Jeong Han Lee committed
#
#  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
#
# 
Jeong Han Lee's avatar
Jeong Han Lee committed
# Author  : Jeong Han Lee
# email   : jeonghan.lee@gmail.com
# Date    : Saturday, September 15 12:05:10 CEST 2018
# version : 0.0.1
Jeong Han Lee's avatar
Jeong Han Lee committed

## 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 $(E3_REQUIRE_CONFIG)/DECOUPLE_FLAGS
Jeong Han Lee's avatar
Jeong Han Lee committed


## Exclude linux-ppc64e6500
##EXCLUDE_ARCHS = linux-ppc64e6500

Jeong Han Lee's avatar
Jeong Han Lee committed
APP:=MCoreUtilsApp
APPSRC:=$(APP)
Jeong Han Lee's avatar
Jeong Han Lee committed
USR_INCLUDES += -I$(where_am_I)$(APPSRC)
Jeong Han Lee's avatar
Jeong Han Lee committed

Jeong Han Lee's avatar
Jeong Han Lee committed
USR_CFLAGS += -D_GNU_SOURCE
USR_CFLAGS += -DVERSION=\"$(LIBVERSION)\"
Jeong Han Lee's avatar
Jeong Han Lee committed

Jeong Han Lee's avatar
Jeong Han Lee committed
SOURCES += $(APPSRC)/threadShow.c
SOURCES += $(APPSRC)/threadRules.c
SOURCES += $(APPSRC)/memLock.c
SOURCES += $(APPSRC)/shellCommands.c
SOURCES += $(APPSRC)/utils.c
Jeong Han Lee's avatar
Jeong Han Lee committed
DBDS += $(APPSRC)/mcoreutils.dbd
Jeong Han Lee's avatar
Jeong Han Lee committed

## 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