Changeset 15917 for gsdl/trunk/src/getpw/Makefile.in
- Timestamp:
- 2008-06-09T13:36:26+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/getpw/Makefile.in
r2999 r15917 1 1 ########################################################################### 2 2 # 3 # Makefile -- Makefile forgetpw3 # Makefile -- src/getpw 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) 2000 The New Zealand Digital Library Project8 # Copyright (C) 2000-2008 The New Zealand Digital Library Project 9 9 # 10 10 # This program is free software; you can redistribute it and/or modify … … 24 24 ########################################################################### 25 25 26 27 AR = ar 28 CC = @CC@ 29 CFLAGS = @CFLAGS@ 26 GSDL_DIR = ../.. 27 28 30 29 CXX = @CXX@ 31 CXXFLAGS = @CXXFLAGS@ 30 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ 32 31 DEFS = @DEFS@ 33 RANLIB = @RANLIB@ 34 # need to include config.h 35 INCLUDES = -I../.. -I../../lib 36 LDFLAGS = @LDFLAGS@ 37 DPLIBS = 32 GSDLOS = @gsdlos@ 33 INCLUDES = @INCLUDES@ -I$(GSDL_DIR) -I$(GSDL_DIR)/src/lib 34 INSTALL = @INSTALL@ 35 LDFLAGS = @LDFLAGS@ @COMPAT32BITFLAGS@ 38 36 LIBS = @LIBS@ 39 GSDLOS = @gsdlos@ 40 INSTALL = @INSTALL@ 41 42 LINK = $(CXX) $(LDFLAGS) -o $@ 43 37 38 39 CXXCOMPILE = $(CXX) -c $(CXXFLAGS) $(DEFS) $(INCLUDES) 40 CXXLINK = $(CXX) $(LDFLAGS) -o $@ 41 42 44 43 .SUFFIXES: 45 .SUFFIXES: .c .o46 .c.o:47 $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS) $<48 49 44 .SUFFIXES: .cpp .o 50 45 .cpp.o: 51 $(CXX ) -c $(DEFS) $(INCLUDES) $(CXXFLAGS) $<46 $(CXXCOMPILE) $< 52 47 53 HEADERS =54 48 55 SOURCES = getpw.cpp 49 SOURCES = \ 50 getpw.cpp 56 51 57 OBJECTS = getpw.o 52 OBJECTS = \ 53 getpw.o \ 58 54 59 EXEC = getpw 60 61 all : $(EXEC) 55 EXECUTABLE_OBJECTS = \ 56 $(OBJECTS) 62 57 63 install: $(EXEC) 64 $(INSTALL) -d ../../bin/$(GSDLOS) 65 $(INSTALL) -m 755 -s $(EXEC) ../../bin/$(GSDLOS) 58 EXECUTABLE = getpw 59 60 61 # Default target: make the getpw executable 62 all: $(EXECUTABLE) 63 64 hashfile: $(EXECUTABLE_OBJECTS) 65 $(CXXLINK) $(EXECUTABLE_OBJECTS) $(LIBS) 66 67 install: $(EXECUTABLE) 68 $(INSTALL) -d $(GSDL_DIR)/bin/$(GSDLOS) 69 $(INSTALL) -m 755 -s $(EXEC) $(GSDL_DIR)/bin/$(GSDLOS) 70 71 clean: 72 rm -f $(OBJECTS) $(EXECUTABLE) 66 73 67 74 distclean: 68 rm -f $(OBJECTS) $(EXEC) Makefile 69 70 clean: 71 rm -f $(OBJECTS) $(EXEC) 75 rm -f $(OBJECTS) $(EXECUTABLE) Makefile 72 76 73 77 depend: 74 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES) 75 76 77 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 78 79 GETPW_OBJS = getpw.o 80 81 getpw: $(GETPW_OBJS) $(DPLIBS) 82 $(LINK) $(GETPW_OBJS) $(LIBS) 83 78 makedepend -Y -- $(DEFS) $(INCLUDES) $(CXXFLAGS) -- $(SOURCES)
Note:
See TracChangeset
for help on using the changeset viewer.