base_path = ../../.. PROG = upload_server include ../../Makefile.in #Path for SunOS ifeq ($(findstring SunOS, $(UNIXNAME)), SunOS) EXTLIBS = -liconv endif ifeq ($(findstring FreeBSD, $(UNIXNAME)), FreeBSD) EXTLIBS = -L/usr/local/lib -liconv endif ifeq ($(findstring Darwin, $(UNIXNAME)), Darwin) EXTLIBS += -L/usr/lib -liconv endif EXTLIBS += -lz