Makefile revision 44789
134198Sjdp# 244789Sjdp# $Id: Makefile,v 1.4 1999/03/12 17:33:26 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 842450SjdpSOBJS= crtbegin.So crtend.So 944789SjdpCFLAGS+= -elf -Wall -fkeep-inline-functions 1034198SjdpLDFLAGS+= -elf 1134198SjdpNOMAN= true 1234198SjdpNOPIC= true 1334198SjdpNOPROFILE= true 1434198SjdpINTERNALLIB= true 1534198Sjdp 1634198Sjdpall: ${OBJS} ${SOBJS} 1734198Sjdp 1838928Sjdpgcrt1.o: crt1.c 1938928Sjdp ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.CURDIR}/crt1.c 2038928Sjdp 2134198Sjdprealinstall: 2234198Sjdp.for file in ${OBJS} ${SOBJS} 2334198Sjdp ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 2442450Sjdp ${file} ${DESTDIR}${LIBDIR}/${file:S/.So$/S.o/} 2534198Sjdp.endfor 2634198Sjdp 2734198Sjdp.include <bsd.lib.mk> 28