summaryrefslogtreecommitdiff
path: root/buildlib/library.mak
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:39 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:39 +0000
commite1b1ae50b50242e30a56e14df854d4368e8b49c2 (patch)
tree138434f2ab10a4aa5a73154347553a912a9cb4ae /buildlib/library.mak
parentc3c459fc5ec635db7e6fa7cff97f4d954cd39fc9 (diff)
Static lib support
Author: jgg Date: 1998-11-24 01:09:49 GMT Static lib support
Diffstat (limited to 'buildlib/library.mak')
-rw-r--r--buildlib/library.mak5
1 files changed, 3 insertions, 2 deletions
diff --git a/buildlib/library.mak b/buildlib/library.mak
index 4ac3760dc..8c8c2fa7a 100644
--- a/buildlib/library.mak
+++ b/buildlib/library.mak
@@ -17,10 +17,11 @@
# Some local definitions
LOCAL := lib$(LIBRARY).so.$(MAJOR).$(MINOR)
$(LOCAL)-OBJS := $(addprefix $(OBJ)/,$(addsuffix .opic,$(notdir $(basename $(SOURCE)))))
-$(LOCAL)-DEP := $(addprefix $(DEP)/,$(addsuffix .d,$(notdir $(basename $(SOURCE)))))
+$(LOCAL)-DEP := $(addprefix $(DEP)/,$(addsuffix .opic.d,$(notdir $(basename $(SOURCE)))))
$(LOCAL)-HEADERS := $(addprefix $(INCLUDE)/,$(HEADERS))
$(LOCAL)-SONAME := lib$(LIBRARY).so.$(MAJOR)
$(LOCAL)-SLIBS := $(SLIBS)
+$(LOCAL)-LIBRARY := $(LIBARARY)
# Install the command hooks
headers: $($(LOCAL)-HEADERS)
@@ -33,7 +34,7 @@ veryclean: veryclean/$(LOCAL)
clean/$(LOCAL):
-rm -f $($(@F)-OBJS) $($(@F)-DEP)
veryclean/$(LOCAL): clean/$(LOCAL)
- -rm -f $($(@F)-HEADERS) $(LIB)/lib$(LIBRARY).so*
+ -rm -f $($(@F)-HEADERS) $(LIB)/lib$($(@F)-LIBRARY).so*
# Build rules for the two symlinks
.PHONY: $(LIB)/lib$(LIBRARY).so.$(MAJOR) $(LIB)/lib$(LIBRARY).so