35 lines
802 B
Makefile
35 lines
802 B
Makefile
#
|
|
# Top Level EPICS Makefile
|
|
# by Matthew Needes and Mike Bordua
|
|
#
|
|
# Notes:
|
|
# The build, clean, install, and depends "commands" do not have
|
|
# their own dependency lists; they are instead handled by
|
|
# the build.%, clean.%, etc. dependencies.
|
|
#
|
|
# However, the release dependencies DOES require a complete
|
|
# install because the release.% syntax is illegal.
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
TOP=.
|
|
include $(TOP)/config/CONFIG_BASE
|
|
|
|
DIRS = src config
|
|
|
|
include $(TOP)/config/RULES_TOP
|
|
|
|
release:
|
|
@echo TOP: Creating Release...
|
|
@./MakeRelease ${TOP}
|
|
|
|
built_release: install
|
|
@echo TOP: Creating Fully Built Release...
|
|
@./MakeRelease ${TOP} -b
|
|
|
|
uninstall::
|
|
@DIR1=`pwd`;cd $(INSTALL_LOCATION);DIR2=`pwd`;cd $$DIR1;\
|
|
if [ "$$DIR1" != "$$DIR2" ]; then rm -fr $(INSTALL_LOCATION)/config; fi
|
|
|