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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [getent/] [Makefile] - Blame information for rev 1775

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
# Copyright (C) 1996 Nat Friedman 
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
CFLAGS=$(ARCH) -ansi $(CCFLAGS) $(DEFS)
14
 
15
PSRC=__getpwent.c pwent.c getpwnam.c getpwuid.c putpwent.c getpw.c fgetpwent.c
16
GSRC=__getgrent.c grent.c getgrnam.c getgrgid.c fgetgrent.c initgroups.c \
17
        config-grp.h
18
USRC=utent.c
19
 
20
POBJ=__getpwent.o pwent.o getpwnam.o getpwuid.o putpwent.o getpw.o fgetpwent.o
21
GOBJ=__getgrent.o grent.o getgrnam.o getgrgid.o fgetgrent.o initgroups.o
22
UOBJ=utent.o
23
 
24
OBJ=$(POBJ) $(GOBJ) $(UOBJ)
25
 
26
all: $(LIBC)($(OBJ))
27
        @$(RM) $(OBJ)
28
 
29
$(LIBC)($(GOBJ)): config-grp.h
30
 
31
clean:
32
        rm -f *.o libc.a
33
 

powered by: WebSVN 2.1.0

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