summaryrefslogtreecommitdiffstats
path: root/lib/csu/i386-elf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/i386-elf/Makefile')
-rw-r--r--lib/csu/i386-elf/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/csu/i386-elf/Makefile b/lib/csu/i386-elf/Makefile
new file mode 100644
index 0000000..a4c72b3
--- /dev/null
+++ b/lib/csu/i386-elf/Makefile
@@ -0,0 +1,24 @@
+#
+# $Id: Makefile,v 1.6 1996/04/12 02:24:34 jdp Exp $
+#
+
+SRCS= crt1.c crtbegin.c crtend.c crti.S crtn.S
+OBJS= ${SRCS:N*.h:R:S/$/.o/g}
+SOBJS= crtbegin.so crtend.so
+CFLAGS+= -elf
+CFLAGS+= -Wall -Wno-unused
+LDFLAGS+= -elf
+NOMAN= true
+NOPIC= true
+NOPROFILE= true
+INTERNALLIB= true
+
+all: ${OBJS} ${SOBJS}
+
+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