Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Inadvertently missing makefile
[palacios.git] / nautilus / Makefile
diff --git a/nautilus/Makefile b/nautilus/Makefile
new file mode 100644 (file)
index 0000000..0a95995
--- /dev/null
@@ -0,0 +1,53 @@
+include $(PWD)/../.config
+
+NAUTILUS_DIR = $(subst ",,$(V3_CONFIG_NAUTILUS_KERN))
+
+include $(NAUTILUS_DIR)/.config
+
+CC = gcc
+AR = ar
+
+
+PALACIOS_CFLAGS = -I$(PWD)/../palacios/include -include $(PWD)/../palacios/include/autoconf.h
+
+NAUTILUS_CFLAGS = -D__NAUTILUS__ -I$(NAUTILUS_DIR)/include -include $(NAUTILUS_DIR)/include/autoconf.h
+
+NAUTILUS_CFLAGS +=     -O2 \
+                        -fno-omit-frame-pointer \
+                        -ffreestanding \
+                        -fno-stack-protector \
+                        -fno-strict-aliasing \
+                        -fwrapv \
+                        -mno-red-zone \
+                        -mcmodel=large \
+                        -Wall \
+                        -Wno-unused-function \
+                        -Wno-unused-variable \
+                        -fno-common \
+                        -std=gnu99 \
+                        $(call cc-option, -Wno-unused-but-set-variable,)
+
+
+CFLAGS = -I. $(PALACIOS_CFLAGS) $(NAUTILUS_CFLAGS)
+
+LDFLAGS := --whole-archive -z max-page-size=0x1000
+
+OBJS = palacios-stubs.o  
+
+ifdef V3_CONFIG_CONSOLE
+       OBJS += console.o
+endif
+
+libnautilus.a : $(OBJS) 
+       $(AR) ruv libnautilus.a $(OBJS)
+
+%.o : %.c 
+       $(CC) $(CFLAGS) -c $< -o $@
+
+
+all: libnautilus.a
+
+clean:
+       rm -f *.o *.a
+
+