]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/gperf/lib/Makefile.in
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / gperf / lib / Makefile.in
1 # Makefile for gperf/lib
2
3 # Copyright (C) 1989, 1992, 1993, 1998, 2002 Free Software Foundation, Inc.
4 # Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
5 # and Bruno Haible <bruno@clisp.org>.
6 #
7 # This file is part of GNU GPERF.
8 #
9 # GNU GPERF is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 2, or (at your option)
12 # any later version.
13 #
14 # GNU GPERF is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING.
21 # If not, write to the Free Software Foundation, Inc.,
22 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
23
24 #### Start of system configuration section. ####
25
26 # Directories used by "make":
27 srcdir = @srcdir@
28
29 # Directories used by "make install":
30 prefix = @prefix@
31 local_prefix = /usr/local
32 exec_prefix = @exec_prefix@
33
34 # Programs used by "make":
35 # C compiler
36 CC = @CC@
37 CFLAGS = @CFLAGS@
38 CPP = @CPP@
39 # C++ compiler
40 CXX = @CXX@
41 CXXFLAGS = @CXXFLAGS@
42 CXXCPP = @CXXCPP@
43 # Both C and C++ compiler
44 OBJEXT = @OBJEXT@
45 # Other
46 AR = ar
47 AR_FLAGS = rc
48 RANLIB = @RANLIB@
49 MV = mv
50 LN = ln
51 RM = rm -f
52 @SET_MAKE@
53
54 # Programs used by "make install":
55 INSTALL = @INSTALL@
56 INSTALL_PROGRAM = @INSTALL_PROGRAM@
57 INSTALL_DATA = @INSTALL_DATA@
58
59 #### End of system configuration section. ####
60
61 SHELL = /bin/sh
62
63 VPATH = $(srcdir)
64
65 OBJECTS  = getopt.$(OBJEXT) getopt1.$(OBJEXT) getline.$(OBJEXT) hash.$(OBJEXT)
66 CPPFLAGS = -I$(srcdir)
67
68 TARGETLIB = libgp.a
69
70 all : $(TARGETLIB)
71
72 $(TARGETLIB): $(OBJECTS)
73         $(RM) $@
74         $(AR) $(AR_FLAGS) $@ $(OBJECTS)
75         $(RANLIB) $@
76
77 # Don't use implicit rules, since AIX "make" and OSF/1 "make" don't always
78 # expand $< correctly in this context.
79 #
80 #%.o : %.c
81 #       $(CC) $(CFLAGS) $(CPPFLAGS) -c $<
82 #
83 #%.o : %.cc
84 #       $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $<
85
86 getopt.o : getopt.c getopt.h
87         $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/getopt.c
88
89 getopt1.o : getopt1.c getopt.h
90         $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/getopt1.c
91
92 getline.o : getline.cc getline.h
93         $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $(srcdir)/getline.cc
94
95 hash.o : hash.cc hash.h
96         $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $(srcdir)/hash.cc
97
98 install : all
99
100 installdirs :
101
102 uninstall :
103
104 check : all
105
106 mostlyclean : clean
107
108 clean : force
109         $(RM) *~ *.s *.o *.a $(TARGETLIB) core
110
111 distclean : clean
112         $(RM) config.status config.log config.cache Makefile
113
114 maintainer-clean : distclean
115
116 force :