- tms-old
- tms
- libTms
- Makefile
This file ( 2kB ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
################################################################################
# Makefile
# T.Barnaby, BEAM Ltd, 2006-12-07
# updated by D.Korchagin, CERN AB-BI-SW, 2007-08-31
################################################################################
#
TOP = ..
include $(TOP)/Makefile.config
%D.cc %D.h: %.idl
$(BIDL) -m bdata $<
%C.cc %C.h: %.idl
$(BIDL) $<
%S.cc %S.h: %.idl
$(BIDL) $<
%T.cc %T.h: %.idl
$(BIDL) $<
BIDL = ../beam/bidl/bidl
INCLUDES = TmsD.h TmsC.h TmsS.h TmsLib.h SigGen.h TmsEventServerList.h TmsCycleParam.h
OBJS = TmsD$(DARCH).o TmsC$(DARCH).o TmsS$(DARCH).o TmsLib$(DARCH).o SigGen$(DARCH).o TmsEventServerList$(DARCH).o TmsCycleParam$(DARCH).o
TESTPROGS = test1 test2
# General
all: libTms$(DARCH).a TmsD.cc TmsC.cc TmsS.cc TmsT.cc
mkdir -p $(SRCINCDIR)
cp $(CPFLAGS) $(INCLUDES) $(SRCINCDIR)
mkdir -p $(SRCLIBDIR)
cp libTms$(DARCH).a $(SRCLIBDIR)/libTms.a
install:
mkdir -p $(INCDIR)
cp $(INCLUDES) $(INCDIR)
mkdir -p $(LIBDIR)
cp libTms$(DARCH).a $(LIBDIR)/libTms.a
#depend:
# makedepend -fMakefile.depend $(DFLAGS) *.cpp 2> /dev/null
clean:
rm -f *$(DARCH).o *$(DARCH).a *.so $(TESTPROGS) bidl.i *.txt
cleanAll:
rm -f *$(DARCH).o *$(DARCH).a *.so $(TESTPROGS) Tms[DCST].h Tms[DCST].cc bidl.i
libTms$(DARCH).a: $(OBJS)
rm -f libTms$(DARCH).a
ar cq libTms$(DARCH).a $(OBJS)
test1: test1$(DARCH).o libTms$(DARCH).a
$(LINK.cc) $(LDFLAGS) -o test1 test1$(DARCH).o libTms$(DARCH).a $(LDLIBS)
test2: TmsCycleParam.cc
$(LINK.cc) $(LDFLAGS) -o test2 $(CXXFLAGS) -DTESTBUILD TmsCycleParam.cc libTms$(DARCH).a $(LDLIBS)
include Makefile.depend