Changeset 15915 for gsdl/trunk/src/hashfile
- Timestamp:
- 2008-06-09T13:28:13+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/hashfile/Makefile.in
r15552 r15915 1 1 ########################################################################### 2 2 # 3 # Makefile -- Makefile forhashfile3 # Makefile -- src/hashfile 4 4 # A component of the Greenstone digital library software 5 5 # from the New Zealand Digital Library Project at the 6 6 # University of Waikato, New Zealand. 7 7 # 8 # Copyright (C) 1999 Rodger McNab, Stefan Boddie8 # Copyright (C) 1999-2008 The New Zealand Digital Library Project 9 9 # 10 10 # … … 23 23 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 24 24 # 25 # @(#)Makefile.in 1.3 16 Mar 199426 #27 25 ########################################################################### 28 26 29 30 AR = ar 31 CC = @CC@ 32 CFLAGS = @CFLAGS@ 27 GSDL_DIR = ../.. 28 29 33 30 CXX = @CXX@ 34 CXXFLAGS = @CXXFLAGS@ 31 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ 35 32 DEFS = @DEFS@ 36 RANLIB = @RANLIB@ 37 INCLUDES = -I../../lib 38 LDFLAGS = @LDFLAGS@ 39 LIBS = ../../lib/gsdllib.a 40 GSDLOS = @gsdlos@ 33 INCLUDES = @INCLUDES@ 41 34 INSTALL = @INSTALL@ 42 43 COMPILE = $(CXX) -c $(DEFS) $(INCLUDES) $(CXXFLAGS) 44 LINK = $(CXX) $(LDFLAGS) -o $@ 45 35 LDFLAGS = @LDFLAGS@ @COMPAT32BITFLAGS@ 36 LIBS = @LIBS@ 37 38 39 CXXCOMPILE = $(CXX) -c $(CXXFLAGS) $(DEFS) $(INCLUDES) 40 CXXLINK = $(CXX) $(LDFLAGS) -o $@ 41 42 46 43 .SUFFIXES: 47 .SUFFIXES: .c .o48 .c.o:49 $(COMPILE) $<50 51 44 .SUFFIXES: .cpp .o 52 45 .cpp.o: 53 $(COMPILE) $< 54 46 $(CXXCOMPILE) $< 55 47 56 HEADERS =57 48 58 SOURCES = hashfile.cpp 49 SOURCES = \ 50 hashfile.cpp 59 51 60 OBJECTS = hashfile.o 52 OBJECTS = \ 53 hashfile.o \ 61 54 62 EXEC = hashfile 63 64 all : $(EXEC) 55 EXECUTABLE_OBJECTS = \ 56 $(OBJECTS) 65 57 66 install: $(EXEC) 58 EXECUTABLE = hashfile 59 60 61 # Default target: make the hashfile executable 62 all: $(EXECUTABLE) 63 64 hashfile: $(EXECUTABLE_OBJECTS) 65 $(CXXLINK) $(EXECUTABLE_OBJECTS) $(LIBS) 66 67 install: $(EXECUTABLE) 67 68 $(INSTALL) -d ../../bin/$(GSDLOS) 68 69 $(INSTALL) -m 755 -s $(EXEC) ../../bin/$(GSDLOS) 69 70 71 clean: 72 rm -f $(OBJECTS) $(EXECUTABLE) 73 70 74 distclean: 71 rm -f $(OBJECTS) $(EXEC) Makefile 72 73 clean: 74 rm -f $(OBJECTS) $(EXEC) 75 rm -f $(OBJECTS) $(EXECUTABLE) Makefile 75 76 76 77 depend: 77 78 makedepend -Y -- $(DEFS) $(INCLUDES) $(CXXFLAGS) -- $(SOURCES) 78 79 80 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #81 82 HASHFILE_OBJS = hashfile.o83 84 hashfile: $(HASHFILE_OBJS) $(LIBS)85 $(LINK) $(HASHFILE_OBJS) $(LIBS)
Note:
See TracChangeset
for help on using the changeset viewer.