# Makefile for LI system
# Copyright (C) 2011 Matěj Grégr, Michal Kajan, Libor Polčák, Vladimír Veselý
# 
# 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 3 of the License, or
# (at your option) any later version.
# 
# 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.
# 
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

SHAREDLIBS_DEPS = setup.py \
	modules/mf/cython_layer.pyx \
	modules/mf/ini3_mf_socket.pyx \
	modules/mf/ini3_mf_socket.pxd \
	modules/mf/mf_lib.pxd \
	modules/mf/mf_lib/mf_lib.c \
	modules/mf/liid_table.pyx \
	modules/mf/pcap_reference.pyx \
	modules/mf/cy_pcap_writer.pyx \
	modules/mf/cy_pcap_writer.pxd \
	modules/mf/pcap.pxd

.PHONY: iMessaging ipv6ns mfclean

all: iri 

clean: mfclean

################################################################################
# IRI-IIF related targets

iri: ipv6ns iMessaging

iMessaging:
	@cd modules/iriiif/instant_messaging && make

ipv6ns:
	@cd modules/iriiif/ipv6ns && make


