#
# http-in/Makefile
#
include	../Makefile.config

CFLAGS= -I.. -I../libem $(COPT)

all:	version http-in

version: chkversion
	./chkversion

chkversion:	chkversion.o ../libemfw.a
	$(CC) $(LDFL) -o chkversion chkversion.o ../libemfw.a

http-in:	http-in.o ../libemfw.a ../libemtn.a ../libfwall.a
	rm -f http-in
	$(CC) $(LDFL) -o http-in.tmp http-in.o ../libemfw.a ../libemtn.a ../libfwall.a $(AUXLIB)
	./http-in.tmp -check
	mv -f http-in.tmp http-in

clean:
	rm -f chkversion http-in http-in.tmp *.o
