Makefile (d2893b161bbea64e099654c0dd78073cfb5667b0) Makefile (c09ba32715e4d6f9339259b872375bca77f59d37)
1# $FreeBSD$
2
3.PATH: ${.CURDIR}/../common
4
5SRCS= crt1.c crti.S crtn.S
6OBJS= ${SRCS:N*.h:R:S/$/.o/g}
1# $FreeBSD$
2
3.PATH: ${.CURDIR}/../common
4
5SRCS= crt1.c crti.S crtn.S
6OBJS= ${SRCS:N*.h:R:S/$/.o/g}
7OBJS+= gcrt1.o
7OBJS+= Scrt1.o gcrt1.o
8CFLAGS+= -Wall -Wno-unused \
9 -I${.CURDIR}/../common \
10 -I${.CURDIR}/../../libc/include
11
12all: ${OBJS}
13
14CLEANFILES= ${OBJS}
15
16gcrt1.o: crt1.c
17 ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC}
18
8CFLAGS+= -Wall -Wno-unused \
9 -I${.CURDIR}/../common \
10 -I${.CURDIR}/../../libc/include
11
12all: ${OBJS}
13
14CLEANFILES= ${OBJS}
15
16gcrt1.o: crt1.c
17 ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC}
18
19Scrt1.o: crt1.c
20 ${CC} ${CFLAGS} -fPIC -DPIC -c -o Scrt1.o ${.ALLSRC}
21
19realinstall:
20 ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
21 ${OBJS} ${DESTDIR}${LIBDIR}
22
23.include <bsd.lib.mk>
22realinstall:
23 ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
24 ${OBJS} ${DESTDIR}${LIBDIR}
25
26.include <bsd.lib.mk>