Browse Source

Fix up to build stand alone..

tags/ggatessh-v1.0.0
John-Mark Gurney 5 years ago
parent
commit
e87facf5c1
5 changed files with 3 additions and 10 deletions
  1. +0
    -4
      Makefile
  2. +0
    -3
      Makefile.inc
  3. +1
    -1
      ggatec/Makefile
  4. +1
    -1
      ggated/Makefile
  5. +1
    -1
      ggatel/Makefile

+ 0
- 4
Makefile View File

@@ -1,14 +1,10 @@
# $FreeBSD$ # $FreeBSD$


.include <src.opts.mk>

SUBDIR= ${_ggatec} \ SUBDIR= ${_ggatec} \
${_ggated} \ ${_ggated} \
ggatel ggatel


.if ${MK_LIBTHR} != "no"
_ggatec= ggatec _ggatec= ggatec
_ggated= ggated _ggated= ggated
.endif


.include <bsd.subdir.mk> .include <bsd.subdir.mk>

+ 0
- 3
Makefile.inc View File

@@ -1,3 +0,0 @@
# $FreeBSD$

.include "../Makefile.inc"

+ 1
- 1
ggatec/Makefile View File

@@ -10,6 +10,6 @@ CFLAGS+= -DMAX_SEND_SIZE=32768
CFLAGS+= -DLIBGEOM CFLAGS+= -DLIBGEOM
CFLAGS+= -I${.CURDIR:H}/shared CFLAGS+= -I${.CURDIR:H}/shared


LIBADD= geom util pthread
LDADD= -lgeom -lutil -lpthread


.include <bsd.prog.mk> .include <bsd.prog.mk>

+ 1
- 1
ggated/Makefile View File

@@ -6,7 +6,7 @@ PROG= ggated
MAN= ggated.8 MAN= ggated.8
SRCS= ggated.c ggate.c SRCS= ggated.c ggate.c


LIBADD= pthread util
LDADD= -lpthread -lutil


CFLAGS+= -I${.CURDIR:H}/shared CFLAGS+= -I${.CURDIR:H}/shared




+ 1
- 1
ggatel/Makefile View File

@@ -9,6 +9,6 @@ SRCS= ggatel.c ggate.c
CFLAGS+= -DLIBGEOM CFLAGS+= -DLIBGEOM
CFLAGS+= -I${.CURDIR:H}/shared CFLAGS+= -I${.CURDIR:H}/shared


LIBADD= geom util
LDADD= -lgeom -lutil


.include <bsd.prog.mk> .include <bsd.prog.mk>

Loading…
Cancel
Save