Make GetTPDU its own function
[bcusdk.git] / eibd / client / c / Makefile.am
blob88825a2abea657f29e9d2b737db792fe3d60b8e3
2 HEADER=eibclient-int.h
3 NATIVE=close.c  closesync.c  complete.c  io.c  openlocal.c  openremote.c  openurl.c  pollcomplete.c  pollfd.c
5 FUNCS= \
6   gen/getapdu.c              gen/loadimage.c         gen/mcpropertyread.c   gen/mprogmodeoff.c              gen/opentconnection.c \
7   gen/getapdusrc.c           gen/mcauthorize.c       gen/mcpropertyscan.c   gen/mprogmodeon.c               gen/opentgroup.c \
8   gen/getbusmonitorpacket.c  gen/mcconnect.c         gen/mcpropertywrite.c  gen/mprogmodestatus.c           gen/opentindividual.c \
9   gen/getgroupsrc.c          gen/mcgetmaskversion.c  gen/mcreadadc.c        gen/mprogmodetoggle.c           gen/openttpdu.c \
10   gen/groupcacheclear.c      gen/mcgetpeitype.c      gen/mcread.c           gen/mreadindividualaddresses.c  gen/openvbusmonitor.c \
11   gen/groupcachedisable.c    gen/mcprogmodeoff.c     gen/mcrestart.c        gen/mwriteindividualaddress.c   gen/openvbusmonitortext.c \
12   gen/groupcacheenable.c     gen/mcprogmodeon.c      gen/mcsetkey.c         gen/openbusmonitor.c            gen/reset.c \
13   gen/groupcacheread.c       gen/mcprogmodestatus.c  gen/mcwrite.c          gen/openbusmonitortext.c        gen/sendapdu.c \
14   gen/groupcachereadsync.c   gen/mcprogmodetoggle.c  gen/mcwriteplain.c     gen/opengroupsocket.c           gen/sendgroup.c \
15   gen/groupcacheremove.c     gen/mcpropertydesc.c    gen/mgetmaskversion.c  gen/opentbroadcast.c            gen/sendtpdu.c \
16   gen/gettpdu.c
18 BUILT_SOURCES=$(FUNCS)
19 CLEANFILES=$(FUNCS)
21 gen/%.c : Makefile
22         mkdir -p gen
23         echo '#include "c/eibclient-int.h"' > $@ 
24         echo '#include "def/'`basename $@|sed -e "s/\.c/.inc/g"`'"' >> $@
26 lib_LIBRARIES=libeibclient.a
27 AM_CPPFLAGS=-I$(top_srcdir)/eibd/include -I$(top_srcdir)/common -I$(top_srcdir)/eibd/client
28 libeibclient_a_SOURCES= $(NATIVE) $(FUNCS) $(HEADER)