summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2011-01-02 12:51:40 +0100
committerHenrik Rydberg <rydberg@euromail.se>2011-01-02 12:51:40 +0100
commitfdb957e95052b7c4ea32ab72b9efe5836133df7f (patch)
tree38ed1e3bef7b16b19f46adb656a192ee3051eeab
parentc0666a895e7fe8e488332263fd106ced0ed7cab7 (diff)
Only export the intended grail symbols
In the making of grail1, the intention was never that the gin, gru and touch symbols be exported. Rectify this by adding an explicit symbols file used during linking. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
-rw-r--r--configure.ac1
-rw-r--r--src/Makefile.am1
-rw-r--r--utouch-grail.sym.in13
3 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ceb9258..a705d57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,5 +30,6 @@ AC_CONFIG_FILES([Makefile
30 src/Makefile 30 src/Makefile
31 tools/Makefile 31 tools/Makefile
32 test/Makefile 32 test/Makefile
33 utouch-grail.sym
33 utouch-grail.pc]) 34 utouch-grail.pc])
34AC_OUTPUT 35AC_OUTPUT
diff --git a/src/Makefile.am b/src/Makefile.am
index bb1c4c5..855d428 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,6 +2,7 @@ lib_LTLIBRARIES = libutouch-grail.la
2 2
3libutouch_grail_la_LDFLAGS = \ 3libutouch_grail_la_LDFLAGS = \
4 -version-info @LIB_VERSION@ \ 4 -version-info @LIB_VERSION@ \
5 -export-symbols ../utouch-grail.sym \
5 -lm \ 6 -lm \
6 $(MTDEV_LIBS) \ 7 $(MTDEV_LIBS) \
7 $(EVEMU_LIBS) \ 8 $(EVEMU_LIBS) \
diff --git a/utouch-grail.sym.in b/utouch-grail.sym.in
new file mode 100644
index 0000000..e2039ff
--- /dev/null
+++ b/utouch-grail.sym.in
@@ -0,0 +1,13 @@
1grail_close
2grail_filter_abs_events
3grail_get_contacts
4grail_get_units
5grail_idle
6grail_mask_clear_mask
7grail_mask_count
8grail_mask_get_first
9grail_mask_get_next
10grail_mask_set_mask
11grail_open
12grail_pull
13grail_set_bbox