]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - 6/lib/csu/amd64/Makefile
merge fix for boot-time hang on centos' xen
[FreeBSD/FreeBSD.git] / 6 / lib / csu / amd64 / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../common
4
5 SRCS=           crt1.c crti.S crtn.S
6 OBJS=           ${SRCS:N*.h:R:S/$/.o/g}
7 OBJS+=          gcrt1.o
8 CFLAGS+=        -I${.CURDIR}/../common \
9                 -I${.CURDIR}/../../libc/include
10
11 all: ${OBJS}
12
13 CLEANFILES=     ${OBJS}
14
15 gcrt1.o: crt1.c
16         ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.CURDIR}/crt1.c
17
18 realinstall:
19         ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
20             ${OBJS} ${DESTDIR}${LIBDIR}
21
22 .include <bsd.lib.mk>