-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
44 lines (37 loc) · 1.08 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# EPICS R3.14 Makefile for the Channel Archiver
TOP=.
include $(TOP)/configure/CONFIG
DIRS += Tools
DIRS += LibIO
DIRS += Storage
DIRS += IndexTool
DIRS += Export
DIRS += XMLRPCServer
DIRS += Engine
DIRS += DataTool
DIRS += Manager
include $(TOP)/configure/RULES_DIRS
distclean: clean
# What's test code?
# I use *Test*, as well as the Ordered Mutex,
# Guard class
stats:
@echo -n "Lines of Code (C++) :"
@wc -l */*.h */*.cpp | fgrep total
@echo -n "Lines of Test Code (C++, shell) :"
@wc -l */*Test*.h */*Test*.cpp */test.sh | fgrep total
@echo -n "Lines of Documentation Source :"
@wc -l manual/*.tex | fgrep total
tests:
cd Tools; $(MAKE) test
cd Storage; $(MAKE) test
cd Export; $(MAKE) test
cd XMLRPCServer; $(MAKE) test
cd IndexTool; $(MAKE) test
#cd DemoData; sh test.sh
#cd Engine; sh test.sh
tgz:
if [ -d /tmp/ChannelArchiver ];then exit 1;fi
cd /tmp;cvs -d :ext:@ics-srv01.sns.ornl.gov:/sns/ADE/cvsroot get -d ChannelArchiver epics/supTop/extensions/1.1/src/ChannelArchiver
cd /tmp/ChannelArchiver;cvs update -d -P
cd /tmp;tar vzcf archiver.tgz ChannelArchiver