# # Copyright (C) 2009-2016 Olof Hagsand and Benny Holmgren # # This file is part of CLIXON. # # CLIXON 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. # # CLIXON 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 CLIXON; see the file LICENSE. If not, see # . # VPATH = @srcdir@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ prefix = @prefix@ bindir = @bindir@ includedir = @includedir@ datarootdir = @datarootdir@ APPNAME = routing all: $(APPNAME).conf -include $(DESTDIR)$(datarootdir)/clicon/clicon.mk # Kind of reverse install, could have copied from src dir,... .PHONY: docker push docker: $(APPNAME).conf install -d data install -d data/yang install -d data/backend install -d data/cli install -d data/netconf install -d data/clispec install $(APPNAME).conf data/clicon.conf # docker image assumes /data/clicon.conf install ../*.yang data/yang/ install ../routing_cli.so data/cli/ install ../routing_backend.so data/backend/ install ../routing_netconf.so data/netconf/ install ../*.cli data/clispec clean: rm -f $(APPNAME).conf distclean: clean rm -f Makefile *~ .depend rm -rf data install: uninstall: install-include: depend: $(CC) $(DEPENDFLAGS) $(INCLUDES) $(CFLAGS) -MM $(SRC) > .depend #include .depend