summaryrefslogtreecommitdiff
path: root/lib/csu/alpha/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /lib/csu/alpha/Makefile
initial import of NetBSD tree
Diffstat (limited to 'lib/csu/alpha/Makefile')
-rw-r--r--lib/csu/alpha/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/csu/alpha/Makefile b/lib/csu/alpha/Makefile
new file mode 100644
index 00000000000..276f37501f0
--- /dev/null
+++ b/lib/csu/alpha/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 1995/02/10 17:53:00 cgd Exp $
+
+CFLAGS= -DLIBC_SCCS
+OBJS= crt0.o gcrt0.o
+CLEANFILES+= core a.out
+
+all: ${OBJS}
+
+crt0.o: crt0.s
+ ${CPP} -DCRT0 ${CFLAGS} ${.ALLSRC} | ${AS} -o $@
+ @${LD} -x -r ${.TARGET}
+ @mv a.out ${.TARGET}
+
+gcrt0.o: crt0.s
+ ${CPP} -DMCRT0 ${CFLAGS} ${.ALLSRC} | ${AS} -o $@
+ @${LD} -x -r ${.TARGET}
+ @mv a.out ${.TARGET}
+
+install:
+ install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
+ ${DESTDIR}/usr/lib
+
+depend lint tags:
+
+.include <bsd.prog.mk>