summaryrefslogtreecommitdiff
path: root/io/bin/generic_gpio/Makefile
diff options
context:
space:
mode:
authorManuel Traut <manut@mecka.net>2013-01-15 00:41:33 +0100
committerManuel Traut <manut@mecka.net>2013-01-15 00:41:33 +0100
commit3dfb4cefed51c9cc4dd5879bfe63cc835aaf1568 (patch)
tree37c5eaed7e9803b98250a2113e9278c2a313c1e2 /io/bin/generic_gpio/Makefile
parentf8b3b3b854ad05329c73d5b98fa24916a270de65 (diff)
add libiniparser c++ library wrapper
needed to use the functions of the c library Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'io/bin/generic_gpio/Makefile')
-rw-r--r--io/bin/generic_gpio/Makefile2
1 files changed, 2 insertions, 0 deletions
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: