summaryrefslogtreecommitdiffstats
path: root/lib/csu/alpha/Makefile
blob: 519446e85b5d42d40338d4989a56b4f14cc7e682 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# $FreeBSD$
#

SRCS=		crt1.c
OBJS=		crt1.o
OBJS+=		gcrt1.o
CFLAGS+=	-Wall -Wno-unused \
		-I${.CURDIR}/../common
NOMAN=		true
NOPIC=		true
NOPROFILE=	true
INTERNALLIB=	true

.PATH:		${.CURDIR}/../common

all: ${OBJS} ${SOBJS}

gcrt1.o:	crt1.c
	${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC}

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>
OpenPOWER on IntegriCloud