geom_gate userland utility improvements
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- # $FreeBSD$
-
- .PATH: ${.CURDIR:H}/shared
-
- LIBSSH2_DIR=../libssh2
- LIBSSH2=${LIBSSH2_DIR}/src/.libs/libssh2.a
- PROG= ggatessh
- MAN= ggatessh.8
- SRCS= ggatessh.c ggate.c
-
- CFLAGS+= -DMAX_SEND_SIZE=32768
- CFLAGS+= -DLIBGEOM
- CFLAGS+= -I${.CURDIR:H}/shared
- CFLAGS+= -I${LIBSSH2_DIR}/include
- #CFLAGS+= -O0 -g
- #CFLAGS+= -fprofile-instr-generate
-
- #LDFLAGS+= -L/home/freebsd/libssh2/src/.libs
- LDADD= -lgeom -lutil -lpthread ${LIBSSH2} -lcrypto -lssl -lz
-
- ${PROG}: ${LIBSSH2}
-
- ${LIBSSH2}: ${LIBSSH2_DIR}/Makefile
- (cd ${LIBSSH2_DIR} && make -j 4)
-
- ${LIBSSH2_DIR}/Makefile: ${LIBSSH2_DIR}/configure
- (cd ${LIBSSH2_DIR} && ./configure)
-
- ${LIBSSH2_DIR}/configure: ${LIBSSH2_DIR}/configure.ac
- (cd ${LIBSSH2_DIR} && autoreconf -fi)
-
- .include <bsd.prog.mk>
|