Skip to content

Commit 689a658

Browse files
committed
Add prefixing capability to prrte library
Updated Makefile.am files to include @PRTE_BINARY_PREFIX@ in library and binary names where appropriate. Verified successful build and functionality of prefixed binaries This commit ensures compatiblity with prefixed binary naming while maintaining the integrity of the build system and runtime. Signed-off-by: Michael Ayele <whayel01@louisville.edu>
1 parent bfa66cb commit 689a658

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/tools/prte_info/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ AM_LDFLAGS = $(prte_hwloc_LDFLAGS) $(prte_libevent_LDFLAGS) $(prte_pmix_LDFLAGS)
4343
#Applied binary prefix to the names
4444
bin_PROGRAMS = @PRTE_BINARY_PREFIX@prte_info
4545

46-
prte_info_SOURCES = \
46+
@PRTE_BINARY_PREFIX@prte_info_SOURCES = \
4747
pinfo.h \
4848
prte_info.c \
4949
output.c \
5050
param.c \
5151
components.c \
5252
version.c
5353

54-
prte_info_LDADD = \
54+
@PRTE_BINARY_PREFIX@prte_info_LDADD = \
5555
$(prte_libevent_LIBS) \
5656
$(prte_hwloc_LIBS) \
5757
$(prte_pmix_LIBS) \

src/tools/prun/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ AM_CFLAGS = \
4242
#Apply binary prefix to the names
4343
bin_PROGRAMS = @PRTE_BINARY_PREFIX@prun
4444

45-
prun_SOURCES = \
45+
@PRTE_BINARY_PREFIX@prun_SOURCES = \
4646
main.c \
4747
prun.c \
4848
prun.h
4949

50-
prun_LDADD = \
50+
@PRTE_BINARY_PREFIX@prun_LDADD = \
5151
$(prte_libevent_LIBS) \
5252
$(prte_hwloc_LIBS) \
5353
$(prte_pmix_LIBS) \

src/tools/pterm/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ AM_LDFLAGS = $(prte_hwloc_LDFLAGS) $(prte_libevent_LDFLAGS) $(prte_pmix_LDFLAGS)
2727
#Apply binary prefix to the names
2828
bin_PROGRAMS = @PRTE_BINARY_PREFIX@pterm
2929

30-
pterm_SOURCES = \
30+
@PRTE_BINARY_PREFIX@pterm_SOURCES = \
3131
pterm.c
3232

33-
pterm_LDADD = \
33+
@PRTE_BINARY_PREFIX@pterm_LDADD = \
3434
$(prte_libevent_LIBS) \
3535
$(prte_hwloc_LIBS) \
3636
$(prte_pmix_LIBS) \

0 commit comments

Comments
 (0)