Mercurial > audlegacy
comparison mk/objective.mk @ 689:43a4216d3dc1 trunk
[svn] Attach a SONAME to all .so's.
author | nenolod |
---|---|
date | Sat, 25 Feb 2006 13:15:05 -0800 |
parents | 3e03da73a514 |
children | 63ce2be16d4f |
comparison
equal
deleted
inserted
replaced
688:cc1969408403 | 689:43a4216d3dc1 |
---|---|
120 | 120 |
121 %.so: $(OBJECTS) | 121 %.so: $(OBJECTS) |
122 if test "x$(OBJECTS)" != "x"; then \ | 122 if test "x$(OBJECTS)" != "x"; then \ |
123 make $(OBJECTS); \ | 123 make $(OBJECTS); \ |
124 printf "%10s %-20s\n" LINK $@; \ | 124 printf "%10s %-20s\n" LINK $@; \ |
125 $(CC) -fPIC -DPIC -shared -o $@ $(OBJECTS) $(LDFLAGS) $(LIBADD); \ | 125 $(CC) -fPIC -DPIC -shared -o $@ -Wl,-soname=$@ $(OBJECTS) $(LDFLAGS) $(LIBADD); \ |
126 fi | 126 fi |
127 | 127 |
128 %.a: $(OBJECTS) | 128 %.a: $(OBJECTS) |
129 if test "x$(OBJECTS)" != "x"; then \ | 129 if test "x$(OBJECTS)" != "x"; then \ |
130 make $(OBJECTS); \ | 130 make $(OBJECTS); \ |