blob: d4f0594378e76d245dd1408cca8b2e853836b3c4 (
plain)
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
|
CC := $(CROSS_COMPILE)gcc
CXX := $(CROSS_COMPILE)g++
LD := $(CROSS_COMPILE)g++
TAO_IDL := tao_idl
DESTDIR := /usr
LIB = libdistrio_common.so
OBJ = commonC.o common.o commonS.o
IDL_CLEANFILES = commonC.cpp commonC.inl commonI.h commonS.h commonC.h \
commonS.cpp
all: idl $(OBJ)
$(LD) -shared -o $(LIB) $(OBJ)
idl:
$(TAO_IDL) -GI -I../interfaces ../interfaces/common.idl
rm -f commonI.cpp
idl_clean:
rm -f $(IDL_CLEANFILES)
clean: idl_clean
rm -f $(LIB)
install: all
cp -a $(LIB) $(DESTDIR)/lib
uninstall:
rm -f $(DESTDIR)/lib/$(LIB)
|