## Process this file with automake to produce Makefile.in ## ## $Id: Makefile.am,v 1.2 2007/05/29 19:06:09 adeniz Exp $ ## ## automake input for the MicroNeil SNF4CGP distribution (top directory). ## ## Author: Alban Deniz ## ## Copyright (C) 2009 ARM Research Labs, LLC. ## See www.armresearch.com for the copyright terms. ## SUBDIRS = \ CodeDweller \ SNFMulti \ SNF4CGP \ SNF2Check \ SNFClient \ Scripts \ config_files doc_DATA = \ BUGS \ ChangeLog \ README \ TODO \ INSTALL \ COPYING EXTRA_DIST = \ $(doc_DATA) \ Makefile.am \ configure.ac \ Doc/AdminStyle.css \ Doc/GuideStyle.css \ Doc/DownLoad.gif \ Doc/DisabledDownLoad.gif \ Doc/default.html TEMP_DIR=CGPSNF-TEMP MOD_DIR=CGPSNF MOD_PATH=$(TEMP_DIR)/$(MOD_DIR) MOD_TARBALL=CGPSNF-$(VERSION)-MODULE.tar.gz module: rm -rf $(TEMP_DIR) mkdir $(TEMP_DIR) mkdir $(MOD_PATH) chmod 2770 $(MOD_PATH) mkdir $(MOD_PATH)/hold $(MOD_PATH)/Doc cp SNF4CGP/SNF4CGP $(MOD_PATH)/CGPSNF cp SNFClient/SNFClient $(MOD_PATH) cp SNF2Check/SNF2Check $(MOD_PATH) cp Scripts/getRulebase.sample $(MOD_PATH) cp Scripts/junkmsg.txt $(MOD_PATH) cp Scripts/cleanmsg.txt $(MOD_PATH) cp config_files/GBUdbIgnoreList.txt.sample $(MOD_PATH) cp config_files/snf_engine.xml.sample $(MOD_PATH) cp config_files/identity.xml.sample $(MOD_PATH) cp Doc/AdminStyle.css $(MOD_PATH)/Doc cp Doc/GuideStyle.css $(MOD_PATH)/Doc cp Doc/default.html $(MOD_PATH)/Doc cp Doc/DownLoad.gif $(MOD_PATH)/Doc cp Doc/DisabledDownLoad.gif $(MOD_PATH)/Doc chown -R root:mail $(MOD_PATH) (cd $(TEMP_DIR); tar czvf ../$(MOD_TARBALL) ./$(MOD_DIR)) rm -rf $(TEMP_DIR) @echo "Created the CommuniGate Pro module in $(MOD_TARBALL)"