diff options
Diffstat (limited to 'c/src/exec')
-rw-r--r-- | c/src/exec/score/tools/generic/Makefile.in | 5 | ||||
-rw-r--r-- | c/src/exec/score/tools/hppa1.1/Makefile.in | 2 | ||||
-rw-r--r-- | c/src/exec/score/tools/unix/Makefile.in | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/c/src/exec/score/tools/generic/Makefile.in b/c/src/exec/score/tools/generic/Makefile.in index 419b20b96c..e5fdec7d7f 100644 --- a/c/src/exec/score/tools/generic/Makefile.in +++ b/c/src/exec/score/tools/generic/Makefile.in @@ -22,13 +22,12 @@ PGMS=size_rtems INSTALLED=$(PGMS:%=$(DESTDIR)/%) all: $(DESTDIR) $(PGMS) install - echo $(DESTDIR) $(DESTDIR): - [ -d $@ ] || $(MKDIR) $@ + $(BSDINSTALL) $(INSTDIRFLAGS) $@ install: $(INSTALLED) # Install the program $(DESTDIR)/%: % - $(make-script) + $(BSDINSTALL) $(INSTBINFLAGS) $^ $@ diff --git a/c/src/exec/score/tools/hppa1.1/Makefile.in b/c/src/exec/score/tools/hppa1.1/Makefile.in index c5cdbb753e..4a8be52b11 100644 --- a/c/src/exec/score/tools/hppa1.1/Makefile.in +++ b/c/src/exec/score/tools/hppa1.1/Makefile.in @@ -50,7 +50,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) preinstall $(PGMS) - $(INSTALL) -m 555 ${PGMS} ${PROJECT_RELEASE}/bin + $(INSTALL) $(INSTBINFLAGS) ${PGMS} ${PROJECT_RELEASE}/bin # Hack # we are #including files that haven't been installed yet. diff --git a/c/src/exec/score/tools/unix/Makefile.in b/c/src/exec/score/tools/unix/Makefile.in index 6041f15730..f49c25c734 100644 --- a/c/src/exec/score/tools/unix/Makefile.in +++ b/c/src/exec/score/tools/unix/Makefile.in @@ -50,7 +50,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGMS) - $(INSTALL) -m 555 ${PGMS} ${PROJECT_RELEASE}/bin + $(BSDINSTALL) $(INSTBINFLAGS) ${PGMS} ${PROJECT_RELEASE}/bin preinstall: |