summaryrefslogtreecommitdiffabout
path: root/src/Makefile.am
authorMichael Krelin <hacker@klever.net>2009-03-08 20:09:21 (UTC)
committer Michael Krelin <hacker@klever.net>2009-03-08 20:09:21 (UTC)
commitaadaa8b5d7eda23e72dbded9d6437b40358353f3 (patch) (side-by-side diff)
tree0bff6fdde1e2b9be02b48aaf7d03f095604718e1 /src/Makefile.am
downloadiii-0.0.zip
iii-0.0.tar.gz
iii-0.0.tar.bz2
Inital commit to public repository0.0
Diffstat (limited to 'src/Makefile.am') (more/less context) (ignore whitespace changes)
-rw-r--r--src/Makefile.am32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..09f698e
--- a/dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,32 @@
+sbin_PROGRAMS=iiid
+noinst_HEADERS = \
+ eyefi.h \
+ eyekinfig.h eyetil.h \
+ eyefiworker.h
+
+AM_CPPFLAGS = ${CPPFLAGS_DEBUG} \
+ -DEYEKIN_CONF_DIR=\"${sysconfdir}/${PACKAGE}\"
+DEFAULT_INCLUDES = -I${top_builddir} -I${builddir} -I${srcdir}
+INCLUDES = ${MODULES_CFLAGS}
+
+iiid_SOURCES = iiid.cc \
+ eyekinfig.cc eyetil.cc \
+ eyefiservice.cc eyefiworker.cc
+nodist_iiid_SOURCES = \
+ ${builddir}/soapC.cpp ${builddir}/soapeyefiService.cpp \
+ COPYING.cc
+iiid_LDADD = ${MODULES_LIBS}
+
+COPYING.cc: ${top_srcdir}/COPYING
+ echo "const char * COPYING = " >$@ || (rm $@;exit 1)
+ sed -e 's/"/\\"/g' -e 's/^/\"/' -e 's/$$/\\n\"/' $< >>$@ || (rm $@;exit 1)
+ echo ';' >>$@ || (rm $@;exit 1)
+
+${srcdir}/eyefiservice.cc: ${builddir}/soapeyefiService.h
+${srcdir}/iiid.cc: ${builddir}/eyefi.nsmap
+
+${builddir}soapC.cpp ${builddir}/soapeyefiService.cpp ${builddir}/eyefi.nsmap ${builddir}/soapeyefiService.h: ${srcdir}/eyefi.h
+ ${SOAPCPP2} -d${builddir} -S -L -a -i -w -x $<
+
+clean-local:
+ rm -f soap{{H,Stub,eyefiService}.h,{C,eyefiService}.cpp} eyefi.nsmap COPYING.cc