summaryrefslogtreecommitdiff
path: root/libresolv
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-09-22 09:45:02 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-09-22 09:45:02 +0000
commit0929e196d2279df7685558c710359c61d5589199 (patch)
tree5e2228bbede7614f0d74023f6fb11a0e48f23f29 /libresolv
parentc12b5f415798001a303145de0907a24968710a19 (diff)
no check needed in libm/libpthread, we do not recurse anymore if the related option is not set, more Makefile cleanups
Diffstat (limited to 'libresolv')
-rw-r--r--libresolv/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/libresolv/Makefile b/libresolv/Makefile
index 32ca32d71..d6270fece 100644
--- a/libresolv/Makefile
+++ b/libresolv/Makefile
@@ -46,13 +46,11 @@ $(OBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
-$(OBJ): Makefile
-
shared: all
$(LD) $(LDFLAGS) -soname=$(LIBRESOLV_SHARED).$(MAJOR_VERSION) \
-o $(LIBRESOLV_SHARED_FULLNAME) --whole-archive $(LIBRESOLV) \
--no-whole-archive $(TOPDIR)libc/misc/internals/interp.o \
- -L$(TOPDIR)lib -lc $(LDADD_LIBFLOAT) $(LIBGCC);
+ -L$(TOPDIR)lib -lc $(LDADD_LIBFLOAT) $(LIBGCC)
$(INSTALL) -d $(TOPDIR)lib
$(RM) $(TOPDIR)lib/$(LIBRESOLV_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBRESOLV_SHARED).$(MAJOR_VERSION)
$(INSTALL) -m 644 $(LIBRESOLV_SHARED_FULLNAME) $(TOPDIR)lib
@@ -60,4 +58,4 @@ shared: all
$(LN) -sf $(LIBRESOLV_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBRESOLV_SHARED).$(MAJOR_VERSION)
clean:
- $(RM) *.[oa] *~ core $(LIBRESOLV_SHARED)* $(LIBRESOLV_SHARED_FULLNAME)*
+ $(RM) *.[oa] *~ core $(LIBRESOLV) $(LIBRESOLV_SHARED_FULLNAME)