]> git.ipfire.org Git - thirdparty/strongswan.git/blame - programs/charon/lib/utils/Makefile.utils
- import of strongswan-2.7.0
[thirdparty/strongswan.git] / programs / charon / lib / utils / Makefile.utils
CommitLineData
face0be4
MW
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
68621281 15UTILS_DIR= $(LIB_DIR)utils/
face0be4 16
e168ee17
MW
17LIB_OBJS+= $(BUILD_DIR)leak_detective.o
18$(BUILD_DIR)leak_detective.o : $(UTILS_DIR)leak_detective.c $(UTILS_DIR)leak_detective.h
19 $(CC) $(CFLAGS) -c -o $@ $<
face0be4 20
68621281 21LIB_OBJS+= $(BUILD_DIR)linked_list.o
face0be4
MW
22$(BUILD_DIR)linked_list.o : $(UTILS_DIR)linked_list.c $(UTILS_DIR)linked_list.h
23 $(CC) $(CFLAGS) -c -o $@ $<
24
68621281 25LIB_OBJS+= $(BUILD_DIR)logger.o
face0be4
MW
26$(BUILD_DIR)logger.o : $(UTILS_DIR)logger.c $(UTILS_DIR)logger.h
27 $(CC) $(CFLAGS) -c -o $@ $<
28
68621281 29LIB_OBJS+= $(BUILD_DIR)logger_manager.o
face0be4
MW
30$(BUILD_DIR)logger_manager.o : $(UTILS_DIR)logger_manager.c $(UTILS_DIR)logger_manager.h
31 $(CC) $(CFLAGS) -c -o $@ $<
32
68621281 33LIB_OBJS+= $(BUILD_DIR)randomizer.o
face0be4
MW
34$(BUILD_DIR)randomizer.o : $(UTILS_DIR)randomizer.c $(UTILS_DIR)randomizer.h
35 $(CC) $(CFLAGS) -c -o $@ $<
36
68621281 37LIB_OBJS+= $(BUILD_DIR)tester.o
face0be4
MW
38$(BUILD_DIR)tester.o : $(UTILS_DIR)tester.c $(UTILS_DIR)tester.h
39 $(CC) $(CFLAGS) -c -o $@ $<
d45ec1de 40
68621281 41LIB_OBJS+= $(BUILD_DIR)identification.o
d45ec1de
MW
42$(BUILD_DIR)identification.o : $(UTILS_DIR)identification.c $(UTILS_DIR)identification.h
43 $(CC) $(CFLAGS) -c -o $@ $<
68621281
MW
44
45LIB_OBJS+= $(BUILD_DIR)host.o
46$(BUILD_DIR)host.o : $(UTILS_DIR)host.c $(UTILS_DIR)host.h
5113680f 47 $(CC) $(CFLAGS) -c -o $@ $<