mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-28 19:53:12 +03:00
- network.obj loader has been moved to a separate libnetwork.a library
git-svn-id: svn://kolibrios.org@8338 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
1094e71a7d
commit
4c90768ccb
Binary file not shown.
BIN
programs/develop/ktcc/trunk/bin/lib/libnetwork.a
Normal file
BIN
programs/develop/ktcc/trunk/bin/lib/libnetwork.a
Normal file
Binary file not shown.
7
programs/develop/ktcc/trunk/lib/libnetwork/Makefile
Normal file
7
programs/develop/ktcc/trunk/lib/libnetwork/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
all:
|
||||
fasm network.asm
|
||||
ar -csr libnetwork.a network.o
|
||||
clean:
|
||||
rm -f *.o *.a
|
||||
install:
|
||||
cp libnetwork.a ../../bin/lib
|
@ -43,7 +43,7 @@ import networklib, \
|
||||
inet_ntoa, 'inet_ntoa', \
|
||||
getaddrinfo, 'getaddrinfo', \
|
||||
freeaddrinfo, 'freeaddrinfo'
|
||||
|
||||
|
||||
public inet_addr as 'inet_addr'
|
||||
public inet_ntoa as 'inet_ntoa'
|
||||
public getaddrinfo as 'getaddrinfo'
|
@ -13,6 +13,7 @@ all:
|
||||
../bin/kos32-tcc console/console.c -lck -limg -o console/console.kex -I ../libc/include
|
||||
../bin/kos32-tcc dir_example.c -lck -o dir_example.kex -I ../libc/include
|
||||
../bin/kos32-tcc net/tcpsrv_demo.c -lck -o net/tcpsrv_demo.kex -I ../libc/include
|
||||
../bin/kos32-tcc net/nslookup.c -lck -lnetwork -o net/nslookup.kex -I ../libc/include
|
||||
|
||||
clean:
|
||||
rm *.kex
|
||||
|
@ -13,5 +13,5 @@
|
||||
../tcc console/console.c -lck -limg -o /tmp0/1/console
|
||||
../tcc dir_example.c -lck -o /tmp0/1/dir_example
|
||||
../tcc net/tcpsrv_demo.c -lck -o /tmp0/1/tcpsrv_demo
|
||||
../tcc net/nslookup.c -lck -o /tmp0/1/nslookup
|
||||
../tcc net/nslookup.c -lck -lnetwork -o /tmp0/1/nslookup
|
||||
exit
|
||||
|
Loading…
Reference in New Issue
Block a user