home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-08-28 | 863 b | 35 lines |
- #
- # This is Makefile of inet lib for Linux
- #
-
- TOPDIR=..
-
- include $(TOPDIR)/Makeconfig
- include $(TOPDIR)/Makerules
-
- ifeq ($(YP),true)
- VSCFLAGS=-DNIS
- endif
-
- INC_CFLAGS= -I. -I$(TOPDIR)
- BASE_CFLAGS := $(BASE_CFLAGS) $(VSCFLAGS) -DUSE_OPTIONS_H=1
-
- DIRS:=
- ifeq ($(NYS),)
- 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 nsap_addr.c
- else
- SRCS= herror.c rexec.c rcmd.c ruserpass.c bindresvport.c \
- inet_lnaof.c inet_mkadr.c inet_net.c inet_netof.c inet_ntoa.c inet_addr.c
- endif
- ASMS= $(SRCS:.c=.s)
- OBJS= $(SRCS:.c=.o)
- ALIASES=
-
- include $(TOPDIR)/Maketargets
-