Merge commit 'origin/vendor/PAM_PASSWDQC'
[dragonfly.git] / lib / csu / i386 / Makefile.csu
1 # $FreeBSD: src/lib/csu/i386-elf/Makefile,v 1.6.2.5 2002/11/23 17:44:29 ru Exp $
2 # $DragonFly: src/lib/csu/i386/Makefile.csu,v 1.1 2007/01/15 18:01:44 corecode Exp $
3
4 CSUDIR?=        ${.CURDIR}
5
6 SRCS+=          crt1.c crti.S crtn.S
7 OBJS+=          gcrt1.o
8 INSTALLOBJS+=   crt1.o crti.o crtn.o gcrt1.o
9
10 CFLAGS+=        -elf -Wall -fkeep-inline-functions \
11                 -I${CSUDIR}/../common
12 LDFLAGS+=       -elf
13
14 .PATH:          ${CSUDIR} ${CSUDIR}/../common
15
16 gcrt1.o:        crt1.c
17         ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${CSUDIR}/crt1.c