git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@54
e88ac4ed-0b26-0410-9574-
a7f39faa03bf
CFLAGS = -g -Wall -pthread
LDFLAGS = -lssl
+OBJ = util.o
all: radsecproxy
-radsecproxy: util.o
-
+radsecproxy: $(OBJ)
+ $(CC) $(CFLAGS) $(OBJ) $(LDFLAGS) -o radsecproxy radsecproxy.c
clean:
- rm -f util.o radsecproxy
+ rm -f $(OBJ) radsecproxy
* 1 + (2 + 2 * 3) + (2 * 30) + (2 * 30) = 129 threads
*/
+#include <sys/socket.h>
+#include <netinet/in.h>
#include <netdb.h>
+#include <string.h>
#include <unistd.h>
#include <sys/time.h>
#include <libgen.h>
* copyright notice and this permission notice appear in all copies.
*/
+#include <sys/socket.h>
+#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>