- started implementation of netlink kernel interface
[strongswan.git] / Source / charon / threads / Makefile.threads
1 # Copyright (C) 2005 Jan Hutter, Martin Willi
2 # Hochschule fuer Technik Rapperswil
3 #
4 # This program is free software; you can redistribute it and/or modify it
5 # under the terms of the GNU General Public License as published by the
6 # Free Software Foundation; either version 2 of the License, or (at your
7 # option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
8 #
9 # This program is distributed in the hope that it will be useful, but
10 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12 # for more details.
13 #
14
15 THREADS_DIR= $(MAIN_DIR)threads/
16
17 OBJS+= $(BUILD_DIR)receiver.o
18 $(BUILD_DIR)receiver.o :                $(THREADS_DIR)receiver.c $(THREADS_DIR)receiver.h
19                                                                 $(CC) $(CFLAGS) -c -o $@ $<
20                                                                 
21 OBJS+= $(BUILD_DIR)scheduler.o
22 $(BUILD_DIR)scheduler.o :               $(THREADS_DIR)scheduler.c $(THREADS_DIR)scheduler.h
23                                                                 $(CC) $(CFLAGS) -c -o $@ $<
24                                                                 
25 OBJS+= $(BUILD_DIR)sender.o
26 $(BUILD_DIR)sender.o :                  $(THREADS_DIR)sender.c $(THREADS_DIR)sender.h
27                                                                 $(CC) $(CFLAGS) -c -o $@ $<
28                                                                 
29 OBJS+= $(BUILD_DIR)thread_pool.o
30 $(BUILD_DIR)thread_pool.o :             $(THREADS_DIR)thread_pool.c $(THREADS_DIR)thread_pool.h
31                                                                 $(CC) $(CFLAGS) -c -o $@ $<
32                                                                 
33 OBJS+= $(BUILD_DIR)prime_pool.o
34 $(BUILD_DIR)prime_pool.o :              $(THREADS_DIR)prime_pool.c $(THREADS_DIR)prime_pool.h
35                                                                 $(CC) $(CFLAGS) -c -o $@ $<
36                                                                 
37 OBJS+= $(BUILD_DIR)kernel_interface.o
38 $(BUILD_DIR)kernel_interface.o :$(THREADS_DIR)kernel_interface.c $(THREADS_DIR)kernel_interface.h
39                                                                 $(CC) $(CFLAGS) -c -o $@ $<