#
# sun-rbootd  yamamori@kt.rim.or.jp
#

all:: sun-rbootd

OBJS = sun-rbootd.o nitlib.o

# Solaris 2.x needs -lsocket
LIBS = `if [ -r /usr/lib/libsocket.so ]; then echo -lsocket; fi`


sun-rbootd: $(OBJS)
	$(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS)


sun-rbootd.o: config.h nitlib.h rmp.h rmp_var.h
nitlib.o: config.h nitlib.h rmp.h rmp_var.h
