#
# 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>
#

include ../Makeconfig

include ../Makerules

LIB:=../libbsd.a

ifndef OPTFLAGS
OPTFLAGS= -O6 -fomit-frame-pointer
endif

CFLAGS = $(WFLAGS) $(OPTFLAGS) $(INC) # $(XCFLAGS)
INC= -I$(CROSSINCDIR)/bsd -I$(CROSSINCDIR)  \
	-include $(CROSSINCDIR)/bsd/bsd.h

DIRS:=
SRCS= daemon.c logwtmp.c logout.c pty.c login_tty.c \
	  sgtty.c cfsetspeed.c revoke.c getusersh.c setpassent.c \
	  snprintf.c checkrhosts.c # strsep.c roundup.c
ASMS= $(SRCS:.c=.s)
OBJS= $(SRCS:.c=.o)
 
all: lib libalias
  
include ../Maketargets
