root / Whitix / branches / hybrid / user / libc / Makefile

Revision 275, 1.0 kB (checked in by mwhitworth, 7 months ago)

Update user makefiles to work on 64-bit hosts.

Line 
1build:
2        make -C init
3        make -C assert
4        make -C ctype
5        make -C stdio
6        make -C stdlib
7        make -C string
8        make -C errno
9        make -C setjmp
10        make -C math
11        gcc -m32 -shared -nostdlib -fno-stack-protector -L../librtl -L../posix -lrtl -lpthread -o libstdc.so init/crt_begin.o init/crt_end.o ctype/*.o errno/*.o stdio/*.o stdlib/*.o assert/*.o string/*.o setjmp/*.o
12        gcc -m32 -shared -nostdlib -fno-stack-protector -L../librtl -lrtl -o libm.so init/crt_begin.o init/crt_end.o math/*.o
13
14pre:
15        make -C init
16
17install:
18        cp libstdc.so ../../CdRoot/System/Runtime
19        cp libm.so ../../CdRoot/System/Runtime
20        cp include/*.h ../../CdRoot/System/Include
21        cp init/crt_begin.o ../../CdRoot/System/Runtime/C
22        cp init/crt_end.o ../../CdRoot/System/Runtime/C
23        cp init/init.o ../../CdRoot/System/Runtime/C/crt_static.o
24
25clean:
26        make -C assert clean
27        make -C ctype clean
28        make -C errno clean
29        make -C stdio clean
30        make -C stdlib clean
31        make -C string clean
32        make -C init clean
33        make -C setjmp clean
34        make -C math clean
35        rm *.so -f
Note: See TracBrowser for help on using the browser.