source: trunk/essentials/sys-devel/automake-1.8/lib/am/program.am

Last change on this file was 3118, checked in by bird, 18 years ago

automake 1.8.5

File size: 1.3 KB
Line 
1## automake - create Makefile.in from Makefile.am
2## Copyright (C) 1994, 1995, 1996, 1997, 2001, 2003
3## Free Software Foundation, Inc.
4
5## This program is free software; you can redistribute it and/or modify
6## it under the terms of the GNU General Public License as published by
7## the Free Software Foundation; either version 2, or (at your option)
8## any later version.
9
10## This program 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
15## You should have received a copy of the GNU General Public License
16## along with this program; if not, write to the Free Software
17## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18## 02111-1307, USA.
19%PROGRAM%%EXEEXT%: $(%XPROGRAM%_OBJECTS) $(%XPROGRAM%_DEPENDENCIES) %DIRSTAMP%
20## Remove program before linking. Otherwise the link will fail if the
21## program is running somewhere. FIXME: this could be a loss if
22## you're using an incremental linker. Maybe we should think twice?
23## Or maybe not... sadly, incremental linkers are rarer than losing
24## systems.
25 @rm -f %PROGRAM%%EXEEXT%
26 $(%XLINK%) $(%XPROGRAM%_LDFLAGS) $(%XPROGRAM%_OBJECTS) $(%XPROGRAM%_LDADD) $(LIBS)
Note: See TracBrowser for help on using the repository browser.