| 1 |
# Makefile.am - Makefile template |
|---|
| 2 |
# Copyright (C) 2005 by Daniel Wagner. |
|---|
| 3 |
# |
|---|
| 4 |
# This file is part of FreeBob. |
|---|
| 5 |
# |
|---|
| 6 |
# FreeBob is free software; you can redistribute it and/or modify |
|---|
| 7 |
# it under the terms of the GNU General Public License as published by |
|---|
| 8 |
# the Free Software Foundation; either version 2 of the License, or |
|---|
| 9 |
# (at your option) any later version. |
|---|
| 10 |
# FreeBob is distributed in the hope that it will be useful, |
|---|
| 11 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 |
# GNU General Public License for more details. |
|---|
| 14 |
# You should have received a copy of the GNU General Public License |
|---|
| 15 |
# along with FreeBob; if not, write to the Free Software |
|---|
| 16 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|---|
| 17 |
|
|---|
| 18 |
SUBDIRS = libfreebob src tests |
|---|
| 19 |
|
|---|
| 20 |
pkgconfigdir = $(libdir)/pkgconfig |
|---|
| 21 |
pkgconfig_DATA = libfreebob.pc |
|---|
| 22 |
|
|---|
| 23 |
$(srcdir)/configure: configure.ac aclocal.m4 |
|---|
| 24 |
cd $(srcdir) && autoconf |
|---|
| 25 |
|
|---|
| 26 |
# autoheader might not change config.h.in, so touch a stamp file. |
|---|
| 27 |
$(srcdir)/config.h.in: stamp-h.in |
|---|
| 28 |
$(srcdir)/stamp-h.in: configure.ac aclocal.m4 |
|---|
| 29 |
cd $(srcdir) && autoheader |
|---|
| 30 |
echo timestamp > $(srcdir)/stamp-h.in |
|---|
| 31 |
|
|---|
| 32 |
config.h: stamp-h |
|---|
| 33 |
stamp-h: config.h.in config.status |
|---|
| 34 |
./config.status |
|---|
| 35 |
|
|---|
| 36 |
Makefile: Makefile.am config.status |
|---|
| 37 |
./config.status |
|---|
| 38 |
|
|---|
| 39 |
config.status: configure |
|---|
| 40 |
./config.status --recheck |
|---|
| 41 |
|
|---|
| 42 |
|
|---|