1 # Set CFLAGS and LDFLAGS for sb-bsd-sockets.asd's invocation of gcc
3 UNAME:=$(shell uname -m)
6 ifeq (solaris,$(UNAME))
7 export LDFLAGS=-shared -lresolv -lsocket -lnsl
10 export LDFLAGS=-bundle
12 ifeq (x86_64,$(UNAME))
13 export LDFLAGS=-m32 -shared
16 export LDFLAGS=-shared
22 include ../asdf-module.mk