annotate Makefile @ 96:7c9538e71c89

Add connection keepalive by sending /listallusers every 15 minutes, due to NN server booting after about 30 minutes of inactivity; Improve handling of error messages; Add handling for "<BOOT />" protocol token.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 05 Jul 2009 16:55:40 +0300
parents 7f9f6af26a65
children 937db3c2465f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 #
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 # Configuration settings for typical UNIX
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 #
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5 # C-compiler, flags and linker flags
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 CC=gcc
93
7f9f6af26a65 Move -DTH_NO_DEFAULTS to Makefile.gen instead.
Matti Hamalainen <ccr@tnsp.org>
parents: 87
diff changeset
7 CFLAGS=-DHAVE_STRING_H -DHAVE_INT_TYPES
68
3ab7751fdad1 MingW compatibility, with one ugly kludge.
Matti Hamalainen <ccr@tnsp.org>
parents: 3
diff changeset
8 LDFLAGS=-lcurses
0
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10 #CFLAGS += -DHAVE_STDINT_H
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11 #CFLAGS += -DHAVE_SYS_TYPES_H
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13 # For Solaris 9 with GCC, you need:
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14 #CFLAGS += -DHAVE_UINT_T
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15 #LDFLAGS += -lresolv
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18 # Miscellaneous
87
9140c33296a8 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 68
diff changeset
19 BINPATH=
9140c33296a8 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 68
diff changeset
20 OBJPATH=
0
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21 EXEEXT=
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24 include Makefile.gen