Something went wrong on our end
Select Git revision
resonator.py
-
Gamelin Alexis authoredGamelin Alexis authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Makefile 2.04 KiB
#=============================================================================
#
# file : Makefile.h
#
# description : Include for the AcquireWaveformLecroy class.
#
# project : Makefile to generate a Tango server
#
# $Author: xavela $
#
# $Revision: 1.4 $
#
# $Log: not supported by cvs2svn $
# Revision 1.3 2004/10/07 09:21:19 xavela
# xavier : no cout now.
#
# Revision 1.2 2004/10/05 13:11:11 xavela
# Xavier : previous commit failed.
#
# Revision 1.1.1.1 2004/09/29 15:42:14 syldup
# Initial import.
#
#
# copyleft : European Synchrotron Radiation Facility
# BP 220, Grenoble 38043
# FRANCE
#
#=============================================================================
# This file is generated by POGO
# (Program Obviously used to Generate tango Object)
#
# (c) - Software Engineering Group - ESRF
#=============================================================================
#
ifdef _solaris
CC = CC
BIN_DIR = solaris7_CC
endif
ifdef linux
CC = c++
AR = ar
BIN_DIR = suse72
endif
TANGO_HOME = /segfs/tango
INCLUDE_DIRS = -I$(TANGO_HOME)/include/$(BIN_DIR) -I.
LIB_DIRS = -L $(TANGO_HOME)/lib/$(BIN_DIR)
ifdef _solaris
CXXFLAGS = -mt -D_PTHREADS $(INCLUDE_DIRS)
LFLAGS = -g $(LIB_DIRS) \
-ltango \
-llog4tango \
-lomniORB4 \
-lomniDynamic4 \
-lomnithread \
-lpthread \
-lposix4 -lsocket -lnsl
endif
ifdef linux
CXXFLAGS = -g -D_REENTRANT $(INCLUDE_DIRS)
LFLAGS = -g $(LIB_DIRS) \
-ltango \
-llog4tango \
-lomniORB4 \
-lomniDynamic4 \
-lomnithread \
-ldl -lpthread
endif
CLASS = AcquireWaveformLecroy
SVC_OBJS = main.o \
ClassFactory.o \
$(CLASS)Class.o \
$(CLASS).o
SVC_INC = $(CLASS)Class.h \
$(CLASS).h
%.o: %.cpp $(SVC_INC)
$(CC) $(CXXFLAGS) -c $<
all: $(CLASS)
$(CLASS): $(SVC_OBJS)
$(CC) $(SVC_OBJS) -o $(CLASS) $(LFLAGS)
clean:
rm -f *.o $(CLASS) core
install:
cp $(CLASS) $(TANGO_HOME)/bin/$(BIN_DIR)