Makefile.in 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  4. #
  5. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. #
  7. include $(top_srcdir)libc/inet/rpc/Makefile.in
  8. CSRC := getservice.c getproto.c hostid.c getnetent.c getnetbynm.c getnetbyad.c \
  9. inet_net.c ntop.c herror.c if_index.c gai_strerror.c getaddrinfo.c \
  10. in6_addr.c ether_addr.c ntohl.c opensock.c ifaddrs.c
  11. # multi source addr.c
  12. CSRC += inet_aton.c inet_addr.c inet_ntoa.c inet_makeaddr.c inet_lnaof.c \
  13. inet_netof.c
  14. # multi source resolv.c
  15. CSRC += encodeh.c decodeh.c encoded.c decoded.c lengthd.c encodeq.c \
  16. decodeq.c lengthq.c encodea.c decodea.c encodep.c decodep.c \
  17. formquery.c dnslookup.c resolveaddress.c opennameservers.c \
  18. closenameservers.c resolvename.c gethostbyname.c res_init.c \
  19. res_query.c gethostbyaddr.c read_etc_hosts_r.c get_hosts_byname_r.c \
  20. get_hosts_byaddr_r.c gethostbyname2.c getnameinfo.c gethostent.c \
  21. gethostbyname_r.c gethostbyname2_r.c gethostbyaddr_r.c \
  22. res_comp.c ns_name.c
  23. # multi source socketcalls.c
  24. CSRC += accept.c bind.c connect.c getpeername.c getsockname.c getsockopt.c \
  25. listen.c recv.c recvfrom.c recvmsg.c send.c sendmsg.c sendto.c \
  26. setsockopt.c shutdown.c socket.c socketpair.c
  27. INET_DIR := $(top_srcdir)libc/inet
  28. INET_OUT := $(top_builddir)libc/inet
  29. INET_SRC := $(patsubst %.c,$(INET_DIR)/%.c,$(CSRC))
  30. INET_OBJ := $(patsubst %.c,$(INET_OUT)/%.o,$(CSRC))
  31. libc-y += $(INET_OBJ)
  32. objclean-y += inet_objclean
  33. inet_objclean:
  34. $(RM) $(INET_OUT)/*.{o,os}