aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-01-26 22:30:39 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-01-26 22:30:39 +0000
commitee18e2dca411637a65ac042c760af60ee634ae1e (patch)
tree6b6473ef35d595623a8e089843183f8e4d84cf4c
parent2e8ffe51549ac9b09300bdf9e40773e6f680016d (diff)
sorted out striping with install on Mac OS X
svn path=/trunk/externals/ext13/; revision=13101
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 671e0eb..324b0d6 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,6 @@ objectsdir = $(pkglibdir)
INSTALL = install
INSTALL_FILE = $(INSTALL) -p -m 644
-INSTALL_LIB = $(INSTALL) -p -m 644 -s
INSTALL_DIR = $(INSTALL) -p -m 755 -d
CFLAGS = -DPD -I$(PD_PATH)/src -Wall -W -g
@@ -156,11 +155,11 @@ libdir_install: $(SOURCES:.c=.$(EXTENSION)) install-doc
$(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
$(INSTALL_FILE) $(LIBRARY_NAME)-meta.pd \
$(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
- test -z "$(SOURCES)" || \
- $(INSTALL_LIB) $(SOURCES:.c=.$(EXTENSION)) \
- $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
+ test -z "$(SOURCES)" || (\
+ $(INSTALL_FILE) $(SOURCES:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) && \
+ $(STRIP) $(addprefix $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/,$(SOURCES:.c=.$(EXTENSION))))
test -z "$(PDOBJECTS)" || \
- $(INSTALL_LIB) $(OBJECTS) \
+ $(INSTALL_FILE) $(OBJECTS) \
$(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
# install library linked as single binary