-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (21 loc) · 777 Bytes
/
Makefile
File metadata and controls
25 lines (21 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
NAME := romio
SRC_EXT := gz
TEST_PACKAGES := romio-tests
include packaging/Makefile_packaging.mk
# PR-repos* support for the Source: in the specfile
MPICH_REPO := $(shell echo " $($(DISTRO_BASE)_PR_REPOS) $(PR_REPOS) " | sed -ne 's/ \(mpich@[^ ]*\) .*/ \1 /' -e 's/^.* mpich@\([^ ]*\) .*$$/\1/p')
ifeq ($(findstring :,$(MPICH_REPO)),:)
MPICH_REPO := $(subst :, ,$(MPICH_REPO))
endif
BUILD_JOB := $(word 1, $(MPICH_REPO))
ifneq ($(BUILD_JOB),)
BUILD_DEFINES := --define "buildjob $(BUILD_JOB)"
endif
BUILD_NUM := $(word 2, $(MPICH_REPO))
ifneq ($(BUILD_NUM),)
BUILD_DEFINES += --define "buildnum $(BUILD_NUM)"
endif
# need to force rebuilding the SRPM because the source tarball is
# distro specific
romio-$(DL_VERSION).tar.gz: FORCE
$(SRPM): FORCE