################################################################################ # Makefile for Boapns # T.Barnaby, BEAM Ltd, 4/3/05 # updated by D.Korchagin, CERN AB-BI-SW, 2007-08-31 ################################################################################ # TOP = ../.. include $(TOP)/Makefile.config export LD_LIBRARY_PATH=$(LIBDIR) PROGS = boapns boapnsc OBJS = BoapnsD$(DARCH).o BoapnsC$(DARCH).o BoapnsS$(DARCH).o BIDL = ../bidl/bidl LDLIBS += -lpthread all: idl $(PROGS) install: all mkdir -p $(BINDIR) install $(PROGS) $(BINDIR) mkdir -p $(SYSETCDIR)/rc.d/init.d install boapns.rc $(SYSETCDIR)/rc.d/init.d/boapns includes: libs: clean: rm -f *$(DARCH).o *$(DARCH).a *.mo $(PROGS) Boapns[SCDT].* bidl.i idl: $(OBJS) boapns: boapns$(DARCH).o $(OBJS) boapnsc: boapnsc$(DARCH).o $(OBJS) $(LINK.cc) $(LDFLAGS) -o $@ $< BoapnsD$(DARCH).o BoapnsC$(DARCH).o $(LDLIBS) BoapnsD.h: Boapns.idl $(BIDL) -m bdata Boapns.idl BoapnsD.cc: Boapns.idl $(BIDL) -m bdata Boapns.idl BoapnsC.h: Boapns.idl $(BIDL) Boapns.idl BoapnsC.cc: Boapns.idl $(BIDL) Boapns.idl BoapnsS.h: Boapns.idl $(BIDL) Boapns.idl BoapnsS.cc: Boapns.idl $(BIDL) Boapns.idl