diff options
| author | Manuel Traut <manut@mecka.net> | 2012-06-02 17:21:54 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2012-06-02 17:21:54 +0200 |
| commit | 3fc5a341321c4c042bb464dbb1f62856fc2d31a4 (patch) | |
| tree | 1727a81eab338c3c4773b43d417b4f94668beb60 /common/Makefile | |
| parent | 844056b16ff8557c72138f920d57e4ce833b204a (diff) | |
Makefiles and skeletons for common and manager
- idl compiler is called
- add skeletons for libdistrio_common
- add skeletons for manager
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'common/Makefile')
| -rw-r--r-- | common/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile new file mode 100644 index 0000000..d4f0594 --- /dev/null +++ b/common/Makefile @@ -0,0 +1,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) |
