mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-20 13:21:29 +02:00
BUILD: add Haiku as supported target.
This commit is contained in:
parent
796d2fc136
commit
38932c391c
9
Makefile
9
Makefile
@ -98,7 +98,7 @@ DOCDIR = $(PREFIX)/doc/haproxy
|
|||||||
# Use TARGET=<target_name> to optimize for a specifc target OS among the
|
# Use TARGET=<target_name> to optimize for a specifc target OS among the
|
||||||
# following list (use the default "generic" if uncertain) :
|
# following list (use the default "generic" if uncertain) :
|
||||||
# generic, linux22, linux24, linux24e, linux26, solaris,
|
# generic, linux22, linux24, linux24e, linux26, solaris,
|
||||||
# freebsd, openbsd, netbsd, cygwin, custom, aix51, aix52
|
# freebsd, openbsd, netbsd, cygwin, haiku, custom, aix51, aix52
|
||||||
TARGET =
|
TARGET =
|
||||||
|
|
||||||
#### TARGET CPU
|
#### TARGET CPU
|
||||||
@ -220,6 +220,12 @@ ifeq ($(TARGET),generic)
|
|||||||
USE_POLL = implicit
|
USE_POLL = implicit
|
||||||
USE_TPROXY = implicit
|
USE_TPROXY = implicit
|
||||||
else
|
else
|
||||||
|
ifeq ($(TARGET),haiku)
|
||||||
|
# For Haiku
|
||||||
|
TARGET_LDFLAGS = -lnetwork
|
||||||
|
USE_POLL = implicit
|
||||||
|
USE_TPROXY = implicit
|
||||||
|
else
|
||||||
ifeq ($(TARGET),linux22)
|
ifeq ($(TARGET),linux22)
|
||||||
# This is for Linux 2.2
|
# This is for Linux 2.2
|
||||||
USE_GETSOCKNAME = implicit
|
USE_GETSOCKNAME = implicit
|
||||||
@ -347,6 +353,7 @@ endif # linux26
|
|||||||
endif # linux24e
|
endif # linux24e
|
||||||
endif # linux24
|
endif # linux24
|
||||||
endif # linux22
|
endif # linux22
|
||||||
|
endif # haiku
|
||||||
endif # generic
|
endif # generic
|
||||||
|
|
||||||
|
|
||||||
|
1
README
1
README
@ -47,6 +47,7 @@ and assign it to the TARGET variable :
|
|||||||
- aix51 for AIX 5.1
|
- aix51 for AIX 5.1
|
||||||
- aix52 for AIX 5.2
|
- aix52 for AIX 5.2
|
||||||
- cygwin for Cygwin
|
- cygwin for Cygwin
|
||||||
|
- haiku for Haiku
|
||||||
- generic for any other OS or version.
|
- generic for any other OS or version.
|
||||||
- custom to manually adjust every setting
|
- custom to manually adjust every setting
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user