# We build in a separate dir from the source files. This is either # * the default build dir (build/) # * user specified by running configure from another directory # The build dir is initialized from the template in the mk/ tree. # This file is just a redirect to the default build dir in case # ./configure is executed in the project root. include build/Makefile.defs # this wont work on a system without pf installed # need to make install after libpf, or all_install .PHONY: all install clean mrproper test local TAGS bootstrap # build stuff all: $(MAKE) -C build all install: $(MAKE) -C build install uninstall: $(MAKE) -C build uninstall clean: $(MAKE) -C build clean debian/rules clean rm -f debian/changelog rm -f doc/*~ www/*~ mrproper: $(MAKE) -C build mrproper rm -rf packetforth-* packetforth_* test: $(MAKE) -C build test local: $(MAKE) -C build local cleandep: $(MAKE) -C build cleandep cleansrc: find . -name '*~' -exec rm '{}' ';' etags: etags --language=auto \ pf/*.h \ libpf/*.c \ tools/*.c \ plugins/*/*.c \ plugins/*/*.h bootstrap: sh bootstrap # create a snapshot tarball with date as version number snapshot: bin/dist-snapshot -d # like snapshot, but create debian source and binary packages snapshot-deb: bin/make-debs