b843e53a97
now that has been committed. The makefile is derived from the i386-elf version, modified to pick up most of the source (except crt1.c) from i386-elf. With minor changes to i386-elf/crt1.c, this directory can be combined with i386-elf to be a single csu/elf directory for all seasons.
24 lines
501 B
Makefile
24 lines
501 B
Makefile
#
|
|
# $Id: Makefile,v 1.1.1.1 1998/03/07 20:27:10 jdp Exp $
|
|
#
|
|
|
|
.PATH: ${.CURDIR}/../i386-elf
|
|
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+= -Wall -Wno-unused
|
|
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>
|