Merged from user-dep-gen-branch.
[platform/upstream/automake.git] / lib / am / depend2.am
1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright (C) 1994-1998, 1999 Free Software Foundation, Inc.
3
4 ## This program is free software; you can redistribute it and/or modify
5 ## it under the terms of the GNU General Public License as published by
6 ## the Free Software Foundation; either version 2, or (at your option)
7 ## any later version.
8
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ## GNU General Public License for more details.
13
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program; if not, write to the Free Software
16 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
17 ## 02111-1307, USA.
18 ## Note that this must all be on one line to avoid a problem with
19 ## automake's `.am' file reader.  This is a convenience macro a user
20 ## can use to run a compilation.  You should set the shell variables
21 ## `file' and `compile' first.
22 @AMDEP@@FPFX@DEPMODE = @@FPFX@DEPMODE@
23
24 @EXT@.o:
25 @AMDEP@ source='@SOURCE@' object='@OBJ@' @AMDEPBACKSLASH@
26 @AMDEP@ depfile='$(DEPDIR)/@BASE@.Po' tmpdepfile='$(DEPDIR)/@BASE@.TPo' @AMDEPBACKSLASH@
27 @AMDEP@ $(@FPFX@DEPMODE) $(depcomp) @AMDEPBACKSLASH@
28         $(@PFX@COMPILE) -c -o @OBJ@ @SOURCE@
29
30 LIBTOOL@EXT@.lo:
31 LIBTOOL@AMDEP@  source='@SOURCE@' object='@LTOBJ@' @AMDEPBACKSLASH@
32 LIBTOOL@AMDEP@  depfile='$(DEPDIR)/@BASE@.Plo' tmpdepfile='$(DEPDIR)/@BASE@.TPlo' @AMDEPBACKSLASH@
33 LIBTOOL@AMDEP@  $(@FPFX@DEPMODE) $(depcomp) @AMDEPBACKSLASH@
34 LIBTOOL $(LT@PFX@COMPILE) -c -o @LTOBJ@ @SOURCE@
35
36 OBJEXT@EXT@.obj:
37 OBJEXT@AMDEP@   source='@SOURCE@' object='@OBJOBJ@' @AMDEPBACKSLASH@
38 OBJEXT@AMDEP@   depfile='$(DEPDIR)/@BASE@.Po' tmpdepfile='$(DEPDIR)/@BASE@.TPo' @AMDEPBACKSLASH@
39 OBJEXT@AMDEP@   $(@FPFX@DEPMODE) $(depcomp) @AMDEPBACKSLASH@
40 OBJEXT  $(@PFX@COMPILE) -c -o @OBJOBJ@ `cygpath -w @SOURCE@`