summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2012-12-19 00:49:01 +0100
committerBertrand Jacquin <beber@meleeweb.net>2012-12-19 00:52:17 +0100
commit0873f1d83ea24ad5af3ca9a2923b55f0476f7c0f (patch)
treee2d632836699ed3fb313c709b48952361879cdca
parent[BUILD] Split rewriter to re_<TAG>.{c,h} to be more readable (diff)
downloadmod_virtualvalue-0873f1d83ea24ad5af3ca9a2923b55f0476f7c0f.tar.gz
[BUILD] Remove static lib generatin as it's not really usable here
-rw-r--r--.gitignore2
-rw-r--r--Makefile9
2 files changed, 0 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore
index a60d86f..a44dc38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,5 @@
*.o
-*.a
*.so
-*.a.strip
*.so.strip
mod_virtualvalue-*.tar
mod_virtualvalue-*.txz
diff --git a/Makefile b/Makefile
index 0129ed6..a7f03f4 100644
--- a/Makefile
+++ b/Makefile
@@ -70,7 +70,6 @@ endif # DEBUG
CC = gcc
-AR = ar
LD = ld
STRIP = strip
@@ -89,11 +88,9 @@ endif # $(V)
all: shared
-static: $(NAME).a
shared: $(NAME).so
dist: $(NAME)-$(VERSION).txz
-strip-static: $(NAME).a.strip
strip-shared: $(NAME).so.strip
strip: strip-shared
@@ -101,10 +98,6 @@ strip: strip-shared
$(call quiet_cmd,CC,$@)
$(Q)$(CC) -c $(SPEC_CFLAGS) $(CFLAGS) -o $@ $<
-$(NAME).a: $(SRC:c=o)
- $(call quiet_cmd,AR,$@)
- $(Q)$(AR) cru $@ $^
-
$(NAME).so: $(SRC:c=o)
$(call quiet_cmd,LD,$@)
$(Q)$(LD) -shared -z now -o $@ $^ $(SPEC_LDFLAGS) $(LDFLAGS) -soname $@
@@ -127,8 +120,6 @@ $(NAME)-$(VERSION).tar: $(SRC) $(SRC:c=h) $(EXTRA_FILES) $(DOC_FILES)
clean:
$(call quiet_cmd,RM,$(SRC:c=o))
$(Q)$(RM) $(SRC:c=o)
- $(call quiet_cmd,RM,$(NAME).a)
- $(Q)$(RM) $(NAME).a $(NAME).a.strip
$(call quiet_cmd,RM,$(NAME).so)
$(Q)$(RM) $(NAME).so $(NAME).so.strip