37 lines
1.4 KiB
Makefile
37 lines
1.4 KiB
Makefile
# Copyright (C) 2005 Jan Hutter, Martin Willi
|
|
# Hochschule fuer Technik Rapperswil
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published by the
|
|
# Free Software Foundation; either version 2 of the License, or (at your
|
|
# option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
|
|
#
|
|
# This program is distributed in the hope that it will be useful, but
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
# for more details.
|
|
#
|
|
|
|
SA_DIR= $(MAIN_DIR)sa/
|
|
|
|
OBJS+= $(BUILD_DIR)ike_sa_id.o
|
|
$(BUILD_DIR)ike_sa_id.o : $(SA_DIR)ike_sa_id.c $(SA_DIR)ike_sa_id.h
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
OBJS+= $(BUILD_DIR)ike_sa_manager.o
|
|
$(BUILD_DIR)ike_sa_manager.o : $(SA_DIR)ike_sa_manager.c $(SA_DIR)ike_sa_manager.h
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
OBJS+= $(BUILD_DIR)ike_sa.o
|
|
$(BUILD_DIR)ike_sa.o : $(SA_DIR)ike_sa.c $(SA_DIR)ike_sa.h
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
OBJS+= $(BUILD_DIR)authenticator.o
|
|
$(BUILD_DIR)authenticator.o : $(SA_DIR)authenticator.c $(SA_DIR)authenticator.h
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
OBJS+= $(BUILD_DIR)child_sa.o
|
|
$(BUILD_DIR)child_sa.o : $(SA_DIR)child_sa.c $(SA_DIR)child_sa.h
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
include $(SA_DIR)states/Makefile.states |