summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-08 02:01:57 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-08 02:01:57 +0800
commitc3d0f4182648977dad47ded96ac8b480dfe43124 (patch)
tree5196b81b3d18d136fa0a56eac26f0f14af446eeb /util
parent591d9cc569a8a5b23ae4272eab31963bc5653951 (diff)
downloadpttbbs-c3d0f4182648977dad47ded96ac8b480dfe43124.tar
pttbbs-c3d0f4182648977dad47ded96ac8b480dfe43124.tar.gz
pttbbs-c3d0f4182648977dad47ded96ac8b480dfe43124.tar.bz2
pttbbs-c3d0f4182648977dad47ded96ac8b480dfe43124.tar.lz
pttbbs-c3d0f4182648977dad47ded96ac8b480dfe43124.tar.xz
pttbbs-c3d0f4182648977dad47ded96ac8b480dfe43124.tar.zst
pttbbs-c3d0f4182648977dad47ded96ac8b480dfe43124.zip
append flags for FreeBSD/Linux
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@5 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/Makefile b/util/Makefile
index eeacad38..9ef46a2f 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -1,18 +1,18 @@
-# $Id: Makefile,v 1.1 2002/03/07 15:13:45 in2 Exp $
+# $Id: Makefile,v 1.2 2002/03/07 18:01:57 in2 Exp $
BBSHOME?=$(HOME)
OSTYPE=linux
# FreeBSD
CC_FreeBSD= gcc
-CFLAGS_FreeBSD= -pipe -Wall -g -O3 -DHAVE_SETPROCTITLE -DBBSHOME='"$(BBSHOME)"' -I../include
+CFLAGS_FreeBSD= -DFreeBSD -pipe -Wall -g -O3 -DHAVE_SETPROCTITLE -DBBSHOME='"$(BBSHOME)"' -I../include
LIBS_FreeBSD=
LIBMAIL_FreeBSD=-lutil
LIBCHAT_FreeBSD=
# Linux
CC_linux= gcc
-CFLAGS_linux= -pipe -Wall -g -O3 -DHAVE_DES_CRYPT -DBBSHOME='"$(BBSHOME)"' -I../include
+CFLAGS_linux= -DLinux -pipe -Wall -g -O3 -DHAVE_DES_CRYPT -DBBSHOME='"$(BBSHOME)"' -I../include
LIBS_linux= -lresolv
LIBMAIL_linux=
LIBCHAT_linux= -lcrypt