summaryrefslogtreecommitdiff
path: root/libc/getent/Makefile
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>1997-02-25 20:42:19 +0100
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:38:07 +0200
commit4c36e9a0c125ccfff37aa440dab2cf58c4152fff (patch)
treea5d9c84ba2661029ddb2223dacd50529a361c3d5 /libc/getent/Makefile
parentf8de35da65c5d93bb733073cf40da154bc1c0748 (diff)
parent9696d7b0e1f3a1b0f5fd4a0428eb75afe8ad4ed6 (diff)
downloaddev86-4c36e9a0c125ccfff37aa440dab2cf58c4152fff.tar.gz
Import Dev86src-0.0.11.tar.gzv0.0.11
Diffstat (limited to 'libc/getent/Makefile')
-rw-r--r--libc/getent/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/libc/getent/Makefile b/libc/getent/Makefile
new file mode 100644
index 0000000..9321ced
--- /dev/null
+++ b/libc/getent/Makefile
@@ -0,0 +1,36 @@
+# Copyright (C) 1996 Nat Friedman <ndf@aleph1.mit.edu>
+# This file is part of the Linux-8086 C library and is distributed
+# under the GNU Library General Public License.
+
+ifeq ($(PLATFORM),i386-ELKS)
+CFLAGS=$(ARCH) $(WALL) $(CCFLAGS) $(DEFS)
+else
+CFLAGS=$(ARCH) -ansi $(CCFLAGS) $(DEFS)
+endif
+
+PSRC=__getpwent.c pwent.c getpwnam.c getpwuid.c putpwent.c getpw.c fgetpwent.c
+GSRC=__getgrent.c grent.c getgrnam.c getgrgid.c fgetgrent.c initgroups.c \
+ config-grp.h
+USRC=utent.c
+
+POBJ=__getpwent.o pwent.o getpwnam.o getpwuid.o putpwent.o getpw.o fgetpwent.o
+GOBJ=__getgrent.o grent.o getgrnam.o getgrgid.o fgetgrent.o initgroups.o
+UOBJ=utent.o
+
+ifeq ($(LIB_OS),ELKS)
+
+OBJ=$(POBJ) $(GOBJ) $(UOBJ)
+
+all: $(LIBC)($(OBJ))
+ @:
+
+$(LIBC)($(GOBJ)): config-grp.h
+
+else
+all:
+ @:
+endif
+
+clean:
+ rm -f *.o libc.a
+