OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [sysdeps/] [or1k/] [Makefile] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
#
2
# Makefile of Linux specific functions for m68k
3
#
4
 
5
TOPDIR=../../..
6
 
7
include $(TOPDIR)/Makeconfig
8
include $(TOPDIR)/Makerules
9
 
10
INC_CFLAGS=-I$(TOPDIR) -I.
11
 
12
ifeq ($(MATH),true)
13
 
14
lib all:
15
        ($(MAKE) -C math $@)
16
 
17
else
18
 
19
DIRS:=math crt
20
 
21
ifeq ($(PROFILE),true)
22
DIRS:=$(DIRS) gmon
23
endif
24
 
25
SRC1S = __brk.c  __sbrk.c  __init_brk.c
26
 
27
# __load.c __adjtime.c __ntpgttm.c __wait.c __wait3.c __waitpid.c
28
# accept.c bind.c msgget.c msgrcv.c msgsnd.c msgctl.c semget.c
29
# semop.c semctl.c listen.c mmap.c socket.c socketpair.c tell.c
30
# ulimit.c recv.c revcfrom.c send.c sendto.c setpgrp.c setsockopt.c
31
# shutdown.c connect.c getpeernam.c getsocknam.c getsockopt.c
32
# shmget.c shmat.c shmdt.c shmctl.c
33
#SRC2S = __vfork.c vfork.c
34
#SRC3S = ____sig.S # __adjtimex.S
35
 
36
SRCS= $(SRC1S) $(SRC2S) $(SRC3S)
37
ASMS= $(SRC1S:.c=.s) $(SRC2S:.c=.s) $(SRC3S:.S=.s)
38
OBJS= $(SRC1S:.c=.o) $(SRC3S:.S=.o)
39
ALIASES= $(SRC2S:.c=.o)
40
 
41
include $(TOPDIR)/Maketargets
42
 
43
ifeq ($(STATIC),true)
44
 
45
#LIBIEEE=$(STATIC_DIR)/libieee.a
46
 
47
#lib:: $(LIBIEEE)
48
 
49
$(STATIC_DIR)/$(SUBDIR)/ieee.o: ieee.c
50
        $(CC) $(CFLAGS) -c $< -o $@
51
 
52
$(LIBIEEE): $(STATIC_DIR)/$(SUBDIR)/ieee.o
53
        $(RM) -f $(LIBIEEE)
54
        $(AR) $(AR_FLAGS) $(LIBIEEE) $?
55
        $(REALRANLIB) $(LIBIEEE)
56
endif
57
 
58
endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.