1sbin_PROGRAMS=mfsnetdump 2 3AM_CPPFLAGS=-I$(top_srcdir)/mfscommon -I$(top_srcdir)/mfsnetdump -I. 4 5mfsnetdump_SOURCES=\ 6 mfsnetdump.c \ 7 commands.h \ 8 ../mfscommon/MFSCommunication.h 9 10commands.h: ../mfscommon/MFSCommunication.h 11 @echo " CONV commands" 12 @cat ../mfscommon/MFSCommunication.h | grep '^#define [A-Z][A-Z]TO[A-Z][A-Z]' | grep -v MAXPACKETSIZE | awk '{ printf "{%s,\"%s\"},\n",$$2,$$2; }' > commands.h 13 14clean:clean-am 15 -rm -f commands.h 16 17distclean:distclean-am 18 -rm -f commands.h 19 -rm -rf ./$(DEPDIR) 20 -rm -f Makefile 21 22mfsnetdump_CFLAGS= 23