From 3dfb4cefed51c9cc4dd5879bfe63cc835aaf1568 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Tue, 15 Jan 2013 00:41:33 +0100 Subject: add libiniparser c++ library wrapper needed to use the functions of the c library Signed-off-by: Manuel Traut --- io/bin/generic_gpio/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'io/bin/generic_gpio/Makefile') diff --git a/io/bin/generic_gpio/Makefile b/io/bin/generic_gpio/Makefile index b3e04ff..0528035 100644 --- a/io/bin/generic_gpio/Makefile +++ b/io/bin/generic_gpio/Makefile @@ -13,6 +13,7 @@ LDFLAGS += -L$(DISTRIO_COMMON) -ldistrio_common \ -L$(DISTRIO_IO) -ldistrio_io \ -L$(DISTRIO_MANAGER) -ldistrio_manager \ -lACE -lTAO -lTAO_AnyTypeCode -lTAO_CosNaming -lTAO_PortableServer \ + -L. -lini \ -lrt CFLAGS += -fPIC -I$(DISTRIO_COMMON) -I$(DISTRIO_IO) -I$(DISTRIO_MANAGER) CXXFLAGS += $(CFLAGS) @@ -24,6 +25,7 @@ EXEC = $(COMPONENT) OBJ = generic_gpio.o all: $(OBJ) + $(CC) --shared -o libini.so -fPIC ini.c -liniparser $(LD) $(LDFLAGS) -o $(EXEC) $(OBJ) clean: -- cgit v1.2.3