head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.32 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.30 pkgsrc-2012Q4-base:1.7 pkgsrc-2011Q4:1.7.0.28 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q2:1.7.0.26 pkgsrc-2011Q2-base:1.7 pkgsrc-2009Q4:1.7.0.24 pkgsrc-2009Q4-base:1.7 pkgsrc-2008Q4:1.7.0.22 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.20 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.18 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.16 pkgsrc-2008Q2-base:1.7 pkgsrc-2008Q1:1.7.0.14 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.12 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.10 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.8 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.6 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.4 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.2 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.6.0.4 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.2 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.4.0.4 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.2 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.3.0.8 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.6 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.4 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.2 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.0.4 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.0.2 netbsd-1-6-1-base:1.1; locks; strict; comment @# @; 1.7 date 2006.08.30.14.53.28; author adam; state dead; branches; next 1.6; 1.6 date 2006.01.17.07.35.55; author adam; state Exp; branches; next 1.5; 1.5 date 2006.01.12.18.36.22; author joerg; state Exp; branches; next 1.4; 1.4 date 2005.07.29.12.57.14; author adam; state Exp; branches; next 1.3; 1.3 date 2004.08.18.13.58.27; author adam; state Exp; branches; next 1.2; 1.2 date 2003.12.05.09.16.33; author adam; state Exp; branches; next 1.1; 1.1 date 2003.02.06.10.54.18; author dmcmahill; state Exp; branches; next ; desc @@ 1.7 log @Changes 1.13.0: Debug libraries now have the same name as normal libraries (i.e. no "_d" suffix). This reduces the possiblity of multiple libraries being loaded into the same executable. Added dragonfly OS to make targets. Spaces and backslashes are no longer allowed in paths used by the make package (e.g. with Windows OS). The libraries can still use native paths. @ text @$NetBSD: patch-ac,v 1.6 2006/01/17 07:35:55 adam Exp $ --- target.make.orig 2005-12-06 11:54:03.000000000 +0100 +++ target.make @@@@ -711,6 +711,39 @@@@ endif #################################################### # +# DragonFly +# +ifeq ($(findstring dragonfly, $(GNUSTEP_TARGET_OS)), dragonfly) +HAVE_SHARED_LIBS = yes +SHARED_LD_POSTFLAGS = -Wl,-R/usr/pkg/lib -L/usr/pkg/lib +SHARED_LIB_LINK_CMD = \ + $(CC) -shared -Wl,-soname,$(LIB_LINK_VERSION_FILE) \ + $(ALL_LDFLAGS) -o $(LIB_LINK_OBJ_DIR)/$(LIB_LINK_VERSION_FILE) \ + $^ $(INTERNAL_LIBRARIES_DEPEND_UPON) \ + $(SHARED_LD_POSTFLAGS); \ + (cd $(LIB_LINK_OBJ_DIR); \ + $(RM_LN_S) $(LIB_LINK_FILE); \ + $(LN_S) $(LIB_LINK_VERSION_FILE) $(LIB_LINK_FILE)) +OBJ_MERGE_CMD = \ + $(CC) -nostdlib -r $(ALL_LDFLAGS) -o $(GNUSTEP_OBJ_DIR)/$(SUBPROJECT_PRODUCT) $^ ; + +SHARED_CFLAGS += -fPIC +SHARED_LIBEXT = .so + +HAVE_BUNDLES = yes +BUNDLE_LD = $(CC) +BUNDLE_LDFLAGS += -shared +ADDITIONAL_LDFLAGS += -rdynamic -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib +ADDITIONAL_INCLUDE_DIRS += -I/usr/pkg/include +STATIC_LDFLAGS += -static +endif +# +# end DragonFly +# +#################################################### + +#################################################### +# # OpenBSD 3.x (though set for 3.3) # ifeq ($(findstring openbsd, $(GNUSTEP_TARGET_OS)), openbsd) @ 1.6 log @Changes 1.11.2: The `GNUstep.conf' file is now viewed as the essential determination of the install location for GNUstep libraries, tools and other files. During configuration, this file is read, if it exists, to determine this information. This can still be overriden with environment and command line options, however. See the filesystem documentation in the GNUstep Make Documentation directory for more information. You no longer need to source GNUstep.sh in order to compile GNUstep programs. All that is needed is the definition of GNUSTEP_MAKEFILES. You should also have the GNUstep system tools directory in your path. All netbsd systems are assumed to use ELF libraries. Support for the old static libs version of netbsd was removed. Serveral new options were added to configure to change the location of basic dir locations and basic configuration files. Also, the help was greatly improved. Note that -prefix=/usr/GNUstep/System no longer works. Please use -prefix=/usr/GNUstep or -with-system-root=/usr/GNUstep/System. A few more fixes for cygwin are included as well as Windows resource rules. Support for ObjC++ has been added. You should list the ObjC++ .mm files in the xxx_OBJCC_FILES variable, and put extra ObjC++ flags in xxx_OBJCCFLAGS or ADDITIONAL_OBJCCFLAGS. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Add DragonFly support. Bump revision. @ text @d3 1 a3 1 --- target.make.orig 2005-09-19 03:37:15.000000000 +0000 d5 1 a5 22 @@@@ -674,9 +674,9 @@@@ endif #################################################### # -# NetBSD +# NetBSD a.out # -ifeq ($(findstring netbsd, $(GNUSTEP_TARGET_OS)), netbsd) +ifeq (@@object_fmt@@,netbsd-a.out) # This is disabled temporarily, because I don't know exactly how # to link shared libs. Everything seems to link correctly now but # constructor functions in the shared lib failed to get called @@@@ -708,7 +708,7 @@@@ endif # # NetBSD ELF # -ifeq ($(findstring netbsdelf, $(GNUSTEP_TARGET_OS)), netbsdelf) +ifeq (@@object_fmt@@,netbsd-ELF) HAVE_SHARED_LIBS = yes SHARED_LD_POSTFLAGS = -Wl,-R/usr/pkg/lib -L/usr/pkg/lib SHARED_LIB_LINK_CMD = \ @@@@ -739,6 +739,39 @@@@ endif @ 1.4 log @Changes 1.11.0: * New rules for building and using DLLs were implemented. Now gcc and other tricks are used to properly export symbols, so no .def file should be needed. * The GNUsteprc file in $GNUSTEP_SYSTEM_ROOT is deprecated. See the new GNUstep.conf file (which is not installed by default). * Psuedo-framwork support was implemented on MingW. This essentially involves copying the framework to several places so it can be used without links, which Windows does not really support. There's no other clean way to do it. * Support for xxx_WINDRES_FILES on MinGW was implemented. @ text @d3 1 a3 1 --- target.make.orig 2005-07-13 14:56:18.000000000 +0000 d5 1 a5 1 @@@@ -671,9 +671,9 @@@@ endif d17 1 a17 1 @@@@ -705,7 +705,7 @@@@ endif d26 40 @ 1.3 log @Changes 1.9.2: * Application and Bundles use the latest convention on Apple. * Improve/Simplify dependency checking when making docs @ text @d3 1 a3 1 --- target.make.orig 2004-04-20 09:43:51.000000000 +0000 d5 1 a5 1 @@@@ -632,9 +632,9 @@@@ endif d17 1 a17 1 @@@@ -666,7 +666,7 @@@@ endif @ 1.2 log @Changes in version `1.8.0': Read the NEWS file for a complete list of changes since the last stable release. The major difference from 1.6.0 is that the locations of certain directories have changed. Generally this will not cause a problem unless your GNUstep directory is shared by multiple machines running this and earlier (1.6.x) versions of the software. @ text @d3 1 a3 1 --- target.make.orig 2003-09-26 04:30:39.000000000 +0200 d5 1 a5 1 @@@@ -594,9 +594,9 @@@@ endif d17 1 a17 1 @@@@ -628,7 +628,7 @@@@ endif @ 1.1 log @teach GNUstep to deal with the fact that some NetBSD ELF systems (such as alpha, and probably pmax) show up as 'netbsd' while others (such as i386) show up as 'netbsdelf'. Should fix problems on all ELF systems which come up as 'netbsd'. @ text @d3 4 a6 7 work around the fact that some systems like i386 report either netbsd (a.out) or netbsdelf (elf) while others like alpha report netbsd (elf). This was making alpha be set incorrectly to a.out --- target.make.orig Fri Nov 15 15:14:59 2002 +++ target.make Thu Feb 6 05:45:23 2003 @@@@ -720,7 +720,7 @@@@ d16 3 a18 1 @@@@ -754,5 +754,5 @@@@ d25 1 @