* added compilers lcc and bcc (linux86)
[mascara-docs.git] / compilers / linux86-0.16.17 / libc / getent / Makefile
blobd2623bc7269d2335272b23f2af4b3da3f9c7c306
1 # Copyright (C) 1996 Nat Friedman <ndf@aleph1.mit.edu>
2 # This file is part of the Linux-8086 C library and is distributed
3 # under the GNU Library General Public License.
5 ifeq ($(PLATFORM),i386-ELKS)
6 CFLAGS=$(ARCH) $(WALL) $(CCFLAGS) $(DEFS)
7 else
8 CFLAGS=$(ARCH) -ansi $(CCFLAGS) $(DEFS)
9 endif
11 PSRC=__getpwent.c pwent.c getpwnam.c getpwuid.c putpwent.c getpw.c fgetpwent.c
12 GSRC=__getgrent.c grent.c getgrnam.c getgrgid.c fgetgrent.c initgroups.c \
13 config-grp.h
14 USRC=utent.c
16 POBJ=__getpwent.o pwent.o getpwnam.o getpwuid.o putpwent.o getpw.o fgetpwent.o
17 GOBJ=__getgrent.o grent.o getgrnam.o getgrgid.o fgetgrent.o initgroups.o
18 UOBJ=utent.o
20 ifeq ($(LIB_OS),ELKS)
22 OBJ=$(POBJ) $(GOBJ) $(UOBJ)
24 all: $(LIBC)($(OBJ))
25 @$(RM) $(OBJ)
27 $(LIBC)($(GOBJ)): config-grp.h
29 else
30 all:
32 endif
34 clean:
35 rm -f *.o libc.a