blob: eb7716a82425d80afa4607bbbb68de1ee5d7304a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# libbsd A collection of library modules similar or equal to their
# BSD UNIX equivalents, to make the job of porting BSD pro-
# grams to LINUX easier.
#
# Author: Rick Sladkey, <jrs@world.std.com>
# Ported to linux-86 (by removing select.c): Dick Porter <dick@cymru.net>
#
# Copyright (C) 1995,1996 Robert de Bath <rdebath@cix.compulink.co.uk>
# This file is part of the Linux-8086 C library and is distributed
# under the GNU Library General Public License.
TOP=..
include $(TOP)/Make.defs
include ./Make.defs
LIBBSD=libbsd.a
TARGETS=$(LIBBSD)
SRCS= daemon.c logwtmp.c logout.c pty.c login_tty.c \
sgtty.c cfsetspeed.c revoke.c setpassent.c \
checkrhosts.c
OBJS=$(SRCS:.c=.o)
TXT=COPYING Changes Contributors MAGIC \
Make.defs Makefile New_subdir Pre_main README TODO KERNEL
all: $(TARGETS)
install: all
install -d $(BCCHOME)
install -d $(LIBDIR)/i86
install -m 644 $(LIBBSD) $(LIBDIR)/i86
tests: dummy
make -C tests
$(LIBBSD): $(OBJS)
$(AR) rcvs $(LIBBSD) $(OBJS)
realclean: clean
rm -f $(LIBBSD)
clean: dummy
rm -f *.o
dummy:
|