[libgda/LIBGDA_5.0] Misc compilation related issues fixed



commit 4a7aab8cb874bade2ca918e442e30fc625316029
Author: Vivien Malerba <malerba gnome-db org>
Date:   Tue Jun 4 21:23:35 2013 +0200

    Misc compilation related issues fixed

 providers/mdb/libmdb-src/include/config.h |    1 +
 samples/LdapBrowser/Makefile              |   12 ++++++++++++
 samples/SimpleUIForm/Makefile             |   15 +++++++++++++++
 samples/WritableSelect/Makefile           |   13 +++++++++++++
 tools/browser/doc/gda-browser-docs.sgml   |    2 +-
 5 files changed, 42 insertions(+), 1 deletions(-)
---
diff --git a/providers/mdb/libmdb-src/include/config.h b/providers/mdb/libmdb-src/include/config.h
new file mode 100644
index 0000000..710cecc
--- /dev/null
+++ b/providers/mdb/libmdb-src/include/config.h
@@ -0,0 +1 @@
+/* Empty */
diff --git a/samples/LdapBrowser/Makefile b/samples/LdapBrowser/Makefile
new file mode 100644
index 0000000..a924805
--- /dev/null
+++ b/samples/LdapBrowser/Makefile
@@ -0,0 +1,12 @@
+CFLAGS = -Wall -g -DGDA_DISABLE_DEPRECATED `pkg-config --cflags libgda-ui-5.0`
+LDFLAGS = `pkg-config --libs libgda-ui-5.0`
+
+all: ldap-browser
+
+ldap-browser: ldap-browser.c
+       $(CC) -o ldap-browser ldap-browser.c $(CFLAGS) $(LDFLAGS)
+
+clean:
+       rm -f *~
+       rm -f *.o
+       rm -f ldap-browser
diff --git a/samples/SimpleUIForm/Makefile b/samples/SimpleUIForm/Makefile
new file mode 100644
index 0000000..464c9b2
--- /dev/null
+++ b/samples/SimpleUIForm/Makefile
@@ -0,0 +1,15 @@
+CFLAGS = -Wall -g -DGDA_DISABLE_DEPRECATED `pkg-config --cflags libgda-ui-5.0`
+LDFLAGS = `pkg-config --libs libgda-ui-5.0`
+
+all: example-rw example-ro
+
+example-rw: example.c
+       $(CC) -o example-rw example.c $(CFLAGS) -DWRITABLE $(LDFLAGS)
+
+example-ro: example.c
+       $(CC) -o example-ro example.c $(CFLAGS) $(LDFLAGS)
+
+clean:
+       rm -f *~
+       rm -f *.o
+       rm -f example-r*
diff --git a/samples/WritableSelect/Makefile b/samples/WritableSelect/Makefile
new file mode 100644
index 0000000..bdeee96
--- /dev/null
+++ b/samples/WritableSelect/Makefile
@@ -0,0 +1,13 @@
+CFLAGS = -Wall -g -DGDA_DISABLE_DEPRECATED `pkg-config --cflags libgda-5.0`
+LDFLAGS = `pkg-config --libs libgda-5.0`
+
+all: example
+
+example: example.c
+       $(CC) -o example example.c $(CFLAGS) $(LDFLAGS)
+
+clean:
+       rm -f *~
+       rm -f *.o
+       rm -f example
+       rm -f example_db.db
diff --git a/tools/browser/doc/gda-browser-docs.sgml b/tools/browser/doc/gda-browser-docs.sgml
index de7cb6d..9efc1ad 100644
--- a/tools/browser/doc/gda-browser-docs.sgml
+++ b/tools/browser/doc/gda-browser-docs.sgml
@@ -161,7 +161,7 @@
 
   <part id="part_index">
     <title>Appendix</title>
-      <xi:include href="fdl-appendix.xml"/>
+      <xi:include href="fdl-appendix.sgml"/>
   </part>
 </book>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]