diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/embryo/include | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to '')
-rw-r--r-- | libraries/embryo/include/Makefile.am | 7 | ||||
-rw-r--r-- | libraries/embryo/include/Makefile.in | 439 | ||||
-rw-r--r-- | libraries/embryo/include/default.inc | 213 |
3 files changed, 659 insertions, 0 deletions
diff --git a/libraries/embryo/include/Makefile.am b/libraries/embryo/include/Makefile.am new file mode 100644 index 0000000..006ee14 --- /dev/null +++ b/libraries/embryo/include/Makefile.am | |||
@@ -0,0 +1,7 @@ | |||
1 | MAINTAINERCLEANFILES = Makefile.in | ||
2 | |||
3 | filesdir = $(datadir)/embryo/include | ||
4 | files_DATA = \ | ||
5 | default.inc | ||
6 | |||
7 | EXTRA_DIST = $(files_DATA) | ||
diff --git a/libraries/embryo/include/Makefile.in b/libraries/embryo/include/Makefile.in new file mode 100644 index 0000000..a5456cd --- /dev/null +++ b/libraries/embryo/include/Makefile.in | |||
@@ -0,0 +1,439 @@ | |||
1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
6 | # Inc. | ||
7 | # This Makefile.in is free software; the Free Software Foundation | ||
8 | # gives unlimited permission to copy and/or distribute it, | ||
9 | # with or without modifications, as long as this notice is preserved. | ||
10 | |||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
13 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
14 | # PARTICULAR PURPOSE. | ||
15 | |||
16 | @SET_MAKE@ | ||
17 | |||
18 | VPATH = @srcdir@ | ||
19 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
20 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
21 | pkglibdir = $(libdir)/@PACKAGE@ | ||
22 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
23 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
24 | install_sh_DATA = $(install_sh) -c -m 644 | ||
25 | install_sh_PROGRAM = $(install_sh) -c | ||
26 | install_sh_SCRIPT = $(install_sh) -c | ||
27 | INSTALL_HEADER = $(INSTALL_DATA) | ||
28 | transform = $(program_transform_name) | ||
29 | NORMAL_INSTALL = : | ||
30 | PRE_INSTALL = : | ||
31 | POST_INSTALL = : | ||
32 | NORMAL_UNINSTALL = : | ||
33 | PRE_UNINSTALL = : | ||
34 | POST_UNINSTALL = : | ||
35 | build_triplet = @build@ | ||
36 | host_triplet = @host@ | ||
37 | subdir = include | ||
38 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
39 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
40 | am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ | ||
41 | $(top_srcdir)/m4/efl_binary.m4 $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
42 | $(top_srcdir)/m4/efl_fnmatch.m4 \ | ||
43 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
44 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
45 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
46 | $(top_srcdir)/configure.ac | ||
47 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
48 | $(ACLOCAL_M4) | ||
49 | mkinstalldirs = $(install_sh) -d | ||
50 | CONFIG_HEADER = $(top_builddir)/config.h | ||
51 | CONFIG_CLEAN_FILES = | ||
52 | CONFIG_CLEAN_VPATH_FILES = | ||
53 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
54 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
55 | am__v_GEN_0 = @echo " GEN " $@; | ||
56 | AM_V_at = $(am__v_at_$(V)) | ||
57 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
58 | am__v_at_0 = @ | ||
59 | SOURCES = | ||
60 | DIST_SOURCES = | ||
61 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
62 | am__vpath_adj = case $$p in \ | ||
63 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
64 | *) f=$$p;; \ | ||
65 | esac; | ||
66 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
67 | am__install_max = 40 | ||
68 | am__nobase_strip_setup = \ | ||
69 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
70 | am__nobase_strip = \ | ||
71 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
72 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
73 | for p in $$list; do echo "$$p $$p"; done | \ | ||
74 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
75 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
76 | if (++n[$$2] == $(am__install_max)) \ | ||
77 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
78 | END { for (dir in files) print dir, files[dir] }' | ||
79 | am__base_list = \ | ||
80 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
81 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
82 | am__installdirs = "$(DESTDIR)$(filesdir)" | ||
83 | DATA = $(files_DATA) | ||
84 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
85 | ACLOCAL = @ACLOCAL@ | ||
86 | ALLOCA = @ALLOCA@ | ||
87 | AMTAR = @AMTAR@ | ||
88 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
89 | AR = @AR@ | ||
90 | AS = @AS@ | ||
91 | AUTOCONF = @AUTOCONF@ | ||
92 | AUTOHEADER = @AUTOHEADER@ | ||
93 | AUTOMAKE = @AUTOMAKE@ | ||
94 | AWK = @AWK@ | ||
95 | CC = @CC@ | ||
96 | CCDEPMODE = @CCDEPMODE@ | ||
97 | CFLAGS = @CFLAGS@ | ||
98 | CPP = @CPP@ | ||
99 | CPPFLAGS = @CPPFLAGS@ | ||
100 | CYGPATH_W = @CYGPATH_W@ | ||
101 | DEFS = @DEFS@ | ||
102 | DEPDIR = @DEPDIR@ | ||
103 | DLLTOOL = @DLLTOOL@ | ||
104 | DSYMUTIL = @DSYMUTIL@ | ||
105 | DUMPBIN = @DUMPBIN@ | ||
106 | ECHO_C = @ECHO_C@ | ||
107 | ECHO_N = @ECHO_N@ | ||
108 | ECHO_T = @ECHO_T@ | ||
109 | EFL_EMBRYO_BUILD = @EFL_EMBRYO_BUILD@ | ||
110 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
111 | EGREP = @EGREP@ | ||
112 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
113 | EINA_LIBS = @EINA_LIBS@ | ||
114 | EMBRYO_CC_PRG = @EMBRYO_CC_PRG@ | ||
115 | EMBRYO_CFLAGS = @EMBRYO_CFLAGS@ | ||
116 | EMBRYO_CPPFLAGS = @EMBRYO_CPPFLAGS@ | ||
117 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
118 | EVIL_LIBS = @EVIL_LIBS@ | ||
119 | EXEEXT = @EXEEXT@ | ||
120 | FGREP = @FGREP@ | ||
121 | GREP = @GREP@ | ||
122 | INSTALL = @INSTALL@ | ||
123 | INSTALL_DATA = @INSTALL_DATA@ | ||
124 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
125 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
126 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
127 | LD = @LD@ | ||
128 | LDFLAGS = @LDFLAGS@ | ||
129 | LIBOBJS = @LIBOBJS@ | ||
130 | LIBS = @LIBS@ | ||
131 | LIBTOOL = @LIBTOOL@ | ||
132 | LIPO = @LIPO@ | ||
133 | LN_S = @LN_S@ | ||
134 | LTLIBOBJS = @LTLIBOBJS@ | ||
135 | MAKEINFO = @MAKEINFO@ | ||
136 | MKDIR_P = @MKDIR_P@ | ||
137 | NM = @NM@ | ||
138 | NMEDIT = @NMEDIT@ | ||
139 | OBJDUMP = @OBJDUMP@ | ||
140 | OBJEXT = @OBJEXT@ | ||
141 | OTOOL = @OTOOL@ | ||
142 | OTOOL64 = @OTOOL64@ | ||
143 | PACKAGE = @PACKAGE@ | ||
144 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
145 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
146 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
147 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
148 | PACKAGE_URL = @PACKAGE_URL@ | ||
149 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
150 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
151 | PKG_CONFIG = @PKG_CONFIG@ | ||
152 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
153 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
154 | RANLIB = @RANLIB@ | ||
155 | SED = @SED@ | ||
156 | SET_MAKE = @SET_MAKE@ | ||
157 | SHELL = @SHELL@ | ||
158 | STRIP = @STRIP@ | ||
159 | VERSION = @VERSION@ | ||
160 | VMAJ = @VMAJ@ | ||
161 | abs_builddir = @abs_builddir@ | ||
162 | abs_srcdir = @abs_srcdir@ | ||
163 | abs_top_builddir = @abs_top_builddir@ | ||
164 | abs_top_srcdir = @abs_top_srcdir@ | ||
165 | ac_ct_CC = @ac_ct_CC@ | ||
166 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
167 | am__include = @am__include@ | ||
168 | am__leading_dot = @am__leading_dot@ | ||
169 | am__quote = @am__quote@ | ||
170 | am__tar = @am__tar@ | ||
171 | am__untar = @am__untar@ | ||
172 | bindir = @bindir@ | ||
173 | build = @build@ | ||
174 | build_alias = @build_alias@ | ||
175 | build_cpu = @build_cpu@ | ||
176 | build_os = @build_os@ | ||
177 | build_vendor = @build_vendor@ | ||
178 | builddir = @builddir@ | ||
179 | datadir = @datadir@ | ||
180 | datarootdir = @datarootdir@ | ||
181 | docdir = @docdir@ | ||
182 | dvidir = @dvidir@ | ||
183 | efl_doxygen = @efl_doxygen@ | ||
184 | efl_have_doxygen = @efl_have_doxygen@ | ||
185 | embryoincludedir = @embryoincludedir@ | ||
186 | exec_prefix = @exec_prefix@ | ||
187 | host = @host@ | ||
188 | host_alias = @host_alias@ | ||
189 | host_cpu = @host_cpu@ | ||
190 | host_os = @host_os@ | ||
191 | host_vendor = @host_vendor@ | ||
192 | htmldir = @htmldir@ | ||
193 | includedir = @includedir@ | ||
194 | infodir = @infodir@ | ||
195 | install_sh = @install_sh@ | ||
196 | libdir = @libdir@ | ||
197 | libexecdir = @libexecdir@ | ||
198 | localedir = @localedir@ | ||
199 | localstatedir = @localstatedir@ | ||
200 | lt_ECHO = @lt_ECHO@ | ||
201 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
202 | mandir = @mandir@ | ||
203 | mkdir_p = @mkdir_p@ | ||
204 | oldincludedir = @oldincludedir@ | ||
205 | pdfdir = @pdfdir@ | ||
206 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
207 | prefix = @prefix@ | ||
208 | program_transform_name = @program_transform_name@ | ||
209 | psdir = @psdir@ | ||
210 | release_info = @release_info@ | ||
211 | requirement_embryo = @requirement_embryo@ | ||
212 | sbindir = @sbindir@ | ||
213 | sharedstatedir = @sharedstatedir@ | ||
214 | srcdir = @srcdir@ | ||
215 | sysconfdir = @sysconfdir@ | ||
216 | target_alias = @target_alias@ | ||
217 | top_build_prefix = @top_build_prefix@ | ||
218 | top_builddir = @top_builddir@ | ||
219 | top_srcdir = @top_srcdir@ | ||
220 | version_info = @version_info@ | ||
221 | MAINTAINERCLEANFILES = Makefile.in | ||
222 | filesdir = $(datadir)/embryo/include | ||
223 | files_DATA = \ | ||
224 | default.inc | ||
225 | |||
226 | EXTRA_DIST = $(files_DATA) | ||
227 | all: all-am | ||
228 | |||
229 | .SUFFIXES: | ||
230 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
231 | @for dep in $?; do \ | ||
232 | case '$(am__configure_deps)' in \ | ||
233 | *$$dep*) \ | ||
234 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
235 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
236 | exit 1;; \ | ||
237 | esac; \ | ||
238 | done; \ | ||
239 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/Makefile'; \ | ||
240 | $(am__cd) $(top_srcdir) && \ | ||
241 | $(AUTOMAKE) --gnu include/Makefile | ||
242 | .PRECIOUS: Makefile | ||
243 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
244 | @case '$?' in \ | ||
245 | *config.status*) \ | ||
246 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
247 | *) \ | ||
248 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
249 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
250 | esac; | ||
251 | |||
252 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
253 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
254 | |||
255 | $(top_srcdir)/configure: $(am__configure_deps) | ||
256 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
257 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
258 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
259 | $(am__aclocal_m4_deps): | ||
260 | |||
261 | mostlyclean-libtool: | ||
262 | -rm -f *.lo | ||
263 | |||
264 | clean-libtool: | ||
265 | -rm -rf .libs _libs | ||
266 | install-filesDATA: $(files_DATA) | ||
267 | @$(NORMAL_INSTALL) | ||
268 | test -z "$(filesdir)" || $(MKDIR_P) "$(DESTDIR)$(filesdir)" | ||
269 | @list='$(files_DATA)'; test -n "$(filesdir)" || list=; \ | ||
270 | for p in $$list; do \ | ||
271 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
272 | echo "$$d$$p"; \ | ||
273 | done | $(am__base_list) | \ | ||
274 | while read files; do \ | ||
275 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(filesdir)'"; \ | ||
276 | $(INSTALL_DATA) $$files "$(DESTDIR)$(filesdir)" || exit $$?; \ | ||
277 | done | ||
278 | |||
279 | uninstall-filesDATA: | ||
280 | @$(NORMAL_UNINSTALL) | ||
281 | @list='$(files_DATA)'; test -n "$(filesdir)" || list=; \ | ||
282 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | ||
283 | test -n "$$files" || exit 0; \ | ||
284 | echo " ( cd '$(DESTDIR)$(filesdir)' && rm -f" $$files ")"; \ | ||
285 | cd "$(DESTDIR)$(filesdir)" && rm -f $$files | ||
286 | tags: TAGS | ||
287 | TAGS: | ||
288 | |||
289 | ctags: CTAGS | ||
290 | CTAGS: | ||
291 | |||
292 | |||
293 | distdir: $(DISTFILES) | ||
294 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
295 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
296 | list='$(DISTFILES)'; \ | ||
297 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
298 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
299 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
300 | case $$dist_files in \ | ||
301 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
302 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
303 | sort -u` ;; \ | ||
304 | esac; \ | ||
305 | for file in $$dist_files; do \ | ||
306 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
307 | if test -d $$d/$$file; then \ | ||
308 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
309 | if test -d "$(distdir)/$$file"; then \ | ||
310 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
311 | fi; \ | ||
312 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
313 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
314 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
315 | fi; \ | ||
316 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
317 | else \ | ||
318 | test -f "$(distdir)/$$file" \ | ||
319 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
320 | || exit 1; \ | ||
321 | fi; \ | ||
322 | done | ||
323 | check-am: all-am | ||
324 | check: check-am | ||
325 | all-am: Makefile $(DATA) | ||
326 | installdirs: | ||
327 | for dir in "$(DESTDIR)$(filesdir)"; do \ | ||
328 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
329 | done | ||
330 | install: install-am | ||
331 | install-exec: install-exec-am | ||
332 | install-data: install-data-am | ||
333 | uninstall: uninstall-am | ||
334 | |||
335 | install-am: all-am | ||
336 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
337 | |||
338 | installcheck: installcheck-am | ||
339 | install-strip: | ||
340 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
341 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
342 | `test -z '$(STRIP)' || \ | ||
343 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
344 | mostlyclean-generic: | ||
345 | |||
346 | clean-generic: | ||
347 | |||
348 | distclean-generic: | ||
349 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
350 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
351 | |||
352 | maintainer-clean-generic: | ||
353 | @echo "This command is intended for maintainers to use" | ||
354 | @echo "it deletes files that may require special tools to rebuild." | ||
355 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
356 | clean: clean-am | ||
357 | |||
358 | clean-am: clean-generic clean-libtool mostlyclean-am | ||
359 | |||
360 | distclean: distclean-am | ||
361 | -rm -f Makefile | ||
362 | distclean-am: clean-am distclean-generic | ||
363 | |||
364 | dvi: dvi-am | ||
365 | |||
366 | dvi-am: | ||
367 | |||
368 | html: html-am | ||
369 | |||
370 | html-am: | ||
371 | |||
372 | info: info-am | ||
373 | |||
374 | info-am: | ||
375 | |||
376 | install-data-am: install-filesDATA | ||
377 | |||
378 | install-dvi: install-dvi-am | ||
379 | |||
380 | install-dvi-am: | ||
381 | |||
382 | install-exec-am: | ||
383 | |||
384 | install-html: install-html-am | ||
385 | |||
386 | install-html-am: | ||
387 | |||
388 | install-info: install-info-am | ||
389 | |||
390 | install-info-am: | ||
391 | |||
392 | install-man: | ||
393 | |||
394 | install-pdf: install-pdf-am | ||
395 | |||
396 | install-pdf-am: | ||
397 | |||
398 | install-ps: install-ps-am | ||
399 | |||
400 | install-ps-am: | ||
401 | |||
402 | installcheck-am: | ||
403 | |||
404 | maintainer-clean: maintainer-clean-am | ||
405 | -rm -f Makefile | ||
406 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
407 | |||
408 | mostlyclean: mostlyclean-am | ||
409 | |||
410 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool | ||
411 | |||
412 | pdf: pdf-am | ||
413 | |||
414 | pdf-am: | ||
415 | |||
416 | ps: ps-am | ||
417 | |||
418 | ps-am: | ||
419 | |||
420 | uninstall-am: uninstall-filesDATA | ||
421 | |||
422 | .MAKE: install-am install-strip | ||
423 | |||
424 | .PHONY: all all-am check check-am clean clean-generic clean-libtool \ | ||
425 | distclean distclean-generic distclean-libtool distdir dvi \ | ||
426 | dvi-am html html-am info info-am install install-am \ | ||
427 | install-data install-data-am install-dvi install-dvi-am \ | ||
428 | install-exec install-exec-am install-filesDATA install-html \ | ||
429 | install-html-am install-info install-info-am install-man \ | ||
430 | install-pdf install-pdf-am install-ps install-ps-am \ | ||
431 | install-strip installcheck installcheck-am installdirs \ | ||
432 | maintainer-clean maintainer-clean-generic mostlyclean \ | ||
433 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
434 | uninstall uninstall-am uninstall-filesDATA | ||
435 | |||
436 | |||
437 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
438 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
439 | .NOEXPORT: | ||
diff --git a/libraries/embryo/include/default.inc b/libraries/embryo/include/default.inc new file mode 100644 index 0000000..0733503 --- /dev/null +++ b/libraries/embryo/include/default.inc | |||
@@ -0,0 +1,213 @@ | |||
1 | /* Float arithmetic | ||
2 | * | ||
3 | * (c) Copyright 1999, Artran, Inc. | ||
4 | * Written by Greg Garner (gmg@artran.com) | ||
5 | * Modified in March 2001 to include user defined | ||
6 | * operators for the floating point functions. | ||
7 | * (c) Copyright 2004, Carsten Haitzler | ||
8 | * Modified March 2004 by Carsten Haitzler <raster@rasterman.com> to conform | ||
9 | * to E coding style | ||
10 | * Became default include for embryo... | ||
11 | * Added string functions | ||
12 | * Added rand functions | ||
13 | * Added time functions | ||
14 | * | ||
15 | * This file is provided as is (no warranties). | ||
16 | */ | ||
17 | #if defined DEFAULT_INC | ||
18 | #endinput | ||
19 | #endif | ||
20 | #define DEFAULT_INC | ||
21 | |||
22 | #pragma rational Float | ||
23 | |||
24 | #define PI 3.1415926535897932384626433832795 | ||
25 | |||
26 | /* Different methods of rounding */ | ||
27 | enum Float_Round_Method | ||
28 | { | ||
29 | ROUND, FLOOR, CEIL, TOZERO | ||
30 | }; | ||
31 | /* different angle addressing modes (default is radians) */ | ||
32 | enum Float_Angle_Mode | ||
33 | { | ||
34 | RADIAN, DEGREES, GRADES | ||
35 | }; | ||
36 | |||
37 | /* varags - get numebr of args to a function */ | ||
38 | native numargs(); | ||
39 | /* varags - get arg no "arg" */ | ||
40 | native getarg(arg, index=0); | ||
41 | native getsarg(arg, buf[], buflen); | ||
42 | native Float:getfarg(arg, index=0); | ||
43 | /* varags - set arg no "arg" */ | ||
44 | native setarg(arg, index=0, value); | ||
45 | native setfarg(arg, index=0, Float:value); | ||
46 | |||
47 | /* Convert a string into a floating point value */ | ||
48 | native Float:atof(const string[]); | ||
49 | /* Return the fractional part of a float */ | ||
50 | native Float:fract(Float:value); | ||
51 | /* Round a float into a integer value */ | ||
52 | native round(Float:value, Float_Round_Method:method=ROUND); | ||
53 | /* Return the square root of value, same as float_power(value, 0.5) */ | ||
54 | native Float:sqrt(Float:value); | ||
55 | /* Return the value raised to the power of the exponent */ | ||
56 | native Float:pow(Float:value, Float:exponent); | ||
57 | /* Return the logarithm */ | ||
58 | native Float:log(Float:value, Float:base=10.0); | ||
59 | /* Return the sine, cosine or tangent. The input angle may be in radian*/ | ||
60 | /* degrees or grades. */ | ||
61 | native Float:sin(Float:value, Float_Angle_Mode:mode=RADIAN); | ||
62 | native Float:cos(Float:value, Float_Angle_Mode:mode=RADIAN); | ||
63 | native Float:tan(Float:value, Float_Angle_Mode:mode=RADIAN); | ||
64 | /* Return the absolute value */ | ||
65 | native Float:abs(Float:value); | ||
66 | /* return integer from string */ | ||
67 | native atoi(str[]); | ||
68 | /* return 0 if string matches glob, non-zero otherwise */ | ||
69 | native fnmatch(glob[], str[]); | ||
70 | /* same as strcmp() */ | ||
71 | native strcmp(str1[], str2[]); | ||
72 | /* same as strncmp */ | ||
73 | native strncmp(str1[], str2[], n); | ||
74 | /* same as strcpy */ | ||
75 | native strcpy(dst[], src[]); | ||
76 | /* same as strncpy except it nul terminates */ | ||
77 | native strncpy(dst[], src[], n); | ||
78 | /* same as strlen */ | ||
79 | native strlen(str[]); | ||
80 | /* same as strcat */ | ||
81 | native strcat(dst[], src[]); | ||
82 | /* same as strncat except it nul terminates */ | ||
83 | native strncat(dst[], src[], n); | ||
84 | /* prepends src string onto start of dst string */ | ||
85 | native strprep(dst[], src[]); | ||
86 | /* prepends at most n chars from src string onto dst string */ | ||
87 | native strnprep(dst[], src[], n); | ||
88 | /* cuts chars from char n to (not including) n2, and puts them in str */ | ||
89 | native strcut(dst[], str[], n, n2); | ||
90 | /* same as snprintf, except only supports %%, %c, %i, %d, %f, %x, %X, %s, \n and \t */ | ||
91 | native snprintf(dst[], dstn, fmt[], ...); | ||
92 | /* same as strstr */ | ||
93 | native strstr(str[], ndl[]); | ||
94 | /* same as strchr, except ch must be a 1 charater long string, and returns string index */ | ||
95 | native strchr(str[], ch[]); | ||
96 | /* same as strrchr, except ch must be a 1 charater long string and returns string index */ | ||
97 | native strrchr(str[], ch[]); | ||
98 | /* return random number 0 - 65535 */ | ||
99 | native rand(); | ||
100 | /* return random number 0.0 - 1.0 */ | ||
101 | native Float:randf(); | ||
102 | /* return seconds since midnight as a float */ | ||
103 | native Float:seconds(); | ||
104 | /* return the current date, year, time etc. in the variables provided */ | ||
105 | native date(&year, &month, &day, &yearday, &weekday, &hr, &min, &Float:sec); | ||
106 | |||
107 | /*****************************************************************************/ | ||
108 | /*****************************************************************************/ | ||
109 | /*****************************************************************************/ | ||
110 | /*****************************************************************************/ | ||
111 | /*****************************************************************************/ | ||
112 | /*****************************************************************************/ | ||
113 | /*****************************************************************************/ | ||
114 | /*****************************************************************************/ | ||
115 | /*****************************************************************************/ | ||
116 | /*****************************************************************************/ | ||
117 | /*****************************************************************************/ | ||
118 | /*****************************************************************************/ | ||
119 | /*****************************************************************************/ | ||
120 | /*****************************************************************************/ | ||
121 | /*****************************************************************************/ | ||
122 | /*****************************************************************************/ | ||
123 | /*****************************************************************************/ | ||
124 | /*****************************************************************************/ | ||
125 | /*****************************************************************************/ | ||
126 | /*****************************************************************************/ | ||
127 | /*****************************************************************************/ | ||
128 | /*****************************************************************************/ | ||
129 | /*****************************************************************************/ | ||
130 | /*****************************************************************************/ | ||
131 | /*****************************************************************************/ | ||
132 | /*****************************************************************************/ | ||
133 | |||
134 | /**************************************************/ | ||
135 | /* Hidden calls - all are overloaded on operators */ | ||
136 | /**************************************************/ | ||
137 | |||
138 | /* Convert an integer into a floating point value */ | ||
139 | native Float:float(value); | ||
140 | /* Multiple two floats together */ | ||
141 | native Float:float_mul(Float:oper1, Float:oper2); | ||
142 | /* Divide the dividend float by the divisor float */ | ||
143 | native Float:float_div(Float:dividend, Float:divisor); | ||
144 | /* Add two floats together */ | ||
145 | native Float:float_add(Float:oper1, Float:oper2); | ||
146 | /* Subtract oper2 float from oper1 float */ | ||
147 | native Float:float_sub(Float:oper1, Float:oper2); | ||
148 | /* Compare two integers. If the two elements are equal, return 0. */ | ||
149 | /* If the first argument is greater than the second argument, return 1, */ | ||
150 | /* If the first argument is less than the second argument, return -1. */ | ||
151 | native float_cmp(Float:oper1, Float:oper2); | ||
152 | /* user defined operators */ | ||
153 | native Float:operator*(Float:oper1, Float:oper2) = float_mul; | ||
154 | native Float:operator/(Float:oper1, Float:oper2) = float_div; | ||
155 | native Float:operator+(Float:oper1, Float:oper2) = float_add; | ||
156 | native Float:operator-(Float:oper1, Float:oper2) = float_sub; | ||
157 | native Float:operator=(oper) = float; | ||
158 | stock Float:operator++(Float:oper) | ||
159 | return oper+1.0; | ||
160 | stock Float:operator--(Float:oper) | ||
161 | return oper-1.0; | ||
162 | stock Float:operator-(Float:oper) | ||
163 | return oper^Float:0x80000000; /* IEEE values are sign/magnitude */ | ||
164 | stock Float:operator*(Float:oper1, oper2) | ||
165 | return float_mul(oper1, float(oper2)); /* "*" is commutative */ | ||
166 | stock Float:operator/(Float:oper1, oper2) | ||
167 | return float_div(oper1, float(oper2)); | ||
168 | stock Float:operator/(oper1, Float:oper2) | ||
169 | return float_div(float(oper1), oper2); | ||
170 | stock Float:operator+(Float:oper1, oper2) | ||
171 | return float_add(oper1, float(oper2)); /* "+" is commutative */ | ||
172 | stock Float:operator-(Float:oper1, oper2) | ||
173 | return float_sub(oper1, float(oper2)); | ||
174 | stock Float:operator-(oper1, Float:oper2) | ||
175 | return float_sub(float(oper1), oper2); | ||
176 | stock bool:operator==(Float:oper1, Float:oper2) | ||
177 | return float_cmp(oper1, oper2) == 0; | ||
178 | stock bool:operator==(Float:oper1, oper2) | ||
179 | return float_cmp(oper1, float(oper2)) == 0; /* "==" is commutative */ | ||
180 | stock bool:operator!=(Float:oper1, Float:oper2) | ||
181 | return float_cmp(oper1, oper2) != 0; | ||
182 | stock bool:operator!=(Float:oper1, oper2) | ||
183 | return float_cmp(oper1, float(oper2)) != 0; /* "!=" is commutative */ | ||
184 | stock bool:operator>(Float:oper1, Float:oper2) | ||
185 | return float_cmp(oper1, oper2) > 0; | ||
186 | stock bool:operator>(Float:oper1, oper2) | ||
187 | return float_cmp(oper1, float(oper2)) > 0; | ||
188 | stock bool:operator>(oper1, Float:oper2) | ||
189 | return float_cmp(float(oper1), oper2) > 0; | ||
190 | stock bool:operator>=(Float:oper1, Float:oper2) | ||
191 | return float_cmp(oper1, oper2) >= 0; | ||
192 | stock bool:operator>=(Float:oper1, oper2) | ||
193 | return float_cmp(oper1, float(oper2)) >= 0; | ||
194 | stock bool:operator>=(oper1, Float:oper2) | ||
195 | return float_cmp(float(oper1), oper2) >= 0; | ||
196 | stock bool:operator<(Float:oper1, Float:oper2) | ||
197 | return float_cmp(oper1, oper2) < 0; | ||
198 | stock bool:operator<(Float:oper1, oper2) | ||
199 | return float_cmp(oper1, float(oper2)) < 0; | ||
200 | stock bool:operator<(oper1, Float:oper2) | ||
201 | return float_cmp(float(oper1), oper2) < 0; | ||
202 | stock bool:operator<=(Float:oper1, Float:oper2) | ||
203 | return float_cmp(oper1, oper2) <= 0; | ||
204 | stock bool:operator<=(Float:oper1, oper2) | ||
205 | return float_cmp(oper1, float(oper2)) <= 0; | ||
206 | stock bool:operator<=(oper1, Float:oper2) | ||
207 | return float_cmp(float(oper1), oper2) <= 0; | ||
208 | stock bool:operator!(Float:oper) | ||
209 | return (_:oper & 0x7fffffff) == 0; | ||
210 | /* forbidden operations */ | ||
211 | forward operator%(Float:oper1, Float:oper2); | ||
212 | forward operator%(Float:oper1, oper2); | ||
213 | forward operator%(oper1, Float:oper2); | ||