9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
Log | Files | Refs | README | LICENSE

Makefile (772B)


      1 .POSIX:
      2 PROJECTDIR =../../../../..
      3 include $(PROJECTDIR)/scripts/rules.mk
      4 include ../../../rules.mk
      5 
      6 OBJS  = _Exit.o \
      7         _close.o \
      8         _getpid.o \
      9         _kill.o \
     10         _lseek.o \
     11         _open.o \
     12         _read.o \
     13         _write.o \
     14         _brk.o \
     15         _getheap.o \
     16         _setcontext.o \
     17         _sigaction.o \
     18         _sigaction2.o \
     19         _sigaction.o\
     20         _tzone.o \
     21         getenv.o \
     22         putenv.o \
     23         raise.o \
     24         signal.o \
     25         time.o \
     26         _sys_errlist.o \
     27         crt.o \
     28 
     29 all: syscall
     30 	$(MAKE) objs
     31 
     32 objs: $(OBJS)
     33 
     34 crt.o: ../crt-posix.s ../../crt-netbsd.s
     35 
     36 syscall: syscall.lst
     37 	./gensys.sh syscall.lst
     38 	touch syscall
     39 
     40 clean:
     41 	rm -f `awk '/[0-9]*	_/ {print $$2".s"}' syscall.lst`
     42 	rm -f syscall _sys_errlist.c