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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [uclinux/] [uC-libc/] [termios/] [Makefile] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
# Copyright (C) 1996 Robert de Bath 
2
# This file is part of the Linux-8086 C library and is distributed
3
# under the GNU Library General Public License.
4
 
5
LIBC=../libc.a
6
 
7
CC=or32-elf-gcc
8
AR=or32-elf-ar
9
RANLIB=or32-elf-ranlib
10
 
11
CCFLAGS= -O2  -msoft-float -I../include
12
 
13
TSRC=termios.c
14
TOBJ=tcsetattr.o tcgetattr.o tcdrain.o tcflow.o tcflush.o tcsendbreak.o \
15
     tcsetpgrp.o tcgetpgrp.o isatty.o   \
16
     cfgetospeed.o cfgetispeed.o cfsetospeed.o cfsetispeed.o cfmakeraw.o
17
 
18
#     cfgetospeedn.o cfgetispeedn.o cfsetospeedn.o cfsetispeedn.o tcspeed.o
19
 
20
OBJ=$(TOBJ) ttyname.o
21
# unlike everything else, this does not compile out of the box...
22
#  ttyname.o
23
 
24
CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
25
 
26
all: $(LIBC)
27
        @$(RM) $(OBJ)
28
 
29
$(LIBC): $(LIBC)($(OBJ))
30
 
31
$(LIBC)($(TOBJ)): $(TSRC)
32
        $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
33
        $(AR) $(ARFLAGS) $@ $*.o
34
 
35
clean:
36
        rm -f *.o libc.a

powered by: WebSVN 2.1.0

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