home *** CD-ROM | disk | FTP | other *** search
/ Serving the Web / ServingTheWeb1995.disc1of1.iso / linux / slacksrce / d / libc / libc-4.6 / libc-4 / libc-linux / libbsd / Makefile < prev    next >
Encoding:
Makefile  |  1994-11-07  |  914 b   |  42 lines

  1. #
  2. # libbsd    A collection of library modules similar or equal to their
  3. #        BSD UNIX equivalents, to make the job of porting BSD pro-
  4. #        grams to LINUX easier.
  5. #
  6. # Author:    Rick Sladkey, <jrs@world.std.com>
  7. #
  8.  
  9. override STATIC=true
  10. override SHARED=false
  11. override DEBUG=false
  12. override PROFILE=false
  13. #override CHECKER=false
  14.  
  15. ifeq ($(CHECKER),true)
  16. override STATIC=false
  17. endif
  18.  
  19. # That is fake for SUBDIR.
  20. JUMP_LIB=libbsd
  21.  
  22. TOPDIR=..
  23.  
  24. include $(TOPDIR)/Makeconfig
  25. include $(TOPDIR)/Makerules
  26.  
  27. override STATIC_LIB=$(STATIC_DIR)/libbsd.a
  28. override CHECKER_LIB=$(CHECKER_DIR)/libbsd.a
  29.  
  30. INC_CFLAGS= -I$(CROSS_INCDIR)/bsd -I$(CROSS_INCDIR)  \
  31.     -include $(CROSS_INCDIR)/bsd/bsd.h
  32.  
  33. DIRS:=
  34. SRCS= daemon.c logwtmp.c logout.c pty.c login_tty.c \
  35.       sgtty.c cfsetspeed.c revoke.c setpassent.c \
  36.       checkrhosts.c select.c
  37. # snprintf.c strsep.c roundup.c getusersh.c
  38. ASMS= $(SRCS:.c=.s)
  39. OBJS= $(SRCS:.c=.o)
  40.  
  41. include $(TOPDIR)/Maketargets
  42.