diff options
| author | Manuel Traut <manut@mecka.net> | 2012-09-23 21:23:08 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2012-09-23 21:23:08 +0200 |
| commit | 2a81bd3d5cc7f6653adef9f6653ff4a20709b0d7 (patch) | |
| tree | b4b11094534907acb27272e4ea3c10cf6b75bda3 /clients/test/Makefile | |
| parent | bdf4c406cd80fe0e25df68ef98a8b626093290c4 (diff) | |
client/test: test client to lookup devices /functions etc
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'clients/test/Makefile')
| -rw-r--r-- | clients/test/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/clients/test/Makefile b/clients/test/Makefile new file mode 100644 index 0000000..7ceb0f0 --- /dev/null +++ b/clients/test/Makefile @@ -0,0 +1,38 @@ +CC := $(CROSS_COMPILE)gcc +CXX := $(CROSS_COMPILE)g++ +LD := $(CROSS_COMPILE)g++ + +DISTRIO_BASE = ../../ + +DISTRIO_MANAGER := $(DISTRIO_BASE)manager/lib +DISTRIO_IO := $(DISTRIO_BASE)io/lib +DISTRIO_COMMON := $(DISTRIO_BASE)common + +LDFLAGS += -L$(DISTRIO_COMMON) -ldistrio_common \ + -L$(DISTRIO_IO) -ldistrio_io \ + -L$(DISTRIO_MANAGER) -ldistrio_manager \ + -lrt -lACE -lTAO -lTAO_AnyTypeCode -lTAO_CosNaming -lTAO_PortableServer +CFLAGS += -g -fPIC -I$(DISTRIO_COMMON) -I$(DISTRIO_IO) -I$(DISTRIO_MANAGER) +CXXFLAGS += $(CFLAGS) + +DESTDIR := /usr + +COMPONENT = distrio_test +EXEC = $(COMPONENT) +OBJ = test.o + +all: $(OBJ) + $(LD) $(LDFLAGS) -o $(EXEC) $(OBJ) + +clean: + rm -f *.o + rm -f $(EXEC) + +install: all + cp -a $(EXEC) $(DESTDIR)/bin + +uninstall: + rm -f $(DESTDIR)/bin/$(EXEC) + +idl: + /bin/true |
