iodine/src/osflags

31 lines
318 B
Plaintext
Raw Normal View History

2008-07-12 15:42:19 +03:00
#!/bin/sh
case $1 in
link)
case `uname` in
2008-07-12 15:42:19 +03:00
SunOS | solaris)
echo '-lsocket -lnsl';
;;
BeOS)
echo '-lsocket -lbind -lbsd';
;;
Haiku)
echo '-lnetwork';
;;
windows32)
echo '-lplibc -lws2_32';
;;
2008-07-12 15:42:19 +03:00
esac
;;
cflags)
case `uname` in
BeOS)
echo '-Dsocklen_t=int';
;;
esac
;;
2008-07-12 15:42:19 +03:00
*)
;;
esac