| 1 | # Makefile for init systems, for libreswan. |
| 2 | # |
| 3 | # Copyright (C) 2015, 2017 Andrew Cagney |
| 4 | # Copyright (C) 2015-2016 Tuomo Soini <[email protected]> |
| 5 | # |
| 6 | # This program is free software; you can redistribute it and/or modify it |
| 7 | # under the terms of the GNU General Public License as published by the |
| 8 | # Free Software Foundation; either version 2 of the License, or (at your |
| 9 | # option) any later version. See <https://www.gnu.org/licenses/gpl2.txt>. |
| 10 | # |
| 11 | # This program is distributed in the hope that it will be useful, but |
| 12 | # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 13 | # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 14 | # for more details. |
| 15 | |
| 16 | ifndef top_srcdir |
| 17 | include ../mk/dirs.mk |
| 18 | endif |
| 19 | |
| 20 | # this file uses ifeq, so need config early |
| 21 | include $(top_srcdir)/mk/config.mk |
| 22 | |
| 23 | ifneq ($(INITSYSTEM),) |
| 24 | SUBDIRS += $(INITSYSTEM) |
| 25 | endif |
| 26 | |
| 27 | include $(top_srcdir)/mk/targets.mk |