head	1.2;
access;
symbols
	libc-5-4-46:1.2
	libc-5-4-45:1.2
	libc-5-4-44:1.2
	libc-5-4-43:1.2
	libc-5-4-42:1.2
	libc-5-4-41:1.2
	libc-5-4-40:1.2
	libc-5-4-39:1.2
	libc-5-4-38:1.2
	libc-5-4-37:1.2
	libc-5-4-36:1.2
	libc-5-4-35:1.2
	libc-5-4-34:1.2
	libc-5-4-33:1.2
	libc-5-4-32:1.2
	libc-5-4-31:1.2
	libc-5-4-30:1.2
	libc-5-4-29:1.2
	libc-5-4-28:1.2
	libc-5-4-27:1.2
	libc-5-4-26:1.2
	libc-5-4-25:1.2
	libc-5-4-24:1.2
	libc-5-4-23:1.2
	libc-5-4-22:1.2
	libc-5-4-21:1.2
	libc-5-4-20:1.2
	libc-5-4-19:1.2
	libc-5-4-18:1.2
	libc-5-4-17-public:1.2
	libc-5-4-17:1.2
	libc-5-4-16:1.2
	libc-5-4-15:1.2
	libc-5-4-14:1.2
	libc-5-4-13:1.2
	libc-5-4-12:1.2
	libc-5-4-11:1.2
	libc-5-4-10:1.2
	libc-5-4-9:1.2
	libc-5-4-8:1.2
	libc-5-4-7-public:1.2
	libc-5-4-7:1.2
	libc-5-4-6:1.2
	libc-5-4-5:1.2
	libc-5-4-4:1.2
	libc-5-4-3:1.2
	libc-5-4-2:1.2
	libc-5-4-1:1.2
	libc-5-4-0:1.2
	libc-5-3-12:1.2
	libc-5-3-11:1.2
	libc-5-3-10:1.2
	libc-5-3-9:1.2
	libc-5-3-8:1.2
	libc-5-3-7:1.2
	libc-5-3-7-pre:1.2
	libc-5-3-6:1.2
	libc-5-3-5:1.2
	libc-5-3-4:1.2
	libc-5-3-3:1.2
	libc-5-3-2:1.2
	libc-5-3-1:1.2
	libc-5-3-0:1.2
	libc-5-2-19:1.2
	libc-5-2-18:1.2
	libc-5-2-17:1.2
	libc-5-2-16:1.2
	libc-5-2-15:1.2
	libc-5-2-14:1.2
	libc-5-2-13:1.2
	libc-5-2-12:1.2
	libc-5-2-11:1.2
	libc-5-2-10:1.2
	libc-5-2-9:1.2
	libc-5-2-8-1:1.2
	libc-5-2-8:1.2
	libc-5-2-7:1.2
	libc-5-2-6:1.2
	libc-5-2-5:1.2
	libc-5-2-4:1.2
	libc-5-2-3:1.2
	libc-5-2-2:1.2
	libc-5-2-1:1.2
	libc-5-2-0:1.2
	libc-5-1-4:1.2
	libc-5-1-3:1.2
	libc-5-1-2:1.2
	libc-5-1-1:1.2
	libc-5-1-0:1.2
	libc-5-0-12-stable:1.2
	libc-5-0-11:1.2
	libc-5-0-10:1.2
	libc-5-0-9:1.1.1.1
	libc-5-0-8:1.1.1.1
	libc-5-0-7:1.1.1.1
	libc-5-0-6:1.1.1.1
	libc-5-0-5:1.1.1.1
	libc-5-0-4:1.1.1.1
	libc-5-0-3:1.1.1.1
	libc-5-0-2:1.1.1.1
	libc-5-0-1-1:1.1.1.1
	libc-5-0-1:1.1.1.1
	libc-5-0-0:1.1.1.1
	libc-4-8-0:1.1.1.1
	libc-4-6-30:1.1.1.1
	libc-4-6-29:1.1.1.1
	libc-4-6-28-6:1.1.1.1
	libc-4-6-28-5:1.1.1.1
	libc-4-6-28-4:1.1.1.1
	libc-4-6-28-3:1.1.1.1
	libc-4-6-28-2:1.1.1.1
	libc-4-6-28-1:1.1.1.1
	libc-4-6-28:1.1.1.1
	libc-4-6-27:1.1.1.1
	linux:1.1.1;
locks; strict;
comment	@# @;


1.2
date	95.05.25.05.22.41;	author hjl;	state Exp;
branches;
next	1.1;

1.1
date	95.02.18.05.33.18;	author hjl;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	95.02.18.05.33.19;	author hjl;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update for threads.
@
text
@TOPDIR=../../..

include $(TOPDIR)/Makeconfig
include $(TOPDIR)/Makerules

INC_CFLAGS=-I.. -I../$(TARGET_ARCH) -DNO_UNDERSCORE -DVERBOSE_DLINKER

PIC_OPT_CFLAGS=-fPIC -O2 -D__PIC__  # -funroll-loops

SRC2S = dlib.c

SRCS	= $(SRC1S) $(SRC2S)
OBJ1S	= $(SRC1S:.S=.o)
OBJ2S	= $(SRC2S:.c=.o)
OBJS	= $(OBJ1S) $(OBJ2S)

DL_VERSION:=$(shell awk -F= ' { if ($$1 == "Version")  print $$2 }' \
  ../../libdl/jump.params)

DL_MAJOR:=$(shell awk -F= ' { \
  if ($$1 == "Version") { \
    for (i = 1; i <= length ($$2); i++) { \
      if (substr ($$2, i, 1) == ".") { \
	print substr ($$2, 1, i - 1); break; \
      } } } } '  ../../libdl/jump.params)

LIBDL=$(ELF_SHARED_DIR)/libdl.so.$(DL_VERSION)

ELF_LDFLAGS=--shared -nostdlib -nostartfiles # using GNU ld
#ELF_LDFLAGS=-G  # with SVr4 ld

lib:: $(OBJS)
	$(CC) $(ELF_LDFLAGS) -o $(LIBDL) -Wl,-soname -Wl,libdl.so.$(DL_MAJOR) *.o

obj: $(OBJS)

realclean::
	$(RM) -f .depend core *.o *.a *.s *.i tmp_make foo

clean::
	$(RM) -f core *.o *.a *.s *.i tmp_make foo

depend::
	$(CC) $(CFLAGS) -M $(SRCS) | \
		sed -e 's,^[ 	]*\(.*.o\)[ 	]*:,$(STATIC_DIR)/$(SUBDIR)/\1 $(SHARED_DIR)/$(SUBDIR)/\1 $(SHARED_LITE_DIR)/$(SUBDIR)/\1 $(DEBUG_DIR)/$(SUBDIR)/\1 $(PROFILE_DIR)/$(SUBDIR)/\1 $(CHECKER_DIR)/$(SUBDIR)/\1:,' > .depend
#	$(MAKE) subdir TARGET=depend

ifneq ($(DIRS),)
lib realclean clean depend::
	@@for i in $(DIRS); do \
	  echo making $@@ in $$i; \
	  ($(MAKE) -C $$i $@@); \
	done;
endif

#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif

@


1.1
log
@Initial revision
@
text
@d29 1
a29 1
ELF_LDFLAGS=--shared -nostdlib # using GNU ld
@


1.1.1.1
log
@The Linux C library 4.6.27 (source files).
@
text
@@

