From 9cd00a3312ccedee7218a8038fd8e1efb7cd2ce4 Mon Sep 17 00:00:00 2001 From: Suhas Nandakumar Date: Mon, 12 Mar 2012 12:52:57 -0700 Subject: [PATCH] Fixed libxml2 and msgsnd issue --- native/alder/config/system-headers | 1056 +++++++++++++++++++++ native/alder/js/src/config/system-headers | 1056 +++++++++++++++++++++ native/alder/toolkit/library/Makefile.in | 607 ++++++++++++ 3 files changed, 2719 insertions(+) create mode 100644 native/alder/config/system-headers create mode 100644 native/alder/js/src/config/system-headers create mode 100644 native/alder/toolkit/library/Makefile.in diff --git a/native/alder/config/system-headers b/native/alder/config/system-headers new file mode 100644 index 0000000..5790aba --- /dev/null +++ b/native/alder/config/system-headers @@ -0,0 +1,1056 @@ +A4Stuff.h +activscp.h +AEDataModel.h +AEObjects.h +AEPackObject.h +AERegistry.h +AEUtils.h +afxcmn.h +afxcoll.h +afxcview.h +afxdisp.h +afxdtctl.h +afxext.h +afxmt.h +afxpriv.h +afxtempl.h +afxwin.h +algorithm +Aliases.h +all.h +alloca.h +alloc.h +alsa/asoundlib.h +alsa/pcm.h +alsa/mixer.h +android/log.h +ansi_parms.h +a.out.h +app/Cursor.h +Appearance.h +AppFileInfo.h +AppKit.h +AppleEvents.h +Application.h +app/Message.h +app/MessageRunner.h +arpa/inet.h +arpa/nameser.h +asm/sigcontext.h +asm/signal.h +ASRegistry.h +assert.h +atk/atk.h +atlcom.h +atlconv.h +atlctl.cpp +atlctl.h +ATLCTL.H +atlhost.h +atlimpl.cpp +atlwin.cpp +ATSTypes.h +ATSUnicode.h +Balloons.h +base/pblock.h +base/PCR_Base.h +base/session.h +basetyps.h +be/app/Application.h +Beep.h +be/kernel/image.h +be/kernel/OS.h +bfd.h +Bitmap.h +bitset +blapi.h +bsd/libc.h +bsd/syscall.h +bstring.h +builtin.h +Button.h +byteswap.h +#if MOZ_TREE_CAIRO!=1 +#define WRAP_CAIRO_HEADERS +#endif +#ifdef WRAP_CAIRO_HEADERS +pixman.h +cairo.h +cairo-atsui.h +cairo-beos.h +cairo-ft.h +cairo-glitz.h +cairo-os2.h +cairo-pdf.h +cairo-ps.h +cairo-tee.h +cairo-quartz.h +cairo-win32.h +cairo-xlib.h +cairo-xlib-xrender.h +cairo-directfb.h +cairo-qpainter.h +#endif +dfiff.h +exception +ffi.h +fusion/reactor.h +fusion/property.h +fusion/conf.h +fusion/build.h +fusion/hash.h +fusion/shm/shm.h +fusion/shm/shm_internal.h +fusion/shm/pool.h +fusion/ref.h +fusion/fusion_internal.h +fusion/lock.h +fusion/types.h +fusion/vector.h +fusion/call.h +fusion/shmalloc.h +fusion/protocol.h +fusion/fusion.h +fusion/arena.h +fusion/object.h +dgiff.h +direct/util.h +direct/memcpy.h +direct/interface.h +direct/conf.h +direct/tree.h +direct/signals.h +direct/build.h +direct/interface_implementation.h +direct/utf8.h +direct/serial.h +direct/hash.h +direct/direct.h +direct/clock.h +direct/types.h +direct/mem.h +direct/thread.h +direct/debug.h +direct/stream.h +direct/messages.h +direct/trace.h +direct/modules.h +direct/log.h +direct/system.h +direct/list.h +dfb_types.h +directfb_strings.h +directfb_keyboard.h +callconv.h +Carbon/Carbon.h +CarbonEvents.h +Carbon.h +cassert +c_asm.h +cctype +cderr.h +cerrno +cert.h +CFBase.h +CFBundle.h +CFData.h +CFDictionary.h +cf.h +CFNumber.h +CFPlugIn.h +CFPreferences.h +CFString.h +CFURL.h +CGAffineTransform.h +CheckBox.h +climits +Clipboard.h +cmplrs/stsupport.h +Cocoa/Cocoa.h +CodeFragments.h +comdef.h +commctrl.h +COMMCTRL.H +commdlg.h +compat.h +condapi.h +ConditionalMacros.h +config.h +conio.h +console.h +ControlDefinitions.h +Controls.h +CoreFoundation/CoreFoundation.h +CoreServices/CoreServices.h +CPalmRec.cpp +Cpalmrec.h +CPCatgry.cpp +CPDbBMgr.h +CPString.cpp +CPString.h +crtdbg.h +crt_externs.h +crypt.h +cstddef +cstdio +cstdlib +cstring +ctime +ctype.h +curl/curl.h +curl/easy.h +curses.h +cxxabi.h +DateTimeUtils.h +dbus/dbus.h +dbus/dbus-glib.h +dbus/dbus-glib-lowlevel.h +ddeml.h +Debug.h +deque +dem.h +descrip.h +Devices.h +Dialogs.h +direct.h +dirent.h +DiskInit.h +dlfcn.h +dlgs.h +dl.h +docobj.h +dos/dosextens.h +dos.h +Drag.h +DriverServices.h +DriverSynchronization.h +DropInPanel.h +dvidef.h +elf.h +endian.h +Entry.h +errno.h +Errors.h +Events.h +exdisp.h +ExDisp.h +exe386.h +execinfo.h +extras.h +fabdef.h +fcntl.h +features.h +fibdef.h +File.h +filehdr.h +files.h +Files.h +FindDirectory.h +Finder.h +FinderRegistry.h +FixMath.h +float.h +fnmatch.h +Folders.h +fontconfig/fontconfig.h +fontconfig/fcfreetype.h +Font.h +Fonts.h +fp.h +fpieee.h +frame/log.h +frame/req.h +freetype/freetype.h +freetype/ftcache.h +freetype/ftglyph.h +freetype/ftsynth.h +freetype/ftoutln.h +freetype/ttnameid.h +freetype/tttables.h +freetype/t1tables.h +freetype/ftlcdfil.h +freetype/ftsizes.h +freetype/ftadvanc.h +freetype/ftbitmap.h +freetype/ftxf86.h +fribidi/fribidi.h +FSp_fopen.h +fstream +fstream.h +ft2build.h +fts.h +gconf/gconf-client.h +Gdiplus.h +gdk/gdk.h +gdk/gdkkeysyms.h +gdk/gdkprivate.h +gdk/gdkx.h +gdk/gdkdirectfb.h +gdk-pixbuf/gdk-pixbuf.h +Gestalt.h +getopt.h +glibconfig.h +glib.h +glib-object.h +gmodule.h +gnome.h +gnu/libc-version.h +grp.h +gssapi_generic.h +gssapi/gssapi_generic.h +gssapi/gssapi.h +gssapi.h +gtk/gtk.h +gtk/gtkprinter.h +gtk/gtkprintjob.h +gtk/gtkprintunixdialog.h +HIToolbox/HIToolbox.h +hlink.h +ia64/sys/inline.h +Icons.h +iconv.h +ieeefp.h +ifaddrs.h +image.h +imagehlp.h +imm.h +initguid.h +InterfaceDefs.h +InternetConfig.h +IntlResources.h +ints.h +intshcut.h +inttypes.h +iodef.h +io.h +IOKit/IOKitLib.h +IOKit/IOMessage.h +IOKit/pwr_mgt/IOPMLib.h +iomanip +iostream +iostream.h +iterator +jar.h +JavaControl.h +JavaEmbedding/JavaControl.h +JavaVM/jni.h +jemalloc.h +JManager.h +JNIEnvTests.h +jni.h +#if MOZ_NATIVE_JPEG==1 +jpeglib.h +#endif +JVMManagerTests.h +Kerberos/Kerberos.h +kernel/image.h +kernel/OS.h +key.h +keyt.h +keythi.h +LAction.h +langinfo.h +LApplication.h +LArray.h +LArrayIterator.h +LAttachable.h +LAttachment.h +LaunchServices.h +lber.h +LBroadcaster.h +LButton.h +lcache.h +LCaption.h +LCheckBox.h +LCicnButton.h +LClipboard.h +LCommander.h +LComparator.h +LControl.h +ldap.h +ldaplog.h +ldappr.h +ldap_ssl.h +LDataStream.h +ldfcn.h +LDialogBox.h +ldif.h +LDocApplication.h +LDocument.h +LDragAndDrop.h +LDragTask.h +LEditField.h +LEditText.h +LEventDispatcher.h +LFile.h +LFileStream.h +LFileTypeList.h +LFocusBox.h +LGrafPortView.h +LHandleStream.h +libc_r.h +libelf.h +libelf/libelf.h +libgen.h +libgnome/gnome-url.h +libgnome/libgnome.h +libgnomeui/gnome-icon-lookup.h +libgnomeui/gnome-icon-theme.h +libgnomeui/gnome-ui-init.h +libgnomevfs/gnome-vfs-file-info.h +libgnomevfs/gnome-vfs.h +libgnomevfs/gnome-vfs-init.h +libgnomevfs/gnome-vfs-mime.h +libgnomevfs/gnome-vfs-mime-handlers.h +libgnomevfs/gnome-vfs-mime-utils.h +libgnomevfs/gnome-vfs-ops.h +libgnomevfs/gnome-vfs-standard-callbacks.h +lib$routines.h +libnotify/notify.h +limits +limits.h +link.h +linux/kernel.h +linux/limits.h +linux/rtc.h +linux/version.h +list +List.h +Lists.h +LListBox.h +LListener.h +LMenuBar.h +LMenu.h +LModelDirector.h +LModelObject.h +LModelProperty.h +loader.h +locale +locale.h +LOffscreenView.h +logkeys.h +logstrng.h +Looper.h +LowMem.h +LPane.h +LPeriodical.h +LPicture.h +LPlaceHolder.h +LPrintout.h +LProgressBar.h +LPushButton.h +LRadioGroup.h +LRadioGroupView.h +LRunArray.h +LScroller.h +LSharable.h +LSingleDoc.h +LStaticText.h +LStdControl.h +LStream.h +LString.h +LTabGroup.h +LTabGroupView.h +LTableArrayStorage.h +LTableMonoGeometry.h +LTableSingleSelector.h +LTableView.h +LTextEditView.h +LTextTableView.h +LUndoer.h +LVariableArray.h +LView.h +LWindow.h +m68881.h +MacErrors.h +MacHeadersCarbon.h +machine/ansi.h +machine/builtins.h +machine/clock.h +machine/endian.h +machine/frame.h +machine/inline.h +machine/limits.h +machine/signal.h +machine/trap.h +mach/mach_host.h +mach/mach_init.h +mach/mach_interface.h +mach/mach_port.h +mach-o/dyld.h +MacLocales.h +MacMemory.h +MacTCP.h +MacTypes.h +MacWindows.h +malloc.h +map +mapicode.h +mapidefs.h +mapiguid.h +mapi.h +mapitags.h +mapiutil.h +mapix.h +Math64.h +math.h +mbstring.h +mem.h +memory +memory.h +Memory.h +MenuBar.h +Menu.h +Menus.h +Message.h +Mime.h +MixedMode.h +mlang.h +mmsystem.h +model.h +Movies.h +mpw/errno.h +mshtmhst.h +mshtml.h +mswsock.h +Multiprocessing.h +mutex.h +Navigation.h +ncompat.h +ncurses.h +netCore.h +netdb.h +net/if.h +netinet/in.h +netinet/in_systm.h +netinet/tcp.h +new +newexe.h +new.h +nl_types.h +NodeInfo.h +nss.h +nssilock.h +nsswitch.h +objbase.h +objidl.h +Objsafe.h +ojiapitests.h +ole2.h +oleidl.h +OpenGL/OpenGL.h +OpenTptInternet.h +OpenTransport.h +os2.h +OS.h +osreldate.h +OSUtils.h +Packages.h +Palettes.h +PALM_CMN.H +pango/pango-modules.h +pango/pangocairo.h +pango/pangofc-decoder.h +pango/pangofc-font.h +pango/pangofc-fontmap.h +pango/pango-break.h +pango/pango-fontmap.h +pango/pango.h +pango/pangoxft.h +pango/pango-utils.h +pascal.h +Patches.h +Path.h +pcfs/pc_dir.h +Pgenerr.h +PGenErr.h +Ph.h +pk11func.h +pk11pub.h +pkcs11t.h +PLStringFuncs.h +PMApplication.h +pmddim.h +poll.h +Polygon.h +portable.h +Power.h +PP_ClassHeaders.cp +PP_Constants.h +PPCToolbox.h +PP_DebugHeaders.cp +PP_KeyCodes.h +PP_Macros.h +PP_Messages.h +PP_Prefix.h +PP_Resources.h +PP_Types.h +Printing.h +Print/PMPrintingDialogExtensions.h +private/qucomextra_p.h +Processes.h +process.h +Process.h +proto/dos.h +proto/exec.h +psap.h +Pt.h +pthread.h +pwd.h +Python.h +QDOffscreen.h +queue +Quickdraw.h +QuickDraw.h +QuickTimeComponents.h +quipu/attr.h +rasdlg.h +raserror.h +ras.h +regex.h +Region.h +resolv.h +Resources.h +Retrace.h +rld_interface.h +rmsdef.h +Roster.h +rpc.h +rpcproxy.h +rpc/types.h +sane/sane.h +sane/sanei.h +sane/saneopts.h +Scrap.h +Screen.h +Script.h +ScrollBar.h +seccomon.h +sec.h +secmod.h +secmodt.h +secrng.h +security.h +secutil.h +semaphore.h +servprov.h +set +setjmp.h +SFNTLayoutTypes.h +SFNTTypes.h +share.h +shellapi.h +shlguid.h +shlobj.h +sigcontext.h +signal.h +SimpleGameSound.h +SIOUX.h +size_t.h +someincludefile.h +Sound.h +sqlite3.h +ssdef.h +sslerr.h +ssl.h +sslproto.h +sstream +stack +StandardFile.h +starlet.h +stat.h +statreg.cpp +statreg.h +stdarg.h +stdbool.h +stddef.h +stdint.h +stdio.h +stdlib.h +storage/FindDirectory.h +StorageKit.h +string +StringCompare.h +string.h +String.h +strings.h +Strings.h +StringView.h +stropts.h +strstrea.h +structs.h +stsdef.h +SupportDefs.h +support/String.h +support/SupportDefs.h +support/TLS.h +svrcore.h +symconst.h +sym.h +synch.h +syncmgr.h +sys/atomic_op.h +sys/bitypes.h +sys/byteorder.h +syscall.h +sys/cdefs.h +sys/cfgodm.h +sys/elf.h +sys/endian.h +sys/errno.h +sys/fault.h +sys/fcntl.h +sys/file.h +sys/filio.h +sys/frame.h +sys/immu.h +sys/inttypes.h +sys/ioccom.h +sys/ioctl.h +sys/ipc.h +sys/ldr.h +sys/link.h +sys/locking.h +syslog.h +sys/lwp.h +sys/machine.h +sys/mman.h +sys/mmu.h +sys/mount.h +sys/mpctl.h +sys/param.h +sys/pda.h +sys/poll.h +sys/ppc.h +sys/prctl.h +sys/priv.h +sys/procfs.h +sys/pstat.h +sys/ptrace.h +sys/queue.h +sys/quota.h +sys/reboot.h +sys/reg.h +sys/regset.h +sys/resource.h +sys/sched.h +sys/select.h +sys/sem.h +sys/sendfile.h +sys/shm.h +sys/siginfo.h +sys/signal.h +sys/socket.h +sys/sockio.h +sys/sparc/frame.h +sys/stack.h +sys/statfs.h +sys/stat.h +sys/statvfs.h +sys/syscall.h +sys/sysctl.h +sys/sysinfo.h +sys/sysmp.h +sys/syssgi.h +sys/system_properties.h +sys/systeminfo.h +sys/timeb.h +sys/time.h +sys/times.h +sys/ttycom.h +sys/types.h +sys/ucontext.h +sys/uio.h +sys/un.h +sys/unistd.h +sys/utsname.h +sys/vfs.h +sys/wait.h +tables.h +TArray.h +TArrayIterator.h +task.h +tchar.h +TCHAR.H +termios.h +TextCommon.h +TextEdit.h +TextEncodingConverter.h +TextServices.h +TextUtils.h +TextView.h +th/PCR_Th.h +thread.h +ThreadManagerTests.h +Threads.h +time.h +Timer.h +tlhelp32.h +ToolUtils.h +tr1/functional +trace.h +Traps.h +typeinfo +types.h +Types.h +UAppleEventsMgr.h +UAttachments.h +ucontext.h +uconv.h +UCursor.h +ucx$inetdef.h +UDebugging.h +UDesktop.h +UDrawingState.h +UDrawingUtils.h +UEnvironment.h +UEventMgr.h +UException.h +UExtractFromAEDesc.h +UGWorld.h +UKeyFilters.h +ulocks.h +ulserrno.h +UMemoryMgr.h +UModalDialogs.h +UNavServicesDialogs.h +UnicodeBlockObjects.h +UnicodeConverter.h +UnicodeUtilities.h +unidef.h +unikbd.h +unistd.h +unix.h +unixio.h +unixlib.h +unknwn.h +UPrinting.h +UQuickTime.h +UReanimator.h +URegions.h +URegistrar.h +UResourceMgr.h +utility +urlhist.h +urlmon.h +UScrap.h +UScreenPort.h +UTCUtils.h +UTETextAction.h +UTEViewTextAction.h +UTextEdit.h +UTextTraits.h +utility +utime.h +UWindows.h +values.h +varargs.h +vcclr.h +vector +View.h +Volume.h +wab.h +wait.h +wchar.h +wctype.h +winbase.h +win/compobj.h +windef.h +Window.h +windows.h +Windows.h +windowsx.h +Wininet.h +winnls.h +winperf.h +winreg.h +Winreg.h +winsock2.h +winsock.h +winspool.h +winsvc.h +winuser.h +winver.h +wmem.h +workbench/startup.h +wtypes.h +wx/image.h +wx/listctrl.h +wx/log.h +wx/toolbar.h +wx/wx.h +wx/xrc/xmlres.h +X11/cursorfont.h +X11/extensions/Print.h +X11/extensions/shape.h +X11/extensions/scrnsaver.h +X11/extensions/XShm.h +X11/extensions/Xrender.h +X11/extensions/Xdamage.h +X11/extensions/Xcomposite.h +X11/Intrinsic.h +X11/keysymdef.h +X11/keysym.h +X11/Shell.h +X11/StringDefs.h +X11/Xatom.h +X11/Xft/Xft.h +X11/Xfuncproto.h +X11/X.h +X11/XKBlib.h +X11/Xlib.h +X11/Xlibint.h +X11/Xlocale.h +X11/Xos.h +X11/Xutil.h +xpt_struct.h +xpt_xdr.h +zmouse.h +sslt.h +smime.h +cms.h +sechash.h +secoidt.h +certdb.h +secerr.h +nssb64.h +secasn1.h +secder.h +certt.h +ocsp.h +keyhi.h +cryptohi.h +crmf.h +pk11pqg.h +cmmf.h +base64.h +secdert.h +secitem.h +secmime.h +nssckbi.h +pkcs12.h +p12plcy.h +pk11sdr.h +nspr.h +pratom.h +prbit.h +prclist.h +prcmon.h +prcountr.h +prcvar.h +prdtoa.h +prenv.h +prerr.h +prerror.h +prinet.h +prinit.h +prinrval.h +prio.h +pripcsem.h +prlink.h +prlock.h +prlog.h +prlong.h +prmem.h +prmon.h +prmwait.h +prnetdb.h +prolock.h +prpdce.h +prprf.h +prproces.h +prrng.h +prrwlock.h +prshm.h +prshma.h +prsystem.h +prthread.h +prtime.h +prtpool.h +prtrace.h +prtypes.h +prvrsion.h +plbase64.h +plerror.h +plgetopt.h +plresolv.h +plstr.h +plarenas.h +plarena.h +plhash.h +#if MOZ_NATIVE_PNG==1 +png.h +#endif +#if MOZ_NATIVE_ZLIB==1 +zlib.h +#endif +#ifdef MOZ_ENABLE_STARTUP_NOTIFICATION +libsn/sn.h +libsn/sn-common.h +libsn/sn-launchee.h +libsn/sn-launcher.h +libsn/sn-monitor.h +libsn/sn-util.h +#endif +#if MOZ_NATIVE_HUNSPELL==1 +hunspell.hxx +#endif +#if MOZ_NATIVE_BZ2==1 +bzlib.h +#endif +#if MOZ_PLATFORM_MAEMO==5 +hildon-uri.h +hildon-mime.h +hildon-file-chooser-dialog.h +libosso.h +osso-mem.h +#endif +#ifdef MOZ_ENABLE_GIO +gio/gio.h +#endif +#ifdef MOZ_ENABLE_LIBCONIC +conic/conicconnection.h +conic/conicconnectionevent.h +conic/conicstatisticsevent.h +#endif +#if MOZ_NATIVE_LIBEVENT==1 +event.h +#endif +#ifdef MOZ_ENABLE_LIBPROXY +proxy.h +#endif +#if MOZ_PLATFORM_MAEMO==6 +contentaction/contentaction.h +#endif +#ifdef MOZ_ENABLE_CONTENTMANAGER +SelectSingleContentItemPage.h +SelectMultipleContentItemsPage.h +QtSparql/qsparqlconnection.h +QtSparql/qsparqlquery.h +QtSparql/qsparqlresult.h +#endif + +#if MOZ_TREE_PIXMAN!=1 +pixman.h +#endif +#if MOZ_ENABLE_MEEGOTOUCHSHARE +shareuiinterface.h +#endif +#if MOZ_NATIVE_LIBVPX==1 +vpx/vpx_decoder.h +vpx/vp8dx.h +#endif +#ifdef XP_WIN +vpx/vpx_decoder.h +vpx/vp8dx.h +sydneyaudio/sydney_audio.h +vorbis/codec.h +theora/theoradec.h +tremor/ivorbiscodec.h +ogg/ogg.h +ogg/os_types.h +nestegg/nestegg.h +cubeb/cubeb.h +#endif +sys/msg.h +sys/ipc.h diff --git a/native/alder/js/src/config/system-headers b/native/alder/js/src/config/system-headers new file mode 100644 index 0000000..5790aba --- /dev/null +++ b/native/alder/js/src/config/system-headers @@ -0,0 +1,1056 @@ +A4Stuff.h +activscp.h +AEDataModel.h +AEObjects.h +AEPackObject.h +AERegistry.h +AEUtils.h +afxcmn.h +afxcoll.h +afxcview.h +afxdisp.h +afxdtctl.h +afxext.h +afxmt.h +afxpriv.h +afxtempl.h +afxwin.h +algorithm +Aliases.h +all.h +alloca.h +alloc.h +alsa/asoundlib.h +alsa/pcm.h +alsa/mixer.h +android/log.h +ansi_parms.h +a.out.h +app/Cursor.h +Appearance.h +AppFileInfo.h +AppKit.h +AppleEvents.h +Application.h +app/Message.h +app/MessageRunner.h +arpa/inet.h +arpa/nameser.h +asm/sigcontext.h +asm/signal.h +ASRegistry.h +assert.h +atk/atk.h +atlcom.h +atlconv.h +atlctl.cpp +atlctl.h +ATLCTL.H +atlhost.h +atlimpl.cpp +atlwin.cpp +ATSTypes.h +ATSUnicode.h +Balloons.h +base/pblock.h +base/PCR_Base.h +base/session.h +basetyps.h +be/app/Application.h +Beep.h +be/kernel/image.h +be/kernel/OS.h +bfd.h +Bitmap.h +bitset +blapi.h +bsd/libc.h +bsd/syscall.h +bstring.h +builtin.h +Button.h +byteswap.h +#if MOZ_TREE_CAIRO!=1 +#define WRAP_CAIRO_HEADERS +#endif +#ifdef WRAP_CAIRO_HEADERS +pixman.h +cairo.h +cairo-atsui.h +cairo-beos.h +cairo-ft.h +cairo-glitz.h +cairo-os2.h +cairo-pdf.h +cairo-ps.h +cairo-tee.h +cairo-quartz.h +cairo-win32.h +cairo-xlib.h +cairo-xlib-xrender.h +cairo-directfb.h +cairo-qpainter.h +#endif +dfiff.h +exception +ffi.h +fusion/reactor.h +fusion/property.h +fusion/conf.h +fusion/build.h +fusion/hash.h +fusion/shm/shm.h +fusion/shm/shm_internal.h +fusion/shm/pool.h +fusion/ref.h +fusion/fusion_internal.h +fusion/lock.h +fusion/types.h +fusion/vector.h +fusion/call.h +fusion/shmalloc.h +fusion/protocol.h +fusion/fusion.h +fusion/arena.h +fusion/object.h +dgiff.h +direct/util.h +direct/memcpy.h +direct/interface.h +direct/conf.h +direct/tree.h +direct/signals.h +direct/build.h +direct/interface_implementation.h +direct/utf8.h +direct/serial.h +direct/hash.h +direct/direct.h +direct/clock.h +direct/types.h +direct/mem.h +direct/thread.h +direct/debug.h +direct/stream.h +direct/messages.h +direct/trace.h +direct/modules.h +direct/log.h +direct/system.h +direct/list.h +dfb_types.h +directfb_strings.h +directfb_keyboard.h +callconv.h +Carbon/Carbon.h +CarbonEvents.h +Carbon.h +cassert +c_asm.h +cctype +cderr.h +cerrno +cert.h +CFBase.h +CFBundle.h +CFData.h +CFDictionary.h +cf.h +CFNumber.h +CFPlugIn.h +CFPreferences.h +CFString.h +CFURL.h +CGAffineTransform.h +CheckBox.h +climits +Clipboard.h +cmplrs/stsupport.h +Cocoa/Cocoa.h +CodeFragments.h +comdef.h +commctrl.h +COMMCTRL.H +commdlg.h +compat.h +condapi.h +ConditionalMacros.h +config.h +conio.h +console.h +ControlDefinitions.h +Controls.h +CoreFoundation/CoreFoundation.h +CoreServices/CoreServices.h +CPalmRec.cpp +Cpalmrec.h +CPCatgry.cpp +CPDbBMgr.h +CPString.cpp +CPString.h +crtdbg.h +crt_externs.h +crypt.h +cstddef +cstdio +cstdlib +cstring +ctime +ctype.h +curl/curl.h +curl/easy.h +curses.h +cxxabi.h +DateTimeUtils.h +dbus/dbus.h +dbus/dbus-glib.h +dbus/dbus-glib-lowlevel.h +ddeml.h +Debug.h +deque +dem.h +descrip.h +Devices.h +Dialogs.h +direct.h +dirent.h +DiskInit.h +dlfcn.h +dlgs.h +dl.h +docobj.h +dos/dosextens.h +dos.h +Drag.h +DriverServices.h +DriverSynchronization.h +DropInPanel.h +dvidef.h +elf.h +endian.h +Entry.h +errno.h +Errors.h +Events.h +exdisp.h +ExDisp.h +exe386.h +execinfo.h +extras.h +fabdef.h +fcntl.h +features.h +fibdef.h +File.h +filehdr.h +files.h +Files.h +FindDirectory.h +Finder.h +FinderRegistry.h +FixMath.h +float.h +fnmatch.h +Folders.h +fontconfig/fontconfig.h +fontconfig/fcfreetype.h +Font.h +Fonts.h +fp.h +fpieee.h +frame/log.h +frame/req.h +freetype/freetype.h +freetype/ftcache.h +freetype/ftglyph.h +freetype/ftsynth.h +freetype/ftoutln.h +freetype/ttnameid.h +freetype/tttables.h +freetype/t1tables.h +freetype/ftlcdfil.h +freetype/ftsizes.h +freetype/ftadvanc.h +freetype/ftbitmap.h +freetype/ftxf86.h +fribidi/fribidi.h +FSp_fopen.h +fstream +fstream.h +ft2build.h +fts.h +gconf/gconf-client.h +Gdiplus.h +gdk/gdk.h +gdk/gdkkeysyms.h +gdk/gdkprivate.h +gdk/gdkx.h +gdk/gdkdirectfb.h +gdk-pixbuf/gdk-pixbuf.h +Gestalt.h +getopt.h +glibconfig.h +glib.h +glib-object.h +gmodule.h +gnome.h +gnu/libc-version.h +grp.h +gssapi_generic.h +gssapi/gssapi_generic.h +gssapi/gssapi.h +gssapi.h +gtk/gtk.h +gtk/gtkprinter.h +gtk/gtkprintjob.h +gtk/gtkprintunixdialog.h +HIToolbox/HIToolbox.h +hlink.h +ia64/sys/inline.h +Icons.h +iconv.h +ieeefp.h +ifaddrs.h +image.h +imagehlp.h +imm.h +initguid.h +InterfaceDefs.h +InternetConfig.h +IntlResources.h +ints.h +intshcut.h +inttypes.h +iodef.h +io.h +IOKit/IOKitLib.h +IOKit/IOMessage.h +IOKit/pwr_mgt/IOPMLib.h +iomanip +iostream +iostream.h +iterator +jar.h +JavaControl.h +JavaEmbedding/JavaControl.h +JavaVM/jni.h +jemalloc.h +JManager.h +JNIEnvTests.h +jni.h +#if MOZ_NATIVE_JPEG==1 +jpeglib.h +#endif +JVMManagerTests.h +Kerberos/Kerberos.h +kernel/image.h +kernel/OS.h +key.h +keyt.h +keythi.h +LAction.h +langinfo.h +LApplication.h +LArray.h +LArrayIterator.h +LAttachable.h +LAttachment.h +LaunchServices.h +lber.h +LBroadcaster.h +LButton.h +lcache.h +LCaption.h +LCheckBox.h +LCicnButton.h +LClipboard.h +LCommander.h +LComparator.h +LControl.h +ldap.h +ldaplog.h +ldappr.h +ldap_ssl.h +LDataStream.h +ldfcn.h +LDialogBox.h +ldif.h +LDocApplication.h +LDocument.h +LDragAndDrop.h +LDragTask.h +LEditField.h +LEditText.h +LEventDispatcher.h +LFile.h +LFileStream.h +LFileTypeList.h +LFocusBox.h +LGrafPortView.h +LHandleStream.h +libc_r.h +libelf.h +libelf/libelf.h +libgen.h +libgnome/gnome-url.h +libgnome/libgnome.h +libgnomeui/gnome-icon-lookup.h +libgnomeui/gnome-icon-theme.h +libgnomeui/gnome-ui-init.h +libgnomevfs/gnome-vfs-file-info.h +libgnomevfs/gnome-vfs.h +libgnomevfs/gnome-vfs-init.h +libgnomevfs/gnome-vfs-mime.h +libgnomevfs/gnome-vfs-mime-handlers.h +libgnomevfs/gnome-vfs-mime-utils.h +libgnomevfs/gnome-vfs-ops.h +libgnomevfs/gnome-vfs-standard-callbacks.h +lib$routines.h +libnotify/notify.h +limits +limits.h +link.h +linux/kernel.h +linux/limits.h +linux/rtc.h +linux/version.h +list +List.h +Lists.h +LListBox.h +LListener.h +LMenuBar.h +LMenu.h +LModelDirector.h +LModelObject.h +LModelProperty.h +loader.h +locale +locale.h +LOffscreenView.h +logkeys.h +logstrng.h +Looper.h +LowMem.h +LPane.h +LPeriodical.h +LPicture.h +LPlaceHolder.h +LPrintout.h +LProgressBar.h +LPushButton.h +LRadioGroup.h +LRadioGroupView.h +LRunArray.h +LScroller.h +LSharable.h +LSingleDoc.h +LStaticText.h +LStdControl.h +LStream.h +LString.h +LTabGroup.h +LTabGroupView.h +LTableArrayStorage.h +LTableMonoGeometry.h +LTableSingleSelector.h +LTableView.h +LTextEditView.h +LTextTableView.h +LUndoer.h +LVariableArray.h +LView.h +LWindow.h +m68881.h +MacErrors.h +MacHeadersCarbon.h +machine/ansi.h +machine/builtins.h +machine/clock.h +machine/endian.h +machine/frame.h +machine/inline.h +machine/limits.h +machine/signal.h +machine/trap.h +mach/mach_host.h +mach/mach_init.h +mach/mach_interface.h +mach/mach_port.h +mach-o/dyld.h +MacLocales.h +MacMemory.h +MacTCP.h +MacTypes.h +MacWindows.h +malloc.h +map +mapicode.h +mapidefs.h +mapiguid.h +mapi.h +mapitags.h +mapiutil.h +mapix.h +Math64.h +math.h +mbstring.h +mem.h +memory +memory.h +Memory.h +MenuBar.h +Menu.h +Menus.h +Message.h +Mime.h +MixedMode.h +mlang.h +mmsystem.h +model.h +Movies.h +mpw/errno.h +mshtmhst.h +mshtml.h +mswsock.h +Multiprocessing.h +mutex.h +Navigation.h +ncompat.h +ncurses.h +netCore.h +netdb.h +net/if.h +netinet/in.h +netinet/in_systm.h +netinet/tcp.h +new +newexe.h +new.h +nl_types.h +NodeInfo.h +nss.h +nssilock.h +nsswitch.h +objbase.h +objidl.h +Objsafe.h +ojiapitests.h +ole2.h +oleidl.h +OpenGL/OpenGL.h +OpenTptInternet.h +OpenTransport.h +os2.h +OS.h +osreldate.h +OSUtils.h +Packages.h +Palettes.h +PALM_CMN.H +pango/pango-modules.h +pango/pangocairo.h +pango/pangofc-decoder.h +pango/pangofc-font.h +pango/pangofc-fontmap.h +pango/pango-break.h +pango/pango-fontmap.h +pango/pango.h +pango/pangoxft.h +pango/pango-utils.h +pascal.h +Patches.h +Path.h +pcfs/pc_dir.h +Pgenerr.h +PGenErr.h +Ph.h +pk11func.h +pk11pub.h +pkcs11t.h +PLStringFuncs.h +PMApplication.h +pmddim.h +poll.h +Polygon.h +portable.h +Power.h +PP_ClassHeaders.cp +PP_Constants.h +PPCToolbox.h +PP_DebugHeaders.cp +PP_KeyCodes.h +PP_Macros.h +PP_Messages.h +PP_Prefix.h +PP_Resources.h +PP_Types.h +Printing.h +Print/PMPrintingDialogExtensions.h +private/qucomextra_p.h +Processes.h +process.h +Process.h +proto/dos.h +proto/exec.h +psap.h +Pt.h +pthread.h +pwd.h +Python.h +QDOffscreen.h +queue +Quickdraw.h +QuickDraw.h +QuickTimeComponents.h +quipu/attr.h +rasdlg.h +raserror.h +ras.h +regex.h +Region.h +resolv.h +Resources.h +Retrace.h +rld_interface.h +rmsdef.h +Roster.h +rpc.h +rpcproxy.h +rpc/types.h +sane/sane.h +sane/sanei.h +sane/saneopts.h +Scrap.h +Screen.h +Script.h +ScrollBar.h +seccomon.h +sec.h +secmod.h +secmodt.h +secrng.h +security.h +secutil.h +semaphore.h +servprov.h +set +setjmp.h +SFNTLayoutTypes.h +SFNTTypes.h +share.h +shellapi.h +shlguid.h +shlobj.h +sigcontext.h +signal.h +SimpleGameSound.h +SIOUX.h +size_t.h +someincludefile.h +Sound.h +sqlite3.h +ssdef.h +sslerr.h +ssl.h +sslproto.h +sstream +stack +StandardFile.h +starlet.h +stat.h +statreg.cpp +statreg.h +stdarg.h +stdbool.h +stddef.h +stdint.h +stdio.h +stdlib.h +storage/FindDirectory.h +StorageKit.h +string +StringCompare.h +string.h +String.h +strings.h +Strings.h +StringView.h +stropts.h +strstrea.h +structs.h +stsdef.h +SupportDefs.h +support/String.h +support/SupportDefs.h +support/TLS.h +svrcore.h +symconst.h +sym.h +synch.h +syncmgr.h +sys/atomic_op.h +sys/bitypes.h +sys/byteorder.h +syscall.h +sys/cdefs.h +sys/cfgodm.h +sys/elf.h +sys/endian.h +sys/errno.h +sys/fault.h +sys/fcntl.h +sys/file.h +sys/filio.h +sys/frame.h +sys/immu.h +sys/inttypes.h +sys/ioccom.h +sys/ioctl.h +sys/ipc.h +sys/ldr.h +sys/link.h +sys/locking.h +syslog.h +sys/lwp.h +sys/machine.h +sys/mman.h +sys/mmu.h +sys/mount.h +sys/mpctl.h +sys/param.h +sys/pda.h +sys/poll.h +sys/ppc.h +sys/prctl.h +sys/priv.h +sys/procfs.h +sys/pstat.h +sys/ptrace.h +sys/queue.h +sys/quota.h +sys/reboot.h +sys/reg.h +sys/regset.h +sys/resource.h +sys/sched.h +sys/select.h +sys/sem.h +sys/sendfile.h +sys/shm.h +sys/siginfo.h +sys/signal.h +sys/socket.h +sys/sockio.h +sys/sparc/frame.h +sys/stack.h +sys/statfs.h +sys/stat.h +sys/statvfs.h +sys/syscall.h +sys/sysctl.h +sys/sysinfo.h +sys/sysmp.h +sys/syssgi.h +sys/system_properties.h +sys/systeminfo.h +sys/timeb.h +sys/time.h +sys/times.h +sys/ttycom.h +sys/types.h +sys/ucontext.h +sys/uio.h +sys/un.h +sys/unistd.h +sys/utsname.h +sys/vfs.h +sys/wait.h +tables.h +TArray.h +TArrayIterator.h +task.h +tchar.h +TCHAR.H +termios.h +TextCommon.h +TextEdit.h +TextEncodingConverter.h +TextServices.h +TextUtils.h +TextView.h +th/PCR_Th.h +thread.h +ThreadManagerTests.h +Threads.h +time.h +Timer.h +tlhelp32.h +ToolUtils.h +tr1/functional +trace.h +Traps.h +typeinfo +types.h +Types.h +UAppleEventsMgr.h +UAttachments.h +ucontext.h +uconv.h +UCursor.h +ucx$inetdef.h +UDebugging.h +UDesktop.h +UDrawingState.h +UDrawingUtils.h +UEnvironment.h +UEventMgr.h +UException.h +UExtractFromAEDesc.h +UGWorld.h +UKeyFilters.h +ulocks.h +ulserrno.h +UMemoryMgr.h +UModalDialogs.h +UNavServicesDialogs.h +UnicodeBlockObjects.h +UnicodeConverter.h +UnicodeUtilities.h +unidef.h +unikbd.h +unistd.h +unix.h +unixio.h +unixlib.h +unknwn.h +UPrinting.h +UQuickTime.h +UReanimator.h +URegions.h +URegistrar.h +UResourceMgr.h +utility +urlhist.h +urlmon.h +UScrap.h +UScreenPort.h +UTCUtils.h +UTETextAction.h +UTEViewTextAction.h +UTextEdit.h +UTextTraits.h +utility +utime.h +UWindows.h +values.h +varargs.h +vcclr.h +vector +View.h +Volume.h +wab.h +wait.h +wchar.h +wctype.h +winbase.h +win/compobj.h +windef.h +Window.h +windows.h +Windows.h +windowsx.h +Wininet.h +winnls.h +winperf.h +winreg.h +Winreg.h +winsock2.h +winsock.h +winspool.h +winsvc.h +winuser.h +winver.h +wmem.h +workbench/startup.h +wtypes.h +wx/image.h +wx/listctrl.h +wx/log.h +wx/toolbar.h +wx/wx.h +wx/xrc/xmlres.h +X11/cursorfont.h +X11/extensions/Print.h +X11/extensions/shape.h +X11/extensions/scrnsaver.h +X11/extensions/XShm.h +X11/extensions/Xrender.h +X11/extensions/Xdamage.h +X11/extensions/Xcomposite.h +X11/Intrinsic.h +X11/keysymdef.h +X11/keysym.h +X11/Shell.h +X11/StringDefs.h +X11/Xatom.h +X11/Xft/Xft.h +X11/Xfuncproto.h +X11/X.h +X11/XKBlib.h +X11/Xlib.h +X11/Xlibint.h +X11/Xlocale.h +X11/Xos.h +X11/Xutil.h +xpt_struct.h +xpt_xdr.h +zmouse.h +sslt.h +smime.h +cms.h +sechash.h +secoidt.h +certdb.h +secerr.h +nssb64.h +secasn1.h +secder.h +certt.h +ocsp.h +keyhi.h +cryptohi.h +crmf.h +pk11pqg.h +cmmf.h +base64.h +secdert.h +secitem.h +secmime.h +nssckbi.h +pkcs12.h +p12plcy.h +pk11sdr.h +nspr.h +pratom.h +prbit.h +prclist.h +prcmon.h +prcountr.h +prcvar.h +prdtoa.h +prenv.h +prerr.h +prerror.h +prinet.h +prinit.h +prinrval.h +prio.h +pripcsem.h +prlink.h +prlock.h +prlog.h +prlong.h +prmem.h +prmon.h +prmwait.h +prnetdb.h +prolock.h +prpdce.h +prprf.h +prproces.h +prrng.h +prrwlock.h +prshm.h +prshma.h +prsystem.h +prthread.h +prtime.h +prtpool.h +prtrace.h +prtypes.h +prvrsion.h +plbase64.h +plerror.h +plgetopt.h +plresolv.h +plstr.h +plarenas.h +plarena.h +plhash.h +#if MOZ_NATIVE_PNG==1 +png.h +#endif +#if MOZ_NATIVE_ZLIB==1 +zlib.h +#endif +#ifdef MOZ_ENABLE_STARTUP_NOTIFICATION +libsn/sn.h +libsn/sn-common.h +libsn/sn-launchee.h +libsn/sn-launcher.h +libsn/sn-monitor.h +libsn/sn-util.h +#endif +#if MOZ_NATIVE_HUNSPELL==1 +hunspell.hxx +#endif +#if MOZ_NATIVE_BZ2==1 +bzlib.h +#endif +#if MOZ_PLATFORM_MAEMO==5 +hildon-uri.h +hildon-mime.h +hildon-file-chooser-dialog.h +libosso.h +osso-mem.h +#endif +#ifdef MOZ_ENABLE_GIO +gio/gio.h +#endif +#ifdef MOZ_ENABLE_LIBCONIC +conic/conicconnection.h +conic/conicconnectionevent.h +conic/conicstatisticsevent.h +#endif +#if MOZ_NATIVE_LIBEVENT==1 +event.h +#endif +#ifdef MOZ_ENABLE_LIBPROXY +proxy.h +#endif +#if MOZ_PLATFORM_MAEMO==6 +contentaction/contentaction.h +#endif +#ifdef MOZ_ENABLE_CONTENTMANAGER +SelectSingleContentItemPage.h +SelectMultipleContentItemsPage.h +QtSparql/qsparqlconnection.h +QtSparql/qsparqlquery.h +QtSparql/qsparqlresult.h +#endif + +#if MOZ_TREE_PIXMAN!=1 +pixman.h +#endif +#if MOZ_ENABLE_MEEGOTOUCHSHARE +shareuiinterface.h +#endif +#if MOZ_NATIVE_LIBVPX==1 +vpx/vpx_decoder.h +vpx/vp8dx.h +#endif +#ifdef XP_WIN +vpx/vpx_decoder.h +vpx/vp8dx.h +sydneyaudio/sydney_audio.h +vorbis/codec.h +theora/theoradec.h +tremor/ivorbiscodec.h +ogg/ogg.h +ogg/os_types.h +nestegg/nestegg.h +cubeb/cubeb.h +#endif +sys/msg.h +sys/ipc.h diff --git a/native/alder/toolkit/library/Makefile.in b/native/alder/toolkit/library/Makefile.in new file mode 100644 index 0000000..fcc71d1 --- /dev/null +++ b/native/alder/toolkit/library/Makefile.in @@ -0,0 +1,607 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. + +DEPTH = ../.. +topsrcdir = @top_srcdir@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +include $(DEPTH)/config/autoconf.mk + +include $(topsrcdir)/rdf/util/src/objs.mk +include $(topsrcdir)/intl/unicharutil/util/objs.mk + +MODULE = libxul +LIBRARY_NAME = xul +FORCE_SHARED_LIB = 1 +MOZILLA_INTERNAL_API = 1 + +ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa) +# This is going to be a framework named "XUL", not an ordinary library named +# "libxul.dylib" +LIBRARY_NAME=XUL +# Setting MAKE_FRAMEWORK makes DLL_PREFIX and DLL_SUFFIX be ignored when +# setting SHARED_LIBRARY; we need to leave DLL_PREFIX and DLL_SUFFIX +# as-is so that dependencies of the form -ltracemalloc still work. +MAKE_FRAMEWORK=1 +endif + +VPATH += $(topsrcdir)/build/ +CPPSRCS += $(STDCXX_COMPAT) + +ifeq ($(OS_ARCH)_$(GNU_CC),WINNT_) +CPPSRCS += dlldeps-xul.cpp +endif + +ifeq ($(OS_ARCH),OS2) +CPPSRCS += dlldeps-xul.cpp +endif + +ifneq (,$(MOZ_ENABLE_GTK2)) +DEFINES += -DMOZ_ENABLE_GTK2 +endif + +SHARED_LIBRARY_LIBS += \ + $(DEPTH)/toolkit/xre/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \ + $(NULL) + +SHARED_LIBRARY_LIBS += \ + $(foreach component,$(COMPONENT_LIBS),$(DEPTH)/staticlib/components/$(LIB_PREFIX)$(component).$(LIB_SUFFIX)) \ + $(foreach lib,$(STATIC_LIBS),$(DEPTH)/staticlib/$(LIB_PREFIX)$(lib).$(LIB_SUFFIX)) \ + $(NULL) + +CPPSRCS += \ + nsStaticXULComponents.cpp \ + $(NULL) + +ifeq ($(OS_ARCH),WINNT) +REQUIRES += widget gfx +CPPSRCS += \ + nsDllMain.cpp \ + $(NULL) +endif + +ifeq ($(OS_ARCH)_$(GNU_CC),WINNT_) +CPPSRCS += \ + nsGFXDeps.cpp \ + $(NULL) + +RCINCLUDE = xulrunner.rc + +ifndef MOZ_NATIVE_ZLIB +CPPSRCS += dlldeps-zlib.cpp +endif + +LOCAL_INCLUDES += -I$(topsrcdir)/widget/windows +LOCAL_INCLUDES += -I$(topsrcdir)/xpcom/base +endif + +ifneq (,$(filter WINNT OS2,$(OS_ARCH))) +DEFINES += -DZLIB_DLL=1 +endif + +ifeq ($(OS_ARCH),OS2) +REQUIRES += widget gfx + +CPPSRCS += \ + nsGFXDeps.cpp \ + $(NULL) + +ifndef MOZ_NATIVE_ZLIB +CPPSRCS += dlldeps-zlib.cpp +endif + +RESFILE = xulrunos2.res +RCFLAGS += -i $(topsrcdir)/widget/os2 + +LOCAL_INCLUDES += -I$(topsrcdir)/widget/os2 +LOCAL_INCLUDES += -I$(topsrcdir)/xpcom/base +endif + +# dependent libraries +STATIC_LIBS += \ + jsipc_s \ + domipc_s \ + domplugins_s \ + mozipc_s \ + mozipdlgen_s \ + ipcshell_s \ + gfx2d \ + gfxipc_s \ + hal_s \ + $(NULL) + +ifdef MOZ_B2G_RIL #{ +STATIC_LIBS += mozril_s +endif #} + +ifdef MOZ_IPDL_TESTS +STATIC_LIBS += ipdlunittest_s +endif + +ifeq (Linux,$(OS_ARCH)) +ifneq (Android,$(OS_TARGET)) +OS_LIBS += -lrt +endif +endif + +STATIC_LIBS += \ + xpcom_core \ + ucvutil_s \ + chromium_s \ + snappy_s \ + $(NULL) + +# component libraries +COMPONENT_LIBS += \ + necko \ + uconv \ + i18n \ + chardet \ + jar$(VERSION_NUMBER) \ + startupcache \ + pref \ + htmlpars \ + imglib2 \ + gkgfx \ + gklayout \ + docshell \ + embedcomponents \ + webbrwsr \ + nsappshell \ + txmgr \ + commandlines \ + toolkitcomps \ + pipboot \ + pipnss \ + appcomps \ + jsreflect \ + composer \ + telemetry \ + jsinspector \ + jsdebugger \ + storagecomps \ + rdf \ + windowds \ + $(NULL) + +ifdef BUILD_CTYPES +COMPONENT_LIBS += \ + jsctypes \ + $(NULL) +endif + +COMPONENT_LIBS += \ + jsperf \ + gkplugin \ + $(NULL) + +ifdef MOZ_XUL +ifdef MOZ_ENABLE_GTK2 +COMPONENT_LIBS += \ + unixproxy \ + $(NULL) +endif +endif + +ifneq (,$(filter cocoa,$(MOZ_WIDGET_TOOLKIT))) +COMPONENT_LIBS += \ + osxproxy \ + $(NULL) +endif + +ifdef MOZ_XUL +ifeq (qt,$(MOZ_WIDGET_TOOLKIT)) +COMPONENT_LIBS += \ + unixproxy \ + $(NULL) +endif +endif + +ifneq (,$(filter windows,$(MOZ_WIDGET_TOOLKIT))) +COMPONENT_LIBS += \ + windowsproxy \ + $(NULL) +endif + +ifdef MOZ_JSDEBUGGER +DEFINES += -DMOZ_JSDEBUGGER +COMPONENT_LIBS += \ + jsd \ + $(NULL) +endif + +ifdef MOZ_PREF_EXTENSIONS +DEFINES += -DMOZ_PREF_EXTENSIONS +COMPONENT_LIBS += \ + autoconfig \ + $(NULL) +endif + +ifdef MOZ_AUTH_EXTENSION +COMPONENT_LIBS += auth +DEFINES += -DMOZ_AUTH_EXTENSION +endif + +ifdef MOZ_PERMISSIONS +COMPONENT_LIBS += cookie permissions +DEFINES += -DMOZ_PERMISSIONS +endif + +ifdef MOZ_UNIVERSALCHARDET +COMPONENT_LIBS += universalchardet +DEFINES += -DMOZ_UNIVERSALCHARDET +endif + +ifeq (,$(filter android gonk qt os2 cocoa windows,$(MOZ_WIDGET_TOOLKIT))) +ifdef MOZ_XUL +COMPONENT_LIBS += fileview +DEFINES += -DMOZ_FILEVIEW +endif +endif + +ifdef MOZ_PLACES +COMPONENT_LIBS += \ + places \ + $(NULL) +endif + +ifdef MOZ_XUL +COMPONENT_LIBS += \ + tkautocomplete \ + satchel \ + pippki \ + $(NULL) +endif + +ifdef MOZ_ENABLE_GTK2 +COMPONENT_LIBS += widget_gtk2 +endif + +ifdef MOZ_ENABLE_GTK2 +ifdef MOZ_X11 +STATIC_LIBS += gtkxtbin +endif +endif + +# Platform-specific icon channel stuff - supported mostly-everywhere +ifneq (,$(filter windows os2 mac cocoa gtk2 qt android,$(MOZ_WIDGET_TOOLKIT))) +DEFINES += -DICON_DECODER +COMPONENT_LIBS += imgicon +endif + +ifeq ($(MOZ_WIDGET_TOOLKIT),android) +COMPONENT_LIBS += widget_android +STATIC_LIBS += skia_npapi +endif + +ifeq ($(MOZ_WIDGET_TOOLKIT),gonk) +COMPONENT_LIBS += widget_gonk +endif + +STATIC_LIBS += thebes gl ycbcr + +COMPONENT_LIBS += profiler + +ifeq (windows,$(MOZ_WIDGET_TOOLKIT)) +COMPONENT_LIBS += widget_windows +endif +ifeq (os2,$(MOZ_WIDGET_TOOLKIT)) +COMPONENT_LIBS += wdgtos2 +endif +ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) +COMPONENT_LIBS += widget_mac +endif +ifeq (qt,$(MOZ_WIDGET_TOOLKIT)) +COMPONENT_LIBS += widget_qt +endif + +ifdef ACCESSIBILITY +COMPONENT_LIBS += accessibility +endif + +ifdef MOZ_ENABLE_XREMOTE +COMPONENT_LIBS += remoteservice +endif + +ifdef MOZ_SPELLCHECK +DEFINES += -DMOZ_SPELLCHECK +COMPONENT_LIBS += spellchecker +endif + +ifdef MOZ_ZIPWRITER +DEFINES += -DMOZ_ZIPWRITER +COMPONENT_LIBS += zipwriter +endif + +COMPONENT_LIBS += services-crypto + +ifdef MOZ_DEBUG +ifdef ENABLE_TESTS +COMPONENT_LIBS += gkdebug +endif +endif + +ifdef MOZ_APP_COMPONENT_LIBS +COMPONENT_LIBS += $(MOZ_APP_COMPONENT_LIBS) +endif + +ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa) +OS_LIBS += -framework OpenGL -lcups +endif + +EXTRA_DSO_LDOPTS += \ + $(LIBS_DIR) \ + $(JPEG_LIBS) \ + $(PNG_LIBS) \ + $(QCMS_LIBS) \ + $(MOZ_JS_LIBS) \ + $(NSS_LIBS) \ + $(MOZ_CAIRO_LIBS) \ + $(MOZ_HARFBUZZ_LIBS) \ + $(MOZ_APP_EXTRA_LIBS) \ + $(SQLITE_LIBS) \ + -lxml2 \ + $(NULL) + +ifdef MOZ_GRAPHITE +EXTRA_DSO_LDOPTS += $(MOZ_GRAPHITE_LIBS) +endif + +ifdef MOZ_NATIVE_ZLIB +EXTRA_DSO_LDOPTS += $(ZLIB_LIBS) +else +EXTRA_DSO_LDOPTS += $(MOZ_ZLIB_LIBS) +endif + +ifdef MOZ_NATIVE_HUNSPELL +EXTRA_DSO_LDOPTS += $(MOZ_HUNSPELL_LIBS) +endif + +ifdef MOZ_NATIVE_LIBEVENT +EXTRA_DSO_LDOPTS += $(MOZ_LIBEVENT_LIBS) +endif + +ifdef MOZ_NATIVE_LIBVPX +EXTRA_DSO_LDOPTS += $(MOZ_LIBVPX_LIBS) +endif + +EXTRA_DSO_LDOPTS += $(call EXPAND_LIBNAME_PATH,gkmedias,$(DIST)/lib) + +ifdef MOZ_SYDNEYAUDIO +ifeq ($(OS_ARCH),Linux) +EXTRA_DSO_LDOPTS += $(MOZ_ALSA_LIBS) +endif +endif + +ifdef HAVE_CLOCK_MONOTONIC +EXTRA_DSO_LDOPTS += $(REALTIME_LIBS) +endif + +ifdef MOZ_ENABLE_SKIA +EXTRA_DSO_LDOPTS += $(MOZ_SKIA_LIBS) +endif + +ifeq (android,$(MOZ_WIDGET_TOOLKIT)) +OS_LIBS += -lGLESv2 +endif + +ifeq (gonk,$(MOZ_WIDGET_TOOLKIT)) +OS_LIBS += \ + -lui \ + -lmedia \ + -lhardware_legacy \ + -lhardware \ + -lutils \ + -lcutils \ + -lcamera_client \ + -lbinder \ + -lsensorservice \ + $(NULL) +ifdef MOZ_B2G_BT +OS_LIBS += -lbluedroid +endif +endif + +EXTRA_DEPS += \ + $(topsrcdir)/intl/unicharutil/util/objs.mk \ + $(topsrcdir)/rdf/util/src/objs.mk \ + $(NULL) + +CPPSRCS += \ + $(INTL_UNICHARUTIL_UTIL_LCPPSRCS) \ + $(RDF_UTIL_SRC_LCPPSRCS) \ + $(NULL) + +GARBAGE += \ + $(INTL_UNICHARUTIL_UTIL_LCPPSRCS) \ + $(wildcard *.$(OBJ_SUFFIX)) \ + $(RDF_UTIL_SRC_LCPPSRCS) \ + $(NULL) + +LOCAL_INCLUDES += -I$(topsrcdir)/intl/unicharutil/util \ + -I$(topsrcdir)/intl/unicharutil/src + +ifneq (,$(filter OS2 WINNT,$(OS_ARCH))) +SDK_LIBRARY = $(IMPORT_LIBRARY) +else +SDK_LIBRARY = $(SHARED_LIBRARY) +endif + +# See bug 653662 - some builders are hitting an internal size limit on +# incremental builds. Disable incremental linking for debug builds on VC8 or +# on 32-bit hosts. +# See: http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c34d5c37-ca4a-4580-9c7c-4379a8c76d1f/ +ifeq ($(OS_ARCH),WINNT) +IS_32BIT_HOST := $(if $(filter AMD64,$(PROCESSOR_ARCHITECTURE) $(PROCESSOR_ARCHITEW6432)),,yes) +ifneq (,$(or $(filter 1400,$(_MSC_VER)),$(IS_32BIT_HOST))) +ifdef MOZ_DEBUG +EXTRA_DSO_LDOPTS += -INCREMENTAL:NO +endif +endif +endif + +EXTRA_DSO_LDOPTS += $(LIBS_DIR) $(EXTRA_DSO_LIBS) + +DEFINES += -DIMPL_XREAPI + +EXTRA_DSO_LDOPTS += $(NSPR_LIBS) $(MOZALLOC_LIB) + +ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa) +CXXFLAGS += $(TK_CFLAGS) +OS_LIBS += \ + -framework SystemConfiguration \ + -framework QTKit \ + -framework IOKit \ + -F/System/Library/PrivateFrameworks -framework CoreUI \ + $(TK_LIBS) \ + $(NULL) +endif + +ifeq ($(OS_ARCH),Darwin) +ifdef MOZ_SYDNEYAUDIO +OS_LIBS += \ + -framework Carbon \ + -framework CoreAudio \ + -framework AudioToolbox \ + -framework AudioUnit \ + -framework IOKit \ + -framework Foundation \ + -framework AppKit \ + $(NULL) +endif +endif + +ifneq (,$(filter NetBSD OpenBSD,$(OS_ARCH))) +ifdef MOZ_SYDNEYAUDIO +EXTRA_DSO_LDOPTS += -lossaudio +endif +endif + +ifdef MOZ_PLATFORM_MAEMO +EXTRA_DSO_LDOPTS += $(MOZ_PLATFORM_MAEMO_LIBS) +endif + +ifdef MOZ_ENABLE_LIBCONIC +EXTRA_DSO_LDOPTS += $(LIBCONIC_LIBS) +endif + +ifdef MOZ_ENABLE_DBUS +EXTRA_DSO_LDOPTS += $(MOZ_DBUS_GLIB_LIBS) +endif + +ifeq (gtk2,$(MOZ_WIDGET_TOOLKIT)) +EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) $(XEXT_LIBS) $(XCOMPOSITE_LIBS) $(MOZ_PANGO_LIBS) $(MOZ_GTK2_LIBS) $(XT_LIBS) -lgthread-2.0 +EXTRA_DSO_LDOPTS += $(FT2_LIBS) +endif + +ifeq (qt,$(MOZ_WIDGET_TOOLKIT)) +EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) $(XT_LIBS) $(MOZ_QT_LIBS) -lgthread-2.0 +EXTRA_DSO_LDOPTS += $(FT2_LIBS) $(MOZ_PANGO_LIBS) +EXTRA_DSO_LDOPTS += $(LIBXUL_DIST)/../widget/qt/faststartupqt/$(LIB_PREFIX)faststartupqt.$(LIB_SUFFIX) +endif + +ifdef MOZ_TREE_FREETYPE +ifndef MOZ_TREE_CAIRO +EXTRA_DSO_LDOPTS += $(FT2_LIBS) +endif +endif + +ifdef MOZ_ENABLE_STARTUP_NOTIFICATION +EXTRA_DSO_LDOPTS += $(MOZ_STARTUP_NOTIFICATION_LIBS) +endif + +ifdef MOZ_ENABLE_LIBPROXY +EXTRA_DSO_LDOPTS += $(MOZ_LIBPROXY_LIBS) +endif + +ifeq ($(OS_ARCH),SunOS) +ifdef GNU_CC +EXTRA_DSO_LDOPTS += -lelf +else +EXTRA_DSO_LDOPTS += -lelf -ldemangle +endif +endif + +ifeq ($(OS_ARCH),WINNT) +OS_LIBS += $(call EXPAND_LIBNAME,shell32 ole32 uuid version winspool comdlg32 imm32 winmm wsock32 msimg32 shlwapi psapi ws2_32 dbghelp rasapi32 rasdlg) +ifneq (,$(MOZ_DEBUG)$(NS_TRACE_MALLOC)) +OS_LIBS += $(call EXPAND_LIBNAME,imagehlp) +endif +ifdef MOZ_CRASHREPORTER +OS_LIBS += $(call EXPAND_LIBNAME,wininet) +endif +ifdef ACCESSIBILITY +OS_LIBS += $(call EXPAND_LIBNAME,oleacc) +endif +ifdef _MSC_VER +OS_LIBS += $(call EXPAND_LIBNAME,delayimp) +EXTRA_DSO_LDOPTS += \ + -DELAYLOAD:gkmedias.dll \ + -DELAYLOAD:rasapi32.dll \ + -DELAYLOAD:rasdlg.dll \ + -DELAYLOAD:comdlg32.dll \ + -DELAYLOAD:winspool.drv \ + $(NULL) +ifdef ACCESSIBILITY +EXTRA_DSO_LDOPTS += -DELAYLOAD:oleacc.dll +endif +endif +endif # WINNT + +ifdef MOZ_JPROF +EXTRA_DSO_LDOPTS += -ljprof +endif + +ifdef MOZ_ENABLE_QT +EXTRA_DSO_LDOPTS += $(MOZ_QT_LDFLAGS) $(XEXT_LIBS) +endif + +include $(topsrcdir)/config/rules.mk + +export:: $(RDF_UTIL_SRC_CPPSRCS) $(INTL_UNICHARUTIL_UTIL_CPPSRCS) + $(INSTALL) $^ . + +# need widget/windows for resource.h (included from widget.rc) +LOCAL_INCLUDES += \ + -I$(topsrcdir)/config \ + -I$(topsrcdir)/widget/windows \ + $(NULL) + +OS_LIBS += $(LIBICONV) + +DEFINES += \ + -D_IMPL_NS_COM \ + -D_IMPL_NS_STRINGAPI \ + -DEXPORT_XPT_API \ + -DEXPORT_XPTC_API \ + -D_IMPL_NS_GFX \ + -D_IMPL_NS_WIDGET \ + $(NULL) + +ifeq ($(MOZ_WIDGET_TOOLKIT),windows) +OS_LIBS += $(call EXPAND_LIBNAME,usp10 oleaut32) +endif + +ifdef MOZ_WEBRTC +ifeq ($(OS_TARGET),Linux) +OS_LIBS += -lexpat +endif +endif + +ifeq ($(OS_ARCH),OpenBSD) +# Needed by nsAuthGSSAPI +EXTRA_DSO_LDOPTS += -lkrb5 -lcrypto +endif + +ifdef MOZ_DEBUG +ifdef ENABLE_TESTS +DEFINES += -DENABLE_LAYOUTDEBUG +endif +endif + +ifeq (WINNT_1,$(OS_TARGET)_$(MOZ_PROFILE_USE)) +# Wrap linker to measure peak virtual memory usage. +LD := $(PYTHON) $(topsrcdir)/build/link.py $(CURDIR)/linker-vsize $(LD) +endif