mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-13 13:44:36 +00:00
3c06f6a0b2
openbsd-compat/. And resolve all ./configure and Makefile.in issues assocated. Logic: * All OpenBSD functions should have the same filename as in the OpenBSD tree * All 'home brew' functions have bsd-* infront of them. * All 'not really implemented' functions have fake-* infront of them.
34 lines
797 B
Makefile
34 lines
797 B
Makefile
sysconfdir=@sysconfdir@
|
|
piddir=@piddir@
|
|
srcdir=@srcdir@
|
|
top_srcdir=@top_srcdir@
|
|
|
|
CC=@CC@
|
|
LD=@LD@
|
|
CFLAGS=@CFLAGS@
|
|
CPPFLAGS=@CPPFLAGS@ -I. -I.. -I$(srcdir) @DEFS@
|
|
LIBS=@LIBS@
|
|
AR=@AR@
|
|
RANLIB=@RANLIB@
|
|
INSTALL=@INSTALL@
|
|
LDFLAGS=-L. @LDFLAGS@
|
|
|
|
OPENBSD=base64.o bindresvport.o daemon.o getcwd.o getgrouplist.o inet_aton.o inet_ntoa.o mktemp.o realpath.o rresvport.o setenv.o setproctitle.o sigaction.o strlcat.o strlcpy.o strmode.o strsep.o strtok.o vis.o
|
|
|
|
COMPAT=bsd-arc4random.o bsd-cygwin_util.o bsd-misc.o bsd-nextstep.o bsd-snprintf.o bsd-waitpid.o fake-getaddrinfo.o fake-getnameinfo.o
|
|
|
|
|
|
all: libopenbsd-compat.a
|
|
|
|
$(BSDCOMPAT): ../config.h
|
|
|
|
libopenbsd-compat.a: $(COMPAT) $(OPENBSD)
|
|
$(AR) rv $@ $(COMPAT) $(OPENBSD)
|
|
$(RANLIB) $@
|
|
|
|
clean:
|
|
rm -f *.o *.a core
|
|
|
|
distclean: clean
|
|
rm -f Makefile *~
|