mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 14:09:17 +02:00
* included libxml2 examples into build tree
git-svn-id: trunk@11533 -
This commit is contained in:
parent
1a461c43fc
commit
fd2b09c12c
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -3267,6 +3267,8 @@ packages/libxml/csrc/xmlwriter.h svneol=native#text/plain
|
|||||||
packages/libxml/csrc/xpath.h svneol=native#text/plain
|
packages/libxml/csrc/xpath.h svneol=native#text/plain
|
||||||
packages/libxml/csrc/xpathInternals.h svneol=native#text/plain
|
packages/libxml/csrc/xpathInternals.h svneol=native#text/plain
|
||||||
packages/libxml/csrc/xpointer.h svneol=native#text/plain
|
packages/libxml/csrc/xpointer.h svneol=native#text/plain
|
||||||
|
packages/libxml/examples/Makefile svneol=native#text/plain
|
||||||
|
packages/libxml/examples/Makefile.fpc svneol=native#text/plain
|
||||||
packages/libxml/examples/exutils.pas svneol=native#text/plain
|
packages/libxml/examples/exutils.pas svneol=native#text/plain
|
||||||
packages/libxml/examples/reader1.pas svneol=native#text/plain
|
packages/libxml/examples/reader1.pas svneol=native#text/plain
|
||||||
packages/libxml/examples/reader2.pas svneol=native#text/plain
|
packages/libxml/examples/reader2.pas svneol=native#text/plain
|
||||||
|
@ -434,6 +434,180 @@ endif
|
|||||||
ifeq ($(FULL_TARGET),armeb-embedded)
|
ifeq ($(FULL_TARGET),armeb-embedded)
|
||||||
override TARGET_UNITS+=libxml2
|
override TARGET_UNITS+=libxml2
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-linux)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-go32v2)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-win32)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-os2)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-freebsd)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-beos)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-haiku)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-netbsd)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-solaris)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-qnx)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-netware)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-openbsd)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-wdosx)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-darwin)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-emx)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-watcom)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-netwlibc)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-wince)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-embedded)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-symbian)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-linux)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-freebsd)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-netbsd)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-amiga)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-atari)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-openbsd)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-palmos)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-embedded)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc-linux)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc-netbsd)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc-amiga)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc-macos)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc-darwin)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc-morphos)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),sparc-linux)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),sparc-netbsd)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),sparc-solaris)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),sparc-embedded)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),x86_64-linux)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),x86_64-freebsd)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),x86_64-darwin)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),x86_64-win64)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),x86_64-embedded)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-linux)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-palmos)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-darwin)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-wince)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-gba)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-nds)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-embedded)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-symbian)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc64-darwin)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc64-embedded)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),avr-embedded)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),armeb-linux)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),armeb-embedded)
|
||||||
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
|
endif
|
||||||
override INSTALL_FPCPACKAGE=y
|
override INSTALL_FPCPACKAGE=y
|
||||||
ifeq ($(FULL_TARGET),i386-linux)
|
ifeq ($(FULL_TARGET),i386-linux)
|
||||||
override COMPILER_INCLUDEDIR+=src
|
override COMPILER_INCLUDEDIR+=src
|
||||||
@ -1902,6 +2076,24 @@ ifdef TARGET_RSTS
|
|||||||
override RSTFILES=$(addsuffix $(RSTEXT),$(TARGET_RSTS))
|
override RSTFILES=$(addsuffix $(RSTEXT),$(TARGET_RSTS))
|
||||||
override CLEANRSTFILES+=$(RSTFILES)
|
override CLEANRSTFILES+=$(RSTFILES)
|
||||||
endif
|
endif
|
||||||
|
.PHONY: fpc_examples
|
||||||
|
ifneq ($(TARGET_EXAMPLES),)
|
||||||
|
HASEXAMPLES=1
|
||||||
|
override EXAMPLESOURCEFILES:=$(wildcard $(addsuffix .pp,$(TARGET_EXAMPLES)) $(addsuffix .pas,$(TARGET_EXAMPLES)) $(addsuffix .lpr,$(TARGET_EXAMPLES)) $(addsuffix .dpr,$(TARGET_EXAMPLES)))
|
||||||
|
override EXAMPLEFILES:=$(addsuffix $(EXEEXT),$(TARGET_EXAMPLES))
|
||||||
|
override EXAMPLEOFILES:=$(addsuffix $(OEXT),$(TARGET_EXAMPLES)) $(addprefix $(STATICLIBPREFIX),$(addsuffix $(STATICLIBEXT),$(TARGET_EXAMPLES))) $(addprefix $(IMPORTLIBPREFIX),$(addsuffix $(STATICLIBEXT),$(TARGET_EXAMPLES)))
|
||||||
|
override CLEANEXEFILES+=$(EXAMPLEFILES) $(EXAMPLEOFILES)
|
||||||
|
ifeq ($(OS_TARGET),os2)
|
||||||
|
override CLEANEXEFILES+=$(addsuffix $(AOUTEXT),$(TARGET_EXAMPLES))
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),emx)
|
||||||
|
override CLEANEXEFILES+=$(addsuffix $(AOUTEXT),$(TARGET_EXAMPLES))
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifneq ($(TARGET_EXAMPLEDIRS),)
|
||||||
|
HASEXAMPLES=1
|
||||||
|
endif
|
||||||
|
fpc_examples: all $(EXAMPLEFILES) $(addsuffix _all,$(TARGET_EXAMPLEDIRS))
|
||||||
.PHONY: fpc_all fpc_smart fpc_debug fpc_release fpc_shared
|
.PHONY: fpc_all fpc_smart fpc_debug fpc_release fpc_shared
|
||||||
$(FPCMADE): $(ALLDEPENDENCIES) $(ALLTARGET)
|
$(FPCMADE): $(ALLDEPENDENCIES) $(ALLTARGET)
|
||||||
@$(ECHOREDIR) Compiled > $(FPCMADE)
|
@$(ECHOREDIR) Compiled > $(FPCMADE)
|
||||||
@ -2305,12 +2497,231 @@ endif
|
|||||||
fpc_makefile_sub2: $(addsuffix _makefile_dirs,$(TARGET_DIRS) $(TARGET_EXAMPLEDIRS))
|
fpc_makefile_sub2: $(addsuffix _makefile_dirs,$(TARGET_DIRS) $(TARGET_EXAMPLEDIRS))
|
||||||
fpc_makefile_dirs: fpc_makefile_sub1 fpc_makefile_sub2
|
fpc_makefile_dirs: fpc_makefile_sub1 fpc_makefile_sub2
|
||||||
fpc_makefiles: fpc_makefile fpc_makefile_dirs
|
fpc_makefiles: fpc_makefile fpc_makefile_dirs
|
||||||
|
ifeq ($(FULL_TARGET),i386-linux)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-go32v2)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-win32)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-os2)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-freebsd)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-beos)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-haiku)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-netbsd)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-solaris)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-qnx)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-netware)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-openbsd)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-wdosx)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-darwin)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-emx)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-watcom)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-netwlibc)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-wince)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-embedded)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),i386-symbian)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-linux)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-freebsd)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-netbsd)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-amiga)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-atari)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-openbsd)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-palmos)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),m68k-embedded)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc-linux)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc-netbsd)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc-amiga)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc-macos)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc-darwin)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc-morphos)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc-embedded)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),sparc-linux)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),sparc-netbsd)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),sparc-solaris)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),sparc-embedded)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),x86_64-linux)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),x86_64-freebsd)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),x86_64-darwin)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),x86_64-win64)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),x86_64-embedded)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-linux)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-palmos)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-darwin)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-wince)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-gba)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-nds)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-embedded)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),arm-symbian)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc64-linux)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc64-darwin)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),powerpc64-embedded)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),avr-embedded)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),armeb-linux)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifeq ($(FULL_TARGET),armeb-embedded)
|
||||||
|
TARGET_EXAMPLEDIRS_EXAMPLES=1
|
||||||
|
endif
|
||||||
|
ifdef TARGET_EXAMPLEDIRS_EXAMPLES
|
||||||
|
examples_all:
|
||||||
|
$(MAKE) -C examples all
|
||||||
|
examples_debug:
|
||||||
|
$(MAKE) -C examples debug
|
||||||
|
examples_smart:
|
||||||
|
$(MAKE) -C examples smart
|
||||||
|
examples_release:
|
||||||
|
$(MAKE) -C examples release
|
||||||
|
examples_units:
|
||||||
|
$(MAKE) -C examples units
|
||||||
|
examples_examples:
|
||||||
|
$(MAKE) -C examples examples
|
||||||
|
examples_shared:
|
||||||
|
$(MAKE) -C examples shared
|
||||||
|
examples_install:
|
||||||
|
$(MAKE) -C examples install
|
||||||
|
examples_sourceinstall:
|
||||||
|
$(MAKE) -C examples sourceinstall
|
||||||
|
examples_exampleinstall:
|
||||||
|
$(MAKE) -C examples exampleinstall
|
||||||
|
examples_distinstall:
|
||||||
|
$(MAKE) -C examples distinstall
|
||||||
|
examples_zipinstall:
|
||||||
|
$(MAKE) -C examples zipinstall
|
||||||
|
examples_zipsourceinstall:
|
||||||
|
$(MAKE) -C examples zipsourceinstall
|
||||||
|
examples_zipexampleinstall:
|
||||||
|
$(MAKE) -C examples zipexampleinstall
|
||||||
|
examples_zipdistinstall:
|
||||||
|
$(MAKE) -C examples zipdistinstall
|
||||||
|
examples_clean:
|
||||||
|
$(MAKE) -C examples clean
|
||||||
|
examples_distclean:
|
||||||
|
$(MAKE) -C examples distclean
|
||||||
|
examples_cleanall:
|
||||||
|
$(MAKE) -C examples cleanall
|
||||||
|
examples_info:
|
||||||
|
$(MAKE) -C examples info
|
||||||
|
examples_makefiles:
|
||||||
|
$(MAKE) -C examples makefiles
|
||||||
|
examples:
|
||||||
|
$(MAKE) -C examples all
|
||||||
|
.PHONY: examples_all examples_debug examples_smart examples_release examples_units examples_examples examples_shared examples_install examples_sourceinstall examples_exampleinstall examples_distinstall examples_zipinstall examples_zipsourceinstall examples_zipexampleinstall examples_zipdistinstall examples_clean examples_distclean examples_cleanall examples_info examples_makefiles examples
|
||||||
|
endif
|
||||||
all: fpc_all
|
all: fpc_all
|
||||||
debug: fpc_debug
|
debug: fpc_debug
|
||||||
smart: fpc_smart
|
smart: fpc_smart
|
||||||
release: fpc_release
|
release: fpc_release
|
||||||
units: fpc_units
|
units: fpc_units
|
||||||
examples:
|
examples: fpc_examples
|
||||||
shared: fpc_shared
|
shared: fpc_shared
|
||||||
install: fpc_install
|
install: fpc_install
|
||||||
sourceinstall: fpc_sourceinstall
|
sourceinstall: fpc_sourceinstall
|
||||||
@ -2320,7 +2731,7 @@ zipinstall: fpc_zipinstall
|
|||||||
zipsourceinstall: fpc_zipsourceinstall
|
zipsourceinstall: fpc_zipsourceinstall
|
||||||
zipexampleinstall: fpc_zipexampleinstall
|
zipexampleinstall: fpc_zipexampleinstall
|
||||||
zipdistinstall: fpc_zipdistinstall
|
zipdistinstall: fpc_zipdistinstall
|
||||||
clean: fpc_clean
|
clean: fpc_clean $(addsuffix _clean,$(TARGET_EXAMPLEDIRS))
|
||||||
distclean: fpc_distclean
|
distclean: fpc_distclean
|
||||||
cleanall: fpc_cleanall
|
cleanall: fpc_cleanall
|
||||||
info: fpc_info
|
info: fpc_info
|
||||||
|
@ -8,7 +8,7 @@ version=2.6.32
|
|||||||
|
|
||||||
[target]
|
[target]
|
||||||
units=libxml2
|
units=libxml2
|
||||||
# exampledirs=examples
|
exampledirs=examples
|
||||||
|
|
||||||
[require]
|
[require]
|
||||||
|
|
||||||
|
1904
packages/libxml/examples/Makefile
Normal file
1904
packages/libxml/examples/Makefile
Normal file
File diff suppressed because it is too large
Load Diff
19
packages/libxml/examples/Makefile.fpc
Normal file
19
packages/libxml/examples/Makefile.fpc
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#
|
||||||
|
# Makefile.fpc for OpenAL Examples
|
||||||
|
#
|
||||||
|
|
||||||
|
[target]
|
||||||
|
programs=reader1 reader2
|
||||||
|
|
||||||
|
[require]
|
||||||
|
#packages=
|
||||||
|
|
||||||
|
[install]
|
||||||
|
fpcpackage=y
|
||||||
|
|
||||||
|
[default]
|
||||||
|
fpcdir=../../..
|
||||||
|
|
||||||
|
|
||||||
|
[rules]
|
||||||
|
.NOTPARALLEL:
|
@ -17,7 +17,7 @@ program reader1;
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
ctypes,
|
ctypes,
|
||||||
libxml2 in '../libxml2.pas',
|
libxml2,
|
||||||
exutils;
|
exutils;
|
||||||
|
|
||||||
(**
|
(**
|
||||||
|
@ -18,7 +18,7 @@ program reader2;
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
ctypes,
|
ctypes,
|
||||||
libxml2 in '../libxml2.pas',
|
libxml2,
|
||||||
exutils;
|
exutils;
|
||||||
|
|
||||||
(**
|
(**
|
||||||
|
@ -22,53 +22,53 @@ begin
|
|||||||
T:=P.Targets.AddUnit('libxml2.pas');
|
T:=P.Targets.AddUnit('libxml2.pas');
|
||||||
with T.Dependencies do
|
with T.Dependencies do
|
||||||
begin
|
begin
|
||||||
AddInclude('xinclude.h');
|
AddInclude('xinclude.inc');
|
||||||
AddInclude('xpointer.h');
|
AddInclude('xpointer.inc');
|
||||||
AddInclude('HTMLparser.h');
|
AddInclude('HTMLparser.inc');
|
||||||
AddInclude('schemasInternals.h');
|
AddInclude('schemasInternals.inc');
|
||||||
AddInclude('SAX2.h');
|
AddInclude('SAX2.inc');
|
||||||
AddInclude('xmlversion.h');
|
AddInclude('xmlversion.inc');
|
||||||
AddInclude('globals.h');
|
AddInclude('globals.inc');
|
||||||
AddInclude('xmlexports.h');
|
AddInclude('xmlexports.inc');
|
||||||
AddInclude('nanoftp.h');
|
AddInclude('nanoftp.inc');
|
||||||
AddInclude('SAX.h');
|
AddInclude('SAX.inc');
|
||||||
AddInclude('uri.h');
|
AddInclude('uri.inc');
|
||||||
AddInclude('debugXML.h');
|
AddInclude('debugXML.inc');
|
||||||
AddInclude('xmlunicode.h');
|
AddInclude('xmlunicode.inc');
|
||||||
AddInclude('DOCBparser.h');
|
AddInclude('DOCBparser.inc');
|
||||||
AddInclude('xmlIO.h');
|
AddInclude('xmlIO.inc');
|
||||||
AddInclude('xmlsave.h');
|
AddInclude('xmlsave.inc');
|
||||||
AddInclude('HTMLtree.h');
|
AddInclude('HTMLtree.inc');
|
||||||
AddInclude('parserInternals.h');
|
AddInclude('parserInternals.inc');
|
||||||
AddInclude('chvalid.h');
|
AddInclude('chvalid.inc');
|
||||||
AddInclude('xmlwriter.h');
|
AddInclude('xmlwriter.inc');
|
||||||
AddInclude('relaxng.h');
|
AddInclude('relaxng.inc');
|
||||||
AddInclude('threads.h');
|
AddInclude('threads.inc');
|
||||||
AddInclude('list.h');
|
AddInclude('list.inc');
|
||||||
AddInclude('encoding.h');
|
AddInclude('encoding.inc');
|
||||||
AddInclude('catalog.h');
|
AddInclude('catalog.inc');
|
||||||
AddInclude('pattern.h');
|
AddInclude('pattern.inc');
|
||||||
AddInclude('xmlregexp.h');
|
AddInclude('xmlregexp.inc');
|
||||||
AddInclude('xmlerror.h');
|
AddInclude('xmlerror.inc');
|
||||||
AddInclude('xpath.h');
|
AddInclude('xpath.inc');
|
||||||
AddInclude('xmlautomata.h');
|
AddInclude('xmlautomata.inc');
|
||||||
AddInclude('entities.h');
|
AddInclude('entities.inc');
|
||||||
AddInclude('xmlreader.h');
|
AddInclude('xmlreader.inc');
|
||||||
AddInclude('xmlstring.h');
|
AddInclude('xmlstring.inc');
|
||||||
AddInclude('xmlmemory.h');
|
AddInclude('xmlmemory.inc');
|
||||||
AddInclude('xmlmodule.h');
|
AddInclude('xmlmodule.inc');
|
||||||
AddInclude('xmlschemas.h');
|
AddInclude('xmlschemas.inc');
|
||||||
AddInclude('hash.h');
|
AddInclude('hash.inc');
|
||||||
AddInclude('nanohttp.h');
|
AddInclude('nanohttp.inc');
|
||||||
AddInclude('parser.h');
|
AddInclude('parser.inc');
|
||||||
AddInclude('tree.h');
|
AddInclude('tree.inc');
|
||||||
AddInclude('dict.h');
|
AddInclude('dict.inc');
|
||||||
AddInclude('xlink.h');
|
AddInclude('xlink.inc');
|
||||||
AddInclude('valid.h');
|
AddInclude('valid.inc');
|
||||||
AddInclude('xpathInternals.h');
|
AddInclude('xpathInternals.inc');
|
||||||
AddInclude('xmlschemastypes.h');
|
AddInclude('xmlschemastypes.inc');
|
||||||
AddInclude('c14n.h');
|
AddInclude('c14n.inc');
|
||||||
AddInclude('schematron.h');
|
AddInclude('schematron.inc');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{$ifndef ALLPACKAGES}
|
{$ifndef ALLPACKAGES}
|
||||||
|
Loading…
Reference in New Issue
Block a user