# # Copyright 2005 Hon Hai Precision Ind. Co. Ltd. # All Rights Reserved. # No portions of this material shall be reproduced in any form without the # written permission of Hon Hai Precision Ind. Co. Ltd. # # All information contained in this document is Hon Hai Precision Ind. # Co. Ltd. company private, proprietary, and trade secret property and # are protected by international intellectual property laws and treaties. # # $Id$ # include ../config.in include ../config.mk VERSION=1.4 # CC = gcc CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\" CFLAGS = -Wall -g # LD = gcc LDFLAGS = -g LDLIBS = ifeq ($(CONFIG_KERNEL_2_6_36),y) LDFLAGS += -lgcc_s endif install: picocom install -D picocom $(TARGETDIR)/usr/sbin/picocom $(STRIP) $(TARGETDIR)/usr/sbin/picocom picocom : picocom.o term.o # $(LD) $(LDFLAGS) -o $@ $+ $(LDLIBS) picocom.o : picocom.c term.h term.o : term.c term.h doc : picocom.8 picocom.8.html picocom.8.ps changes : svn log -v . > CHANGES picocom.8 : picocom.8.xml xmlmp2man < $< > $@ picocom.8.html : picocom.8.xml xmlmp2html < $< > $@ picocom.8.ps : picocom.8 groff -mandoc -Tps $< > $@ clean: rm -f picocom.o term.o rm -f *~ rm -f \#*\# distclean: clean rm -f picocom realclean: distclean rm -f picocom.8 rm -f picocom.8.html rm -f picocom.8.ps rm -f CHANGES