]> err.no Git - sope/commitdiff
fixed makefiles for 64bit
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 4 Jul 2006 00:05:26 +0000 (00:05 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 4 Jul 2006 00:05:26 +0000 (00:05 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1298 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-appserver/WEPrototype/GNUmakefile.preamble
sope-appserver/WEPrototype/fhs.make

index 72225ddf75e05d6d4ebb49b0c893f4906fe81cb7..cb24a3bd94aa616bedc26e5f9ae3281986fe0bd1 100644 (file)
@@ -62,7 +62,11 @@ ADDITIONAL_LIB_DIRS += \
        $(foreach dir,$(DEP_DIRS),-F$(GNUSTEP_BUILD_DIR)/$(dir))
 endif
 
+ifeq ($(findstring _64, $(GNUSTEP_TARGET_CPU)), _64)
+SYSTEM_LIB_DIR += -L/usr/local/lib64 -L/usr/lib64
+else
 SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib
+endif
 
 
 # bundle dependencies
index fc46b8e6d63a9239c3eaeebb75342cd9c61e8ee3..70e664a0d6e442cf53fb543a7adbb730c1cbbbcb 100644 (file)
@@ -5,11 +5,16 @@
 ifneq ($(FHS_INSTALL_ROOT),)
 
 FHS_INCLUDE_DIR=$(FHS_INSTALL_ROOT)/include/
-FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
 FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
-FHS_WOx_DIR=$(FHS_LIB_DIR)sope-$(MAJOR_VERSION).$(MINOR_VERSION)/wox-builders/
 FHS_MAN_DIR=$(FHS_INSTALL_ROOT)/man
 
+ifeq ($(findstring _64, $(GNUSTEP_TARGET_CPU)), _64)
+FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib64/
+else
+FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
+endif
+FHS_WOx_DIR=$(FHS_LIB_DIR)sope-$(MAJOR_VERSION).$(MINOR_VERSION)/wox-builders/
+
 NONFHS_LIBDIR="$(GNUSTEP_LIBRARIES)/$(GNUSTEP_TARGET_LDIR)/"
 NONFHS_LIBNAME="$(LIBRARY_NAME)$(LIBRARY_NAME_SUFFIX)$(SHARED_LIBEXT)"