From 68cd79636c809379825aa5546743161acb3fdaa0 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Tue, 25 Mar 2008 23:22:10 +0100 Subject: Update gnulib files. --- cfg.mk | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 cfg.mk (limited to 'cfg.mk') diff --git a/cfg.mk b/cfg.mk new file mode 100644 index 0000000..7af8624 --- /dev/null +++ b/cfg.mk @@ -0,0 +1,34 @@ +# Copyright (C) 2006, 2007 Free Software Foundation +# Author: Simon Josefsson +# +# This file is part of LIBTASN1. +# +# 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 . + +CFGFLAGS ?= --enable-gtk-doc + +ifeq ($(.DEFAULT_GOAL),abort-due-to-no-makefile) +.DEFAULT_GOAL := bootstrap +endif + +autoreconf: + test -f ./configure || autoreconf --install + +bootstrap: autoreconf + ./configure $(CFGFLAGS) + +W32ROOT ?= $(HOME)/w32root + +mingw32: autoreconf + ./configure --enable-gtk-doc --host=i586-mingw32msvc --build=`./config.guess` --prefix=$(W32ROOT) -- cgit v1.2.3