#
# This is Makefile of inet lib for Linux
#

include ../Makeconfig

include ../Makerules

LIB:=../$(LIB)
LIBALIAS:=../$(LIBALIAS)

JUMP_DIR:=../jump/$(SHLIB)
JUMP_LIB=libc

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

ifdef YP
VSCFLAGS=-DNIS
endif

CFLAGS = $(WFLAGS) $(OPTFLAGS) $(INC) $(XCFLAGS) $(VSCFLAGS)
INC= -I../include -I. -I..

DIRS:=
SRCS = gethstnmad.c getnetbyad.c getnetbynm.c getnetent.c \
	getproto.c getprtent.c getprtname.c getservent.c \
	getsrvbynm.c getsrvbypt.c herror.c inet_addr.c \
	inet_lnaof.c inet_mkadr.c inet_net.c inet_netof.c \
	inet_ntoa.c rcmd.c res_comp.c res_debug.c res_init.c \
	res_mkqry.c res_query.c res_send.c rexec.c ruserpass.c \
	sethostent.c bindresvport.c
ASMS= $(SRCS:.c=.s) 
OBJS= $(SRCS:.c=.o)

include ../Maketargets
