blob: d5ece27184ec6a91b20621c05965fc756540c13c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
$NetBSD: patch-aa,v 1.1.1.1 2005/12/29 14:53:52 ghen Exp $
--- unix-console/Makefile.orig 2005-01-31 19:59:30.000000000 +0100
+++ unix-console/Makefile
@@ -15,11 +15,11 @@ INCS = ../common/aiccu.h ../common/hash_
OBJS = main.o ../common/aiccu.o ../common/hash_md5.o ../common/hash_sha1.o ../common/common.o ../common/heartbeat.o ../common/tic.o ../common/ayiya.o ../common/aiccu_test.o
CWARNS = -pedantic -W -Wall -Wshadow -Wcast-align
#CFLAGS += $(CWARNS) -D_GNU_SOURCE -D_DEBUG -g3 -O0
-CFLAGS += $(CWARNS) -D_GNU_SOURCE -O3
+CFLAGS += $(CWARNS) -D_GNU_SOURCE
CC = gcc
RM = rm
-CFLAGS += -D AICCU_CONSOLE
+CFLAGS += -DAICCU_CONSOLE
# Linux
ifeq ($(shell uname | grep -c "Linux"),1)
@@ -49,6 +49,14 @@ CFLAGS += -pthread
endif
endif
+# DragonFly
+ifeq ($(shell uname | grep -c "DragonFly"),1)
+CFLAGS += -D AICCU_TYPE="\"freebsd4\""
+SRCS += ../common/aiccu_freebsd4.c
+OBJS += ../common/aiccu_freebsd4.o
+CFLAGS += -pthread
+endif
+
# NetBSD
ifeq ($(shell uname | grep -c "NetBSD"),1)
CFLAGS += -D AICCU_TYPE="\"kame\""
|