* Makefile.in (SUBLIBS): Add librt.a.

(librt.a): New rule to build librt.a.
This commit is contained in:
Corinna Vinschen 2009-06-12 10:19:36 +00:00
parent bf79ee9167
commit 06391373b0
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-06-12 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (SUBLIBS): Add librt.a.
(librt.a): New rule to build librt.a.
2009-06-12 Corinna Vinschen <corinna@vinschen.de> 2009-06-12 Corinna Vinschen <corinna@vinschen.de>
* posix_ipc.cc (check_path): Fix typo in comment. Align naming * posix_ipc.cc (check_path): Fix typo in comment. Align naming

View File

@ -228,7 +228,7 @@ API_VER:=$(srcdir)/include/cygwin/version.h
LIB_NAME:=libcygwin.a LIB_NAME:=libcygwin.a
LIBSERVER:=@LIBSERVER@ LIBSERVER:=@LIBSERVER@
SUBLIBS:=libpthread.a libutil.a ${CURDIR}/libm.a ${CURDIR}/libc.a libdl.a libresolv.a SUBLIBS:=libpthread.a libutil.a ${CURDIR}/libm.a ${CURDIR}/libc.a libdl.a libresolv.a librt.a
EXTRALIBS:=libautomode.a libbinmode.a libtextmode.a libtextreadmode.a EXTRALIBS:=libautomode.a libbinmode.a libtextmode.a libtextreadmode.a
INSTOBJS:=automode.o binmode.o textmode.o textreadmode.o INSTOBJS:=automode.o binmode.o textmode.o textreadmode.o
TARGET_LIBS:=$(LIB_NAME) $(CYGWIN_START) $(GMON_START) $(LIBGMON_A) $(SUBLIBS) $(INSTOBJS) $(EXTRALIBS) TARGET_LIBS:=$(LIB_NAME) $(CYGWIN_START) $(GMON_START) $(LIBGMON_A) $(SUBLIBS) $(INSTOBJS) $(EXTRALIBS)
@ -457,6 +457,9 @@ libdl.a: ${LIB_NAME} dlfcn.o
libresolv.a: ${LIB_NAME} minires.o libresolv.a: ${LIB_NAME} minires.o
${speclib} ${@F} ${speclib} ${@F}
librt.a: ${LIB_NAME} posix_ipc.o
${speclib} ${@F}
${EXTRALIBS}: lib%.a: %.o ${EXTRALIBS}: lib%.a: %.o
$(AR) cru $@ $? $(AR) cru $@ $?