Makefile revision 38928
134198Sjdp# 238928Sjdp# $Id: Makefile,v 1.1.1.1 1998/03/07 20:27:10 jdp Exp $ 334198Sjdp# 434198Sjdp 534198SjdpSRCS= crt1.c crtbegin.c crtend.c crti.S crtn.S 634198SjdpOBJS= ${SRCS:N*.h:R:S/$/.o/g} 738928SjdpOBJS+= gcrt1.o 834198SjdpSOBJS= crtbegin.so crtend.so 934198SjdpCFLAGS+= -elf 1034198SjdpCFLAGS+= -Wall -Wno-unused 1134198SjdpLDFLAGS+= -elf 1234198SjdpNOMAN= true 1334198SjdpNOPIC= true 1434198SjdpNOPROFILE= true 1534198SjdpINTERNALLIB= true 1634198Sjdp 1734198Sjdpall: ${OBJS} ${SOBJS} 1834198Sjdp 1938928Sjdpgcrt1.o: crt1.c 2038928Sjdp ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.CURDIR}/crt1.c 2138928Sjdp 2234198Sjdprealinstall: 2334198Sjdp.for file in ${OBJS} ${SOBJS} 2434198Sjdp ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 2534198Sjdp ${file} ${DESTDIR}${LIBDIR}/${file:S/.so$/S.o/} 2634198Sjdp.endfor 2734198Sjdp 2834198Sjdp.include <bsd.lib.mk> 29