Return to Makefile CVS log | Up to [local] / src / libexec / ld.so |
File: [local] / src / libexec / ld.so / Makefile (download)
Revision 1.23, Thu Nov 20 23:23:09 2003 UTC (20 years, 6 months ago) by avsm
remove -Werror from userland builds, to give us a chance to use more verbose warning options if desired. ok millert@, henning@, david@ |
# $OpenBSD: Makefile,v 1.23 2003/11/20 23:23:09 avsm Exp $ SUBDIR=ldconfig ldd VPATH=${.CURDIR}/../../lib/libc/string SRCS= ldasm.S loader.c resolve.c dlfcn.c dl_printf.c rtld_machine.c SRCS+= util.c sod.c strsep.c strtol.c dir.c .if (${MACHINE_ARCH} == "i386") SRCS+= library_mquery.c .else SRCS+= library.c .endif PROG= ld.so MAN= ld.so.1 .include "${.CURDIR}/${MACHINE_ARCH}/Makefile.inc" .PATH: ${.CURDIR}/${MACHINE_ARCH} CFLAGS += -Wall CFLAGS += -I${.CURDIR} -I${.CURDIR}/${MACHINE_ARCH} \ -Dstrsep=_dl_strsep INSTALL_STRIP= ELF_LDFLAGS+=--shared -Bsymbolic $(PROG): $(LD) -x -e _dl_start $(ELF_LDFLAGS) -o $(PROG) $(OBJS) .include <bsd.prog.mk>