OSDN Git Service

51969143c7be9dcba7d9e8489ac6c520592af011
[pf3gnuchains/pf3gnuchains4x.git] / utils / amd-udi / montip / Makefile.in
1 #
2 # Makefile for utils/amd-udi/montip
3 #   Copyright (C) 1993 Free Software Foundation
4 #
5 # This file 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 of the License, or
8 # (at your option) 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., 675 Mass Ave, Cambridge, MA 02139, USA. 
18 #
19 #       $Id$
20 #
21 # Written by Jeffrey Wheat (cassidy@cygnus.com)
22 #
23
24 #### Start of system configuration section. ####
25
26 srcdir = @srcdir@
27 VPATH = @srcdir@
28
29 CC = @CC@
30
31 INSTALL = @INSTALL@
32 INSTALL_PROGRAM = @INSTALL_PROGRAM@
33 INSTALL_DATA = @INSTALL_DATA@
34
35 DEFS = @DEFS@
36 LIBS = @LIBS@
37 RANLIB = @RANLIB@
38
39 AR = ar
40 AR_FLAGS = cq
41
42 CFLAGS = -g
43
44 LD = ld
45 LDFLAGS = -g
46
47 MV = mv
48 RM = rm
49
50 prefix = /usr/local
51 exec_prefix = $(prefix)
52
53 bindir = $(exec_prefix)/bin
54 libdir = $(exec_prefix)/lib
55
56 mandir = $(prefix)/man
57 man1dir = $(mandir)/man1
58 man2dir = $(mandir)/man2
59 man3dir = $(mandir)/man3
60 man4dir = $(mandir)/man4
61 man5dir = $(mandir)/man5
62 man6dir = $(mandir)/man6
63 man7dir = $(mandir)/man7
64 man8dir = $(mandir)/man8
65
66 SHELL = /bin/sh
67
68 INSTALL = install -c
69 INSTALL_DATA = $(INSTALL)
70 INSTALL_PROGRAM = $(INSTALL)
71
72 #### End of system configuration section. ####
73
74 OBJS = udi2mtip.o messages.o endian.o hif.o checksum.o tdfunc.o
75
76 LIBTIP = ../udi/libtip.a
77
78 INCLUDE = -I$(srcdir)/../udi -I$(srcdir)/../include
79
80 .c.o:
81         $(CC) $(INCLUDE) $(DEFS) $(CFLAGS) -c $<
82
83 all:    montip
84
85 montip: $(LIBTIP) $(OBJS)
86         $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBTIP) $(LIBIBERTY)
87
88 install: all
89
90 mostlyclean clean:
91         $(RM) -f *.o montip
92
93 distclean maintainer-clean realclean: clean
94         $(RM) -f Makefile config.status
95
96 .PHONY: check installcheck info install-info clean-info dvi
97
98 check installcheck:
99
100 info install-info clean-info dvi:
101
102 # with the gnu make, this is done automatically.
103
104 Makefile: Makefile.in 
105         $(SHELL) ./config.status
106
107 config.status: configure
108         $(srcdir)/configure --no-create
109
110 configure: configure.in
111         autoconf
112
113 # Prevent GNU make v3 from overflowing arg limit on SysV.
114 .NOEXPORT: