25 lines
495 B
Makefile
25 lines
495 B
Makefile
|
#
|
||
|
# $Id: Makefile,v 1.6 1996/04/12 02:24:34 jdp Exp $
|
||
|
#
|
||
|
|
||
|
SRCS= crt1.c crtbegin.c crtend.c crti.S crtn.S
|
||
|
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
|
||
|
SOBJS= crtbegin.so crtend.so
|
||
|
CFLAGS+= -elf
|
||
|
CFLAGS+= -Wall -Wno-unused
|
||
|
LDFLAGS+= -elf
|
||
|
NOMAN= true
|
||
|
NOPIC= true
|
||
|
NOPROFILE= true
|
||
|
INTERNALLIB= true
|
||
|
|
||
|
all: ${OBJS} ${SOBJS}
|
||
|
|
||
|
realinstall:
|
||
|
.for file in ${OBJS} ${SOBJS}
|
||
|
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
||
|
${file} ${DESTDIR}${LIBDIR}/${file:S/.so$/S.o/}
|
||
|
.endfor
|
||
|
|
||
|
.include <bsd.lib.mk>
|