source: tags/gsdl-2_30a-distribution/gsdl/src/getpw/Makefile.in@ 2308

Last change on this file since 2308 was 1802, checked in by sjboddie, 23 years ago

* empty log message *

  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1###########################################################################
2#
3# Makefile -- Makefile for getpw
4# A component of the Greenstone digital library software
5# from the New Zealand Digital Library Project at the
6# University of Waikato, New Zealand.
7#
8# Copyright (C) 2000 The New Zealand Digital Library Project
9#
10# This program is free software; you can redistribute it and/or modify
11# it under the terms of the GNU General Public License as published by
12# the Free Software Foundation; either version 2 of the License, or
13# (at your option) any later version.
14#
15# This program is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18# GNU General Public License for more details.
19#
20# You should have received a copy of the GNU General Public License
21# along with this program; if not, write to the Free Software
22# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23#
24###########################################################################
25
26
27AR = ar
28CC = @CC@
29CCFLAGS = -Wall @CFLAGS@
30DEFS = @DEFS@
31RANLIB = @RANLIB@
32INCLUDES =
33LDFLAGS = @LDFLAGS@
34DPLIBS =
35LIBS = @LIBS@
36GSDLOS = @gsdlos@
37
38
39COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CCFLAGS)
40LINK = $(CC) $(LDFLAGS) -o $@
41
42.SUFFIXES:
43.SUFFIXES: .c .o
44.c.o:
45 $(COMPILE) $<
46
47.SUFFIXES: .cpp .o
48.cpp.o:
49 $(COMPILE) $<
50
51
52HEADERS =
53
54SOURCES = getpw.cpp
55
56OBJECTS = getpw.o
57
58EXEC = getpw
59
60all : $(EXEC)
61
62install: $(EXEC)
63 install -d ../../bin/$(GSDLOS)
64 install -m 755 -s $(EXEC) ../../bin/$(GSDLOS)
65
66distclean:
67 rm -f $(OBJECTS) $(EXEC) Makefile
68
69clean:
70 rm -f $(OBJECTS) $(EXEC)
71
72depend:
73 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
74
75
76# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
77
78GETPW_OBJS = getpw.o
79
80getpw: $(GETPW_OBJS) $(DPLIBS)
81 $(LINK) $(GETPW_OBJS) $(LIBS)
Note: See TracBrowser for help on using the repository browser.