summaryrefslogtreecommitdiff
path: root/packages/Makefile.fpc
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2009-11-06 22:57:07 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2009-11-06 22:57:07 +0000
commitbbf275584d4158e196327bda94932e9ede48aa62 (patch)
treef46d2814f7fb398e0e1db39a212df8fc533c8c24 /packages/Makefile.fpc
parentc30ddbc53426a0809af9969c580afc64d9578853 (diff)
downloadfpc-bbf275584d4158e196327bda94932e9ede48aa62.tar.gz
* updated r308 of common Mac OS X interfaces:
o all headers updated to Mac OS X 10.6 o 64 bit support (commented out unsupported routines under 64 bit, fixed types) o iPhoneOS support to the extent that this is available in the standard Mac OS X 10.6 headers (these are not covered under the iPhone SDK derivative works limitation) o a few new frameworks translated: CoreType, CoreVideo, AudioUnits o a number of changes can cause compatibility problems with existing programs, listed below * many cases where signed parameters were turned into unsigned parameters and vice versa, too many to list (due to differences between the classic Pascal headers and the new C headers) * ATSFontFindFromContainer: ioArray var -> ptr because array * ATSFontGetFileSpecification: oFile FSSpec -> ATSFSSpec (was translation error?) * CFNetworkCopyProxiesForAutoConfigurationScript: got extra CFErrorRef para * CMGetDeviceFactoryProfiles: defaultProfID var -> ptr, because can be nil * CMIterateColorDevices: seed and count var -> ptr, because can be nil * CMIterateDeviceProfiles: seed and count var -> ptr, because can be nil * CMSetDeviceProfiles: profileScope and deviceProfiles const -> ptr, because can be nil * ConvertFromUnicodeToScriptCodeRun: oScriptCodeRuns var -> ptr because array * ConvertFromUnicodeToTextRun: oEncodingRuns var -> ptr because array * CreateUnicodeToTextRunInfo: iUnicodeMappings var -> ptr because array * DCMCreateFieldInfoRecord: findMethods var -> ptr because array * DCMGetFieldFindMethods: findMethods var -> ptr because array * GetIconRefFromFileInfo: outlabel var -> ptr because can be nil * HIImageViewCreate: last parameter ControlRef -> HIViewRef * HIViewNewTrackingArea: outRef var -> ptr because can be nil in 10.5+ * LAGetEnvironmentList: environmentList var -> ptr because array * LAListAvailableDictionaries: dictionaryList and opened var -> ptr because array * LSGetApplicationForURL: outAppRef and outAppURL var -> ptr because can be nil * LocaleOperationGetLocales: localeVariantList var -> ptr because can be nil * MPWaitOnQueue: param1-3 value -> var because "void **" in C * QTVRSetBackBufferImagingProc: areasOfInterest var -> ptr because array * QueryUnicodeMappings: oReturnedMappings var -> ptr because array * TECConvertTextToMultipleEncodings: outEncodingsBuffer var -> ptr because array * TECFlushMultipleEncodings: outEncodingsBuffer var -> ptr because array * TECSniffTextEncoding: numErrsArray and numFeaturesArray var -> ptr because array * FSCreateResFile: catalogInfo const -> ptr because can be nil git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@14089 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/Makefile.fpc')
-rw-r--r--packages/Makefile.fpc26
1 files changed, 14 insertions, 12 deletions
diff --git a/packages/Makefile.fpc b/packages/Makefile.fpc
index 8e6a9ca83d..12be11ffdc 100644
--- a/packages/Makefile.fpc
+++ b/packages/Makefile.fpc
@@ -26,11 +26,11 @@ dirs_freebsd=fv fcl-web fastcgi fcl-async ibase mysql ncurses zlib oracle odbc p
imlib utmp fpgtk xforms fftw pcap ggi sdl openssl graph gnome1 gtk1 gtk2 librsvg httpd13 httpd20 httpd22 pxlib numlib \
users iconvenc gmp fcl-extra libxml
dirs_darwin=fv fcl-web fastcgi fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
- libpng gdbm tcl syslog libcurl bfd aspell utmp fftw pcap openssl numlib iconvenc gmp fcl-extra
-dirs_i386_darwin=graph univint cocoaint sdl opengl x11 cairo gtk1 gtk2 librsvg fpgtk xforms gnome1 httpd13 httpd20 httpd22 imlib opengles objcrtl
-dirs_powerpc_darwin=graph univint cocoaint sdl opengl x11 cairo gtk1 gtk2 librsvg fpgtk xforms gnome1 httpd13 httpd20 httpd22 imlib objcrtl
-dirs_x86_64_darwin=opengl x11 cairo gtk1 gtk2 librsvg fpgtk xforms gnome1 httpd13 httpd20 httpd22 imlib
-dirs_powerpc64_darwin=opengl x11 cairo gtk1 gtk2 librsvg fpgtk xforms gnome1 httpd13 httpd20 httpd22 imlib
+ libpng gdbm tcl syslog libcurl bfd aspell utmp fftw pcap openssl numlib iconvenc gmp fcl-extra univint
+dirs_i386_darwin=graph sdl opengl x11 cairo gtk1 gtk2 librsvg fpgtk xforms gnome1 httpd13 httpd20 httpd22 imlib opengles objcrtl cocoaint
+dirs_powerpc_darwin=graph sdl opengl x11 cairo gtk1 gtk2 librsvg fpgtk xforms gnome1 httpd13 httpd20 httpd22 imlib objcrtl cocoaint
+dirs_x86_64_darwin=opengl x11 cairo gtk1 gtk2 librsvg fpgtk xforms gnome1 httpd13 httpd20 httpd22 imlib cocoaint
+dirs_powerpc64_darwin=opengl x11 cairo gtk1 gtk2 librsvg fpgtk xforms gnome1 httpd13 httpd20 httpd22 imlib cocoaint
dirs_arm_darwin= httpd13 httpd20 httpd22 opengles objcrtl
dirs_solaris=fv fcl-web fastcgi fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
libpng x11 gdbm tcl syslog libcurl opengl cairo gtk1 bfd svgalib fcl-extra \
@@ -95,18 +95,12 @@ fcl-extra_smart: fcl-base_smart winunits-base_smart winunits-jedi_smart
fcl-extra_release: fcl-base_release winunits-base_release winunits-jedi_release
fcl-extra_shared: fcl-base_shared winunits-base_shared winunits-jedi_shared
else
-ifneq ($(findstring $(FULL_TARGET),powerpc-darwin i386-darwin),)
+ifneq ($(findstring $(OS_TARGET),darwin darwin),)
fcl-extra_all: univint_all fcl-base_all
fcl-extra_debug: univint_debug fcl-base_debug
fcl-extra_smart: univint_smart fcl-base_release
fcl-extra_release: univint_release fcl-base_release
fcl-extra_shared: univint_shared fcl-base_shared
-
-cocoaint_all: univint_all
-cocoaint_debug: univint_debug
-cocoaint_smart: univint_smart
-cocoaint_release: univint_release
-cocoaint_shared: univint_shared
else
fcl-extra_all: fcl-base_all
fcl-extra_debug: fcl-base_debug
@@ -116,6 +110,14 @@ fcl-extra_shared: fcl-base_shared
endif
endif
+ifneq ($(findstring $(FULL_TARGET),i386-darwin powerpc-darwin x86_64-darwin powerpc64-darwin),)
+cocoaint_all: univint_all
+cocoaint_debug: univint_debug
+cocoaint_smart: univint_smart
+cocoaint_release: univint_release
+cocoaint_shared: univint_shared
+endif
+
fcl-xml_all: fcl-base_all
fcl-xml_debug: fcl-base_debug
fcl-xml_smart: fcl-base_smart