aboutsummaryrefslogtreecommitdiff
path: root/snilib/Makefile
diff options
context:
space:
mode:
authorFlorian Lohoff <flo@rfc822.org>2008-11-29 12:16:56 +0000
committerGuido Günther <agx@sigxcpu.org>2009-04-26 15:26:27 +0200
commit7b4ca7013c58a67f1ec41478b1bfc250b3485d28 (patch)
treef759f75d5ac13dda6c581c3f6357d976b6cb593a /snilib/Makefile
parent4ce5705be57a10598775d14cc1b8a6296df9c653 (diff)
Add basic SNIRM support
Add basic SNIRM support - Currently has a hardcoded boot location but you get the idea.
Diffstat (limited to 'snilib/Makefile')
-rw-r--r--snilib/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/snilib/Makefile b/snilib/Makefile
new file mode 100644
index 0000000..4e6ec18
--- /dev/null
+++ b/snilib/Makefile
@@ -0,0 +1,20 @@
+#
+# Copyright 1999 Silicon Graphics, Inc.
+#
+CFLAGS += -O2 -I../common -mno-abicalls -G 0 -fno-pic -ffreestanding -DDEBUG
+
+TARGETS = libsni.a
+OBJECTS = sniprom.o
+
+all: $(TARGETS)
+
+$(TARGETS): $(OBJECTS)
+ rm -f $@
+ $(AR) -crs $@ $(OBJECTS)
+
+install: $(TARGETS)
+ install -d ${PREFIX}/${LIBDIR}
+ install -m 644 $< ${PREFIX}/${LIBDIR}
+
+clean:
+ rm -f libsni.a $(OBJECTS) *~ tags