Ignore:
Timestamp:
2008-05-17T10:01:24+12:00 (16 years ago)
Author:
davidb
Message:

Introduction of COMPAT32BITFLAGS to confirugre and Makefile.in files to help compile Greenstone on a 64-bit machine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/recpt/Makefile.in

    r15546 r15551  
    6363
    6464
    65 CPP = @CXX@
    66 CPPFLAGS = @CXXFLAGS@
     65CC = @CC@
     66CFLAGS=@CFLAGS@ @COMPAT32BITFLAGS@
     67CXX = @CXX@
     68CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@
    6769DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DHAVE_CONFIG_H $(FASTCGI_DEFS) $(Z3950_DEFS)
    6870INCLUDES = @GDBM_INCLUDE@ -I. -I$(GSDL_DIR) -I$(GSDL_DIR)/lib -I$(COLSERVR_DIR) -I$(PROTOCOL_DIR) \
     
    7072        -I$(PACKAGES_DIR)/expat/include $(FASTCGI_INCLUDES) $(Z3950_INCLUDES)
    7173INSTALL = @INSTALL@
    72 LDFLAGS = @LDFLAGS@
     74LDFLAGS = @LDFLAGS@ @COMPAT32BITFLAGS@
    7375LIBS = @LIBS@ @GDBM_LIBPATH@ -lgdbm -L$(PACKAGES_DIR)/expat/lib -lexpat $(ACCENTFOLD_LIBS) \
    7476    $(FASTCGI_LIBS) $(Z3950_LIBS)
    7577
    7678
    77 CPPCOMPILE = $(CPP) -c $(CPPFLAGS) $(DEFS) $(INCLUDES)
    78 CPPLINK = $(CPP) $(LDFLAGS) -o $@
     79CXXCOMPILE = $(CXX) -c $(CXXFLAGS) $(DEFS) $(INCLUDES)
     80CXXLINK = $(CXX) $(LDFLAGS) -o $@
    7981
    8082
     
    8284.SUFFIXES: .cpp .o
    8385.cpp.o:
    84     $(CPPCOMPILE) $<
     86    $(CXXCOMPILE) $<
    8587
    8688
     
    190192
    191193library: $(EXECUTABLE_OBJECTS)
    192     $(CPPLINK) $(EXECUTABLE_OBJECTS) $(LIBS)
     194    $(CXXLINK) $(EXECUTABLE_OBJECTS) $(LIBS)
    193195
    194196all: $(EXECUTABLE)
     
    204206
    205207depend:
    206     makedepend -Y -- $(DEFS) $(INCLUDES) $(CPPFLAGS) -- $(SOURCES)
     208    makedepend -Y -- $(DEFS) $(INCLUDES) $(CXXFLAGS) -- $(SOURCES)
Note: See TracChangeset for help on using the changeset viewer.