1: #
2: # ----------------------------------------------------------------------
3: # T2EX Software Package
4: #
5: # Copyright 2012 by Ken Sakamura.
6: # This software is distributed under the latest version of T-License 2.x.
7: # ----------------------------------------------------------------------
8: #
9: # Released by T-Engine Forum(http://www.t-engine.org/) at 2012/12/12.
10: # Modified by T-Engine Forum at 2013/03/07.
11: # Modified by TRON Forum(http://www.tron.org/) at 2015/06/04.
12: #
13: # ----------------------------------------------------------------------
14: #
15:
16: #
17: # This software package is available for use, modification,
18: # and redistribution in accordance with the terms of the attached
19: # T-License 2.x.
20: # If you want to redistribute the source code, you need to attach
21: # the T-License 2.x document.
22: # There's no obligation to publish the content, and no obligation
23: # to disclose it to the TRON Forum if you have modified the
24: # software package.
25: # You can also distribute the modified source code. In this case,
26: # please register the modification to T-Kernel traceability service.
27: # People can know the history of modifications by the service,
28: # and can be sure that the version you have inherited some
29: # modification of a particular version or not.
30: #
31: # http://trace.tron.org/tk/?lang=en
32: # http://trace.tron.org/tk/?lang=ja
33: #
34: # As per the provisions of the T-License 2.x, TRON Forum ensures that
35: # the portion of the software that is copyrighted by Ken Sakamura or
36: # the TRON Forum does not infringe the copyrights of a third party.
37: # However, it does not make any warranty other than this.
38: # DISCLAIMER: TRON Forum and Ken Sakamura shall not be held
39: # responsible for any consequences or damages caused directly or
40: # indirectly by the use of this software package.
41: #
42: # The source codes in bsd_source.tar.gz in this software package are
43: # derived from NetBSD or OpenBSD and not covered under T-License 2.x.
44: # They need to be changed or redistributed according to the
45: # representation of each source header.
46: #
47:
48: #
49: # @(#)Makefile.src_bsd
50: #
51: #
52:
53: VPATH += $(S_BSD)/arpa_inet
54: SRC_BSD += \
55: htonl.c \
56: htons.c \
57: ntohl.c \
58: ntohs.c \
59: inet_addr.c \
60: inet_ntop.c \
61: inet_pton.c \
62:
63: VPATH += $(S_BSD)/ctype
64: SRC_BSD += \
65: isctype.c \
66: ctype_.c \
67: toupper_.c \
68: tolower_.c \
69:
70: VPATH += $(S_BSD)/complex
71: SRC_BSD += \
72: s_cabs.c \
73: s_cabsf.c \
74: s_cacos.c \
75: s_cacosf.c \
76: s_cacosh.c \
77: s_cacoshf.c \
78: s_carg.c \
79: s_cargf.c \
80: s_casin.c \
81: s_casinf.c \
82: s_casinh.c \
83: s_casinhf.c \
84: s_catan.c \
85: s_catanf.c \
86: s_catanh.c \
87: s_catanhf.c \
88: s_ccos.c \
89: s_ccosf.c \
90: s_ccosh.c \
91: s_ccoshf.c \
92: s_cexp.c \
93: s_cexpf.c \
94: s_cimag.c \
95: s_cimagf.c \
96: s_clog.c \
97: s_clogf.c \
98: s_conj.c \
99: s_conjf.c \
100: s_cpow.c \
101: s_cpowf.c \
102: s_cproj.c \
103: s_cprojf.c \
104: s_creal.c \
105: s_crealf.c \
106: s_csin.c \
107: s_csinf.c \
108: s_csinh.c \
109: s_csinhf.c \
110: s_csqrt.c \
111: s_csqrtf.c \
112: s_ctan.c \
113: s_ctanf.c \
114: s_ctanh.c \
115: s_ctanhf.c \
116:
117: VPATH += $(S_BSD)/inttypes
118: SRC_BSD += \
119: imaxabs.c \
120: imaxdiv.c \
121: strtoimax.c \
122: strtoumax.c \
123:
124: VPATH += $(S_BSD)/math
125: SRC_BSD += \
126: e_acos.c \
127: e_acosf.c \
128: e_acosh.c \
129: e_acoshf.c \
130: e_asin.c \
131: e_asinf.c \
132: s_asinh.c \
133: s_asinhf.c \
134: s_atan.c \
135: s_atanf.c \
136: e_atan2.c \
137: e_atan2f.c \
138: e_atanh.c \
139: e_atanhf.c \
140: s_cbrt.c \
141: s_cbrtf.c \
142: s_ceil.c \
143: s_ceilf.c \
144: s_copysign.c \
145: s_copysignf.c \
146: s_cos.c \
147: s_cosf.c \
148: e_cosh.c \
149: e_coshf.c \
150: s_erf.c \
151: s_erff.c \
152: e_exp.c \
153: e_expf.c \
154: s_exp2.c \
155: s_exp2f.c \
156: s_expm1.c \
157: s_expm1f.c \
158: s_fabs.c \
159: s_fabsf.c \
160: s_fdim.c \
161: s_floor.c \
162: s_floorf.c \
163: s_fma.c \
164: s_fmaf.c \
165: s_fmax.c \
166: s_fmaxf.c \
167: s_fmin.c \
168: s_fminf.c \
169: e_fmod.c \
170: e_fmodf.c \
171: frexp.c \
172: s_frexpf.c \
173: e_hypot.c \
174: e_hypotf.c \
175: s_ilogb.c \
176: s_ilogbf.c \
177: e_j0.c \
178: e_j1.c \
179: e_jn.c \
180: ldexp.c \
181: s_llrint.c \
182: s_llrintf.c \
183: s_llround.c \
184: s_llroundf.c \
185: e_log.c \
186: e_logf.c \
187: e_log10.c \
188: e_log10f.c \
189: s_log1p.c \
190: s_log1pf.c \
191: e_log2.c \
192: e_log2f.c \
193: s_logb.c \
194: s_logbf.c \
195: s_lrint.c \
196: s_lrintf.c \
197: s_lround.c \
198: s_lroundf.c \
199: modf.c \
200: s_modff.c \
201: s_nan.c \
202: s_nearbyint.c \
203: s_nextafter.c \
204: s_nextafterf.c \
205: s_nexttowardf.c \
206: e_pow.c \
207: e_powf.c \
208: e_remainder.c \
209: e_remainderf.c \
210: s_remquo.c \
211: s_remquof.c \
212: s_rint.c \
213: s_rintf.c \
214: s_round.c \
215: s_roundf.c \
216: s_scalbln.c \
217: s_scalbn.c \
218: s_scalbnf.c \
219: s_sin.c \
220: s_sinf.c \
221: e_sinh.c \
222: e_sinhf.c \
223: e_sqrt.c \
224: e_sqrtf.c \
225: s_tan.c \
226: s_tanf.c \
227: s_tanh.c \
228: s_tanhf.c \
229: b_tgamma.c \
230: s_trunc.c \
231: s_truncf.c \
232: e_lgamma_r.c \
233: e_lgammaf_r.c \
234: e_scalb.c \
235: b_exp__D.c \
236: b_log__D.c \
237: e_rem_pio2.c \
238: e_rem_pio2f.c \
239: fpclassify.c \
240: isfinite.c \
241: isinf.c \
242: isnan.c \
243: isnormal.c \
244: k_cos.c \
245: k_cosf.c \
246: k_rem_pio2.c \
247: k_rem_pio2f.c \
248: k_sin.c \
249: k_sinf.c \
250: k_tan.c \
251: k_tanf.c \
252: signbit.c \
253:
254: VPATH += $(S_BSD)/search
255: SRC_BSD += \
256: hcreate.c \
257: insque.c \
258: remque.c \
259: lsearch.c \
260: tfind.c \
261: tsearch.c \
262: hash_func.c \
263:
264: VPATH += $(S_BSD)/stdio
265: SRC_BSD += \
266: clrerr.c \
267: fclose.c \
268: fdopen.c \
269: feof.c \
270: ferror.c \
271: ferror.c \
272: fflush.c \
273: fgetc.c \
274: fgetpos.c \
275: fgets.c \
276: fileno.c \
277: findfp.c \
278: flags.c \
279: fopen.c \
280: fprintf.c \
281: fputc.c \
282: fputs.c \
283: fread.c \
284: freopen.c \
285: fscanf.c \
286: fseek.c \
287: fsetpos.c \
288: ftell.c \
289: fvwrite.c \
290: fwalk.c \
291: fwrite.c \
292: getc.c \
293: getchar.c \
294: makebuf.c \
295: printf.c \
296: putc.c \
297: putchar.c \
298: puts.c \
299: refill.c \
300: rewind.c \
301: rget.c \
302: scanf.c \
303: setbuf.c \
304: setvbuf.c \
305: snprintf.c \
306: sprintf.c \
307: sscanf.c \
308: stdio.c \
309: ungetc.c \
310: vfprintf.c \
311: vfscanf.c \
312: vprintf.c \
313: vscanf.c \
314: vsnprintf.c \
315: vsprintf.c \
316: vsscanf.c \
317: wbuf.c \
318: wsetup.c \
319: assert.c \
320:
321: ifneq ($(NO_MULTIBYTE), 1)
322: SRC_BSD += \
323: __mb_cur_max.c \
324: multibyte_citrus.c \
325: runetable.c \
326: citrus_ctype.c \
327: citrus_none.c \
328: citrus_utf8.c
329: endif
330:
331: VPATH += $(S_BSD)/stdlib
332: SRC_BSD += \
333: abs.c \
334: labs.c \
335: llabs.c \
336: atof.c \
337: atoi.c \
338: atol.c \
339: atoll.c \
340: bsearch.c \
341: div.c \
342: ldiv.c \
343: lldiv.c \
344: qsort.c \
345: rand.c \
346: drand48.c \
347: lrand48.c \
348: mrand48.c \
349: srand48.c \
350: seed48.c \
351: lcong48.c \
352: erand48.c \
353: _rand48.c \
354: realpath.c \
355: strtod.c \
356: strtof.c \
357: strtold.c \
358: strtol.c \
359: strtoll.c \
360: strtoul.c \
361: strtoull.c \
362: dmisc.c \
363: dtoa.c \
364: gdtoa.c \
365: gethex.c \
366: gmisc.c \
367: hd_init.c \
368: hdtoa.c \
369: hexnan.c \
370: ldtoa.c \
371: locks.c \
372: misc.c \
373: smisc.c \
374: strtodg.c \
375: strtord.c \
376: sum.c \
377: ulp.c \
378:
379: VPATH += $(S_BSD)/string
380: SRC_BSD += \
381: memccpy.c \
382: memccpy.c \
383: memchr.c \
384: memcmp.c \
385: memset.c \
386: strcat.c \
387: strcmp.c \
388: strcoll.c \
389: strcpy.c \
390: strcspn.c \
391: strdup.c \
392: strlen.c \
393: strncat.c \
394: strncmp.c \
395: strncpy.c \
396: strpbrk.c \
397: strspn.c \
398: strstr.c \
399: strtok.c \
400: strxfrm.c \
401: strlcpy.c \
402: strlcat.c \
403: bcmp.c \
404: bcopy.c \
405: bzero.c \
406: ffs.c \
407: index.c \
408: rindex.c \
409: strcasecmp.c \
410:
411: VPATH += $(S_BSD)/time
412: SRC += \
413: asctime.c \
414: difftime.c \
415: strftime.c \
416: strptime.c \
417: