compile gui plugins with -fvisibility=hidden
authorpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 11 Jul 2007 00:42:00 +0000 (00:42 +0000)
committerpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 11 Jul 2007 00:42:00 +0000 (00:42 +0000)
define new __EXPORT to mark a function visible outside the plugin
add __EXPORT on appropriate symbols in gui plugins

git-svn-id: http://ltt.polymtl.ca/svn@2549 04897980-b3bd-0310-b5e0-8ef037075253

19 files changed:
ltt/branches/poly/ltt/compiler.h
ltt/branches/poly/lttv/Makefile.am
ltt/branches/poly/lttv/modules/gui/controlflow/Makefile.am
ltt/branches/poly/lttv/modules/gui/detailedevents/Makefile.am
ltt/branches/poly/lttv/modules/gui/diskperformance/Makefile.am
ltt/branches/poly/lttv/modules/gui/filter/Makefile.am
ltt/branches/poly/lttv/modules/gui/histogram/Makefile.am
ltt/branches/poly/lttv/modules/gui/interrupts/Makefile.am
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/Makefile.am
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/init_module.c
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttv_plugin.c
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttv_plugin_tab.c
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindowtraces.c
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/support.c
ltt/branches/poly/lttv/modules/gui/statistics/Makefile.am
ltt/branches/poly/lttv/modules/gui/tracecontrol/Makefile.am
ltt/branches/poly/lttv/modules/gui/tutorial/Makefile.am

index 1ab188f871a4e21ba5fd370c7b39e7c4ed4b7df2..2b496a88b70824b065461db08da1f2ca699161d5 100644 (file)
@@ -48,5 +48,6 @@
    ((gint32)(b) - (gint32)(a) <= 0))
 #define guint32_before_eq(a,b)  guint32_after_eq(b,a)
 
+#define __EXPORT __attribute__ ((visibility ("default")))
 
 #endif //COMPILER_H
index 8370b90af5cb6604b9916a66d9251bc6e6aa9b1f..8e473bb2459e2c8db5ca81b5205f402243de2cde 100644 (file)
@@ -2,3 +2,4 @@
 # themselves to libraries compiled here but not installed in the system.
 SUBDIRS = lttv modules
 
+modules_CFLAGS = -fvisibility=hidden
index 82e3054913849513f27c65d87523f7271fdcd5cd..cd98834a5464cb5f9ddee240aafc7ffff86a3d34 100644 (file)
@@ -24,6 +24,7 @@
 
 AM_CFLAGS = $(GLIB_CFLAGS) 
 AM_CFLAGS += $(GTK_CFLAGS)
+AM_CFLAGS += -fvisibility=hidden
 LIBS += $(GLIB_LIBS)
 LIBS += $(GTK_LIBS) -L${top_builddir}/lttv/modules/gui/lttvwindow/lttvwindow -llttvwindow
 
index a4220687c1157955e128c1fb5c018e13821e9d2c..20cfacef40a940660722317f323486f0390482a8 100644 (file)
@@ -25,6 +25,7 @@
 
 AM_CFLAGS = $(GLIB_CFLAGS) 
 AM_CFLAGS += $(GTK_CFLAGS)
+AM_CFLAGS += -fvisibility=hidden
 LIBS += $(GLIB_LIBS)
 LIBS += $(GTK_LIBS) -L${top_builddir}/lttv/modules/gui/lttvwindow/lttvwindow -llttvwindow
 
index 06d29d88909fdfd2d69854239f24cdc0ebd01fcb..572c17403585ba24e2ce7e73a2c5d6d2b167413d 100644 (file)
@@ -25,6 +25,7 @@
 
 AM_CFLAGS = $(GLIB_CFLAGS) 
 AM_CFLAGS += $(GTK_CFLAGS)
+AM_CFLAGS += -fvisibility=hidden
 LIBS += $(GLIB_LIBS)
 LIBS += $(GTK_LIBS) -L${top_builddir}/lttv/modules/gui/lttvwindow/lttvwindow -llttvwindow
 
index 691c46075e2576da7b62afd72861dacf4a4c8b16..89819a25633378ecf36e83102445fa603c55b499 100644 (file)
@@ -6,6 +6,7 @@
 
 AM_CFLAGS = $(GLIB_CFLAGS) 
 AM_CFLAGS += $(GTK_CFLAGS)
+AM_CFLAGS += -fvisibility=hidden
 LIBS += $(GLIB_LIBS)
 LIBS += $(GTK_LIBS) -L${top_builddir}/lttv/modules/gui/lttvwindow/lttvwindow -llttvwindow
 
index 0003d500e38d9509c3bd1e48808e68a67f6910cc..3cb65bb925d88b49f6c221ae21c63cfd817d09af 100644 (file)
@@ -25,6 +25,7 @@
 
 AM_CFLAGS = $(GLIB_CFLAGS) 
 AM_CFLAGS += $(GTK_CFLAGS)
+AM_CFLAGS += -fvisibility=hidden
 LIBS += $(GLIB_LIBS)
 LIBS += $(GTK_LIBS) -L${top_builddir}/lttv/modules/gui/lttvwindow/lttvwindow -llttvwindow
 
index 2f9b2ea0aa0375b85e925275259e3a6b606bb1a2..00c1d8f7319a35e7222d5994c381f2ae1b99bdc0 100644 (file)
@@ -25,6 +25,7 @@
 
 AM_CFLAGS = $(GLIB_CFLAGS) 
 AM_CFLAGS += $(GTK_CFLAGS)
+AM_CFLAGS += -fvisibility=hidden
 LIBS += $(GLIB_LIBS)
 LIBS += $(GTK_LIBS) -L${top_builddir}/lttv/modules/gui/lttvwindow/lttvwindow -llttvwindow
 
index bb4263ac259c6b78249ad534222657f64795f890..243bd4f7a19d2dce05ae285887aa4e0ea33db9ce 100644 (file)
@@ -2,6 +2,7 @@
 
 AM_CFLAGS = $(GLIB_CFLAGS) 
 AM_CFLAGS += $(GTK_CFLAGS)
+AM_CFLAGS += -fvisibility=hidden
 LIBS += $(GLIB_LIBS)
 LIBS += $(GTK_LIBS)
 
index 98f58d60a7845ccdb7fb71a52abac55d3f2d7a44..495a84c96d01cb5615eb0f760e2872d94abfdd82 100644 (file)
@@ -4852,7 +4852,7 @@ gboolean execute_events_requests(Tab *tab)
 }
 
 
-void create_main_window_with_trace_list(GSList *traces)
+__EXPORT void create_main_window_with_trace_list(GSList *traces)
 {
   GSList *iter = NULL;
 
index 1e2da6a348a3020c3a45f8fa262dfb36a033e04a..c964481db12e80244a2c56523bc765c002ea72b5 100644 (file)
@@ -49,7 +49,8 @@
 #include <ltt/trace.h>
 
 
-LttvTraceInfo LTTV_TRACES,
+__EXPORT LttvTraceInfo
+       LTTV_TRACES,
        LTTV_COMPUTATION,
        LTTV_VIEWER_CONSTRUCTORS,
        LTTV_REQUESTS_QUEUE,
index 32eb60b026a8f0114c6ca5a751bb4adb95c7b15a..f7b4ded4f6c6b39deaf54d4cc21f748d52a0dc19 100644 (file)
@@ -63,7 +63,7 @@ lttv_plugin_get_type (void)
 
 
 /* implementation in the source file */
-void lttv_plugin_update_filter (LttvPlugin *self, LttvFilter *filter)
+__EXPORT void lttv_plugin_update_filter (LttvPlugin *self, LttvFilter *filter)
 {
   LTTV_PLUGIN_GET_CLASS (self)->update_filter (self, filter);
 }
index 4571f65342aee981af79ce5494801c6f8edde6cd..2e64138766d9e7573465abedf137917dbaeece0c 100644 (file)
@@ -57,7 +57,7 @@ lttv_plugin_tab_init (GTypeInstance *instance, gpointer g_class)
 }
 
 
-GType
+__EXPORT GType
 lttv_plugin_tab_get_type (void)
 {
   static GType type = 0;
index 7d318245d6cda3d4d40176f3fb6039839de3d624..268c8156f83c8647e926d4faeec7c18eeddb1109 100644 (file)
@@ -51,7 +51,7 @@
 
 extern GSList * g_main_window_list;
 
-gint lttvwindow_preempt_count = 0;
+__EXPORT gint lttvwindow_preempt_count = 0;
 
 /* set_time_window 
  *
@@ -263,7 +263,7 @@ void remove_menu_constructor(MainWindow *mw, lttvwindow_viewer_constructor viewe
  * @param view_constructor constructor of the viewer. 
  */
 
-void lttvwindow_register_constructor
+__EXPORT void lttvwindow_register_constructor
                             (char *  name,
                              char *  menu_path, 
                              char *  menu_text,
@@ -339,7 +339,7 @@ void lttvwindow_register_constructor
  */
 
 
-void lttvwindow_unregister_constructor
+__EXPORT void lttvwindow_unregister_constructor
                   (lttvwindow_viewer_constructor view_constructor)
 {
   LttvIAttribute *attributes_global = LTTV_IATTRIBUTE(lttv_global_attributes());
@@ -403,7 +403,7 @@ void lttvwindow_unregister_constructor
  * @param hook hook function of the viewer.
  * @param hook_data hook data associated with the hook function.
  */
-void lttvwindow_register_time_window_notify(Tab *tab,
+__EXPORT void lttvwindow_register_time_window_notify(Tab *tab,
     LttvHook hook, gpointer hook_data)
 {
   LttvAttributeValue value;
@@ -427,7 +427,7 @@ void lttvwindow_register_time_window_notify(Tab *tab,
  * @param hook_data hook data associated with the hook function.
  */
 
-void lttvwindow_unregister_time_window_notify(Tab *tab,
+__EXPORT void lttvwindow_unregister_time_window_notify(Tab *tab,
     LttvHook hook, gpointer hook_data)
 {
   LttvAttributeValue value;
@@ -447,7 +447,7 @@ void lttvwindow_unregister_time_window_notify(Tab *tab,
  * @param hook_data hook data associated with the hook function.
  */
 
-void lttvwindow_register_traceset_notify(Tab *tab,
+__EXPORT void lttvwindow_register_traceset_notify(Tab *tab,
     LttvHook hook, gpointer hook_data)
 {
   LttvAttributeValue value;
@@ -471,7 +471,7 @@ void lttvwindow_register_traceset_notify(Tab *tab,
  * @param hook_data hook data associated with the hook function.
  */
 
-void lttvwindow_unregister_traceset_notify(Tab *tab,
+__EXPORT void lttvwindow_unregister_traceset_notify(Tab *tab,
               LttvHook hook, gpointer hook_data)
 {
   LttvAttributeValue value;
@@ -491,7 +491,7 @@ void lttvwindow_unregister_traceset_notify(Tab *tab,
  * @param hook_data hook data associated with the hook function.
  */
 
-void lttvwindow_register_redraw_notify(Tab *tab,
+__EXPORT void lttvwindow_register_redraw_notify(Tab *tab,
     LttvHook hook, gpointer hook_data)
 {
   LttvAttributeValue value;
@@ -515,7 +515,7 @@ void lttvwindow_register_redraw_notify(Tab *tab,
  * @param hook_data hook data associated with the hook function.
  */
 
-void lttvwindow_unregister_redraw_notify(Tab *tab,
+__EXPORT void lttvwindow_unregister_redraw_notify(Tab *tab,
               LttvHook hook, gpointer hook_data)
 {
   LttvAttributeValue value;
@@ -541,7 +541,7 @@ void lttvwindow_unregister_redraw_notify(Tab *tab,
  * @param hook_data hook data associated with the hook function.
  */
 
-void lttvwindow_register_continue_notify(Tab *tab,
+__EXPORT void lttvwindow_register_continue_notify(Tab *tab,
     LttvHook hook, gpointer hook_data)
 {
   LttvAttributeValue value;
@@ -566,7 +566,7 @@ void lttvwindow_register_continue_notify(Tab *tab,
  * @param hook_data hook data associated with the hook function.
  */
 
-void lttvwindow_unregister_continue_notify(Tab *tab,
+__EXPORT void lttvwindow_unregister_continue_notify(Tab *tab,
               LttvHook hook, gpointer hook_data)
 {
   LttvAttributeValue value;
@@ -587,7 +587,7 @@ void lttvwindow_unregister_continue_notify(Tab *tab,
  * @param hook_data hook data associated with the hook function.
  */
 
-void lttvwindow_register_filter_notify(Tab *tab,
+__EXPORT void lttvwindow_register_filter_notify(Tab *tab,
       LttvHook hook, gpointer hook_data)
 {
   LttvAttributeValue value;
@@ -611,7 +611,7 @@ void lttvwindow_register_filter_notify(Tab *tab,
  * @param hook_data hook data associated with the hook function.
  */
 
-void lttvwindow_unregister_filter_notify(Tab *tab,
+__EXPORT void lttvwindow_unregister_filter_notify(Tab *tab,
                                          LttvHook hook,
                                          gpointer hook_data)
 {
@@ -632,7 +632,7 @@ void lttvwindow_unregister_filter_notify(Tab *tab,
  * @param hook_data hook data associated with the hook function.
  */
 
-void lttvwindow_register_current_time_notify(Tab *tab,
+__EXPORT void lttvwindow_register_current_time_notify(Tab *tab,
             LttvHook hook, gpointer hook_data)
 {
   LttvAttributeValue value;
@@ -656,7 +656,7 @@ void lttvwindow_register_current_time_notify(Tab *tab,
  * @param hook_data hook data associated with the hook function.
  */
 
-void lttvwindow_unregister_current_time_notify(Tab *tab,
+__EXPORT void lttvwindow_unregister_current_time_notify(Tab *tab,
             LttvHook hook, gpointer hook_data)
 {
   LttvAttributeValue value;
@@ -676,7 +676,7 @@ void lttvwindow_unregister_current_time_notify(Tab *tab,
  * @param hook_data hook data associated with the hook function.
  */
 
-void lttvwindow_register_current_position_notify(Tab *tab,
+__EXPORT void lttvwindow_register_current_position_notify(Tab *tab,
             LttvHook hook, gpointer hook_data)
 {
   LttvAttributeValue value;
@@ -700,7 +700,7 @@ void lttvwindow_register_current_position_notify(Tab *tab,
  * @param hook_data hook data associated with the hook function.
  */
 
-void lttvwindow_unregister_current_position_notify(Tab *tab,
+__EXPORT void lttvwindow_unregister_current_position_notify(Tab *tab,
             LttvHook hook, gpointer hook_data)
 {
   LttvAttributeValue value;
@@ -811,8 +811,8 @@ void lttvwindow_unregister_dividor(Tab *tab,
  * @param time_interval a pointer where time interval is stored.
  */
 
-void lttvwindow_report_time_window(Tab *tab,
-                                   TimeWindow time_window)
+__EXPORT void lttvwindow_report_time_window(Tab *tab,
+                                            TimeWindow time_window)
 {
   //set_time_window(tab, time_window);
   //set_time_window_adjustment(tab, time_window);
@@ -870,7 +870,7 @@ void lttvwindow_report_time_window(Tab *tab,
  * @param time a pointer where time is stored.
  */
 
-void lttvwindow_report_current_time(Tab *tab,
+__EXPORT void lttvwindow_report_current_time(Tab *tab,
                                     LttTime time)
 {
   LttvAttributeValue value;
@@ -887,7 +887,7 @@ void lttvwindow_report_current_time(Tab *tab,
  * @param time a pointer where time is stored.
  */
 
-void lttvwindow_report_current_position(Tab *tab,
+__EXPORT void lttvwindow_report_current_position(Tab *tab,
                                         LttvTracesetContextPosition *pos)
 {
   LttvAttributeValue value;
@@ -934,8 +934,8 @@ void lttvwindow_report_dividor(Tab *tab, gint position)
  * @param events_requested the structure of request from.
  */
 
-void lttvwindow_events_request(Tab *tab,
-                               EventsRequest  *events_request)
+__EXPORT void lttvwindow_events_request(Tab *tab,
+                                        EventsRequest  *events_request)
 {
   tab->events_requests = g_slist_append(tab->events_requests, events_request);
   
@@ -970,7 +970,7 @@ gint find_viewer (const EventsRequest *a, gconstpointer b)
 }
 
 
-void lttvwindow_events_request_remove_all(Tab       *tab,
+__EXPORT void lttvwindow_events_request_remove_all(Tab       *tab,
                                           gconstpointer   viewer)
 {
   GSList *element = tab->events_requests;
@@ -1011,7 +1011,7 @@ void lttvwindow_events_request_remove_all(Tab       *tab,
  * @return : TRUE is events requests are pending, else FALSE.
  */
 
-gboolean lttvwindow_events_request_pending(Tab            *tab)
+__EXPORT gboolean lttvwindow_events_request_pending(Tab            *tab)
 {
   GSList *element = tab->events_requests;
 
@@ -1029,7 +1029,7 @@ gboolean lttvwindow_events_request_pending(Tab            *tab)
  * @return time window.
  */
 
-TimeWindow lttvwindow_get_time_window(Tab *tab)
+__EXPORT TimeWindow lttvwindow_get_time_window(Tab *tab)
 {
   return tab->time_window;
 }
@@ -1043,7 +1043,7 @@ TimeWindow lttvwindow_get_time_window(Tab *tab)
  * @return time
  */
 
-LttTime lttvwindow_get_current_time(Tab *tab)
+__EXPORT LttTime lttvwindow_get_current_time(Tab *tab)
 {
   return tab->current_time;
 }
@@ -1055,7 +1055,7 @@ LttTime lttvwindow_get_current_time(Tab *tab)
  *
  * returns the current filter
  */
-LttvFilter *lttvwindow_get_filter(Tab *tab)
+__EXPORT LttvFilter *lttvwindow_get_filter(Tab *tab)
 {
   return g_object_get_data(G_OBJECT(tab->vbox), "filter");
 }
@@ -1094,13 +1094,12 @@ void lttvwindow_report_filter(Tab *tab, LttvFilter *filter)
  * @param tab viewer's tab 
  */
 
-LttvTracesetStats* lttvwindow_get_traceset_stats(Tab *tab)
+__EXPORT LttvTracesetStats* lttvwindow_get_traceset_stats(Tab *tab)
 {
   return tab->traceset_info->traceset_context;
 }
 
-
-LttvTracesetContext* lttvwindow_get_traceset_context(Tab *tab)
+__EXPORT LttvTracesetContext* lttvwindow_get_traceset_context(Tab *tab)
 {
   return (LttvTracesetContext*)tab->traceset_info->traceset_context;
 }
@@ -1148,7 +1147,7 @@ void events_request_free(EventsRequest *events_request)
 
 
 
-GtkWidget *main_window_get_widget(Tab *tab)
+__EXPORT GtkWidget *main_window_get_widget(Tab *tab)
 {
   return tab->mw->mwindow;
 }
index 87beead611324da1cad41ae51eb60b5320159f80..eb449f03f964daf94242d0ab39a2caa41c4122a1 100644 (file)
@@ -72,7 +72,7 @@ gboolean lttvwindowtraces_process_pending_requests(LttvTrace *trace);
  *         NULL is returned if the trace is not present
  */
 
-LttvTrace *lttvwindowtraces_get_trace_by_name(gchar *path)
+__EXPORT LttvTrace *lttvwindowtraces_get_trace_by_name(gchar *path)
 {
   guint i;
 
@@ -97,7 +97,7 @@ LttvTrace *lttvwindowtraces_get_trace_by_name(gchar *path)
 
 /* Get a trace by its number identifier */
 
-LttvTrace *lttvwindowtraces_get_trace(guint num)
+__EXPORT LttvTrace *lttvwindowtraces_get_trace(guint num)
 {
   LttvAttribute *g_attribute = lttv_global_attributes();
   LttvAttribute *attribute;
@@ -122,7 +122,7 @@ LttvTrace *lttvwindowtraces_get_trace(guint num)
 
 /* Total number of traces */
 
-guint lttvwindowtraces_get_number()
+__EXPORT guint lttvwindowtraces_get_number()
 {
   LttvAttribute *g_attribute = lttv_global_attributes();
   LttvAttribute *attribute;
@@ -316,7 +316,7 @@ static void destroy_dialog(BackgroundRequest *bg_req)
  *                    hooks.
  */
 
-void lttvwindowtraces_background_request_queue
+__EXPORT void lttvwindowtraces_background_request_queue
                      (GtkWidget *widget, LttvTrace *trace, gchar *module_name)
 {
   BackgroundRequest *bg_req;
@@ -433,7 +433,7 @@ void lttvwindowtraces_background_request_remove
  *
  */
 
-gboolean lttvwindowtraces_background_request_find
+__EXPORT gboolean lttvwindowtraces_background_request_find
                      (LttvTrace *trace, gchar *module_name)
 {
   LttvAttribute *attribute = lttv_trace_attribute(trace);
@@ -471,7 +471,7 @@ gboolean lttvwindowtraces_background_request_find
  * @param notify  Hook to call when the notify position is passed
  */
 
-void lttvwindowtraces_background_notify_queue
+__EXPORT void lttvwindowtraces_background_notify_queue
  (gpointer                     owner,
   LttvTrace                   *trace,
   LttTime                      notify_time,
@@ -525,7 +525,7 @@ void lttvwindowtraces_background_notify_queue
  * @param notify  Hook to call when the notify position is passed
  */
 
-void lttvwindowtraces_background_notify_current
+__EXPORT void lttvwindowtraces_background_notify_current
  (gpointer                     owner,
   LttvTrace                   *trace,
   LttTime                      notify_time,
@@ -586,7 +586,7 @@ static void notify_request_free(BackgroundNotify *notify_req)
  * @param owner owner of the background notification
  */
 
-void lttvwindowtraces_background_notify_remove(gpointer owner)
+__EXPORT void lttvwindowtraces_background_notify_remove(gpointer owner)
 {
   guint i;
 
@@ -872,7 +872,7 @@ void lttvwindowtraces_unset_in_progress(LttvAttributeName module_name,
                          LTTV_IN_PROGRESS);
 }
 
-gboolean lttvwindowtraces_get_in_progress(LttvAttributeName module_name,
+__EXPORT gboolean lttvwindowtraces_get_in_progress(LttvAttributeName module_name,
                                           LttvTrace *trace)
 {
   LttvAttribute *attribute = lttv_trace_attribute(trace);
@@ -923,7 +923,7 @@ void lttvwindowtraces_unset_ready(LttvAttributeName module_name,
                          LTTV_READY);
 }
 
-gboolean lttvwindowtraces_get_ready(LttvAttributeName module_name,
+__EXPORT gboolean lttvwindowtraces_get_ready(LttvAttributeName module_name,
                                     LttvTrace *trace)
 {
   LttvAttribute *attribute = lttv_trace_attribute(trace);
index fddd4cfe45ac930ebf45fa94ac546f548f41cec8..ce92ef053ff2ac84e72f175b8928ea34d13e8813 100644 (file)
 
 #include <gtk/gtk.h>
 
+#include <ltt/compiler.h>
+
 #include "support.h"
 
-GtkWidget*
+__EXPORT GtkWidget*
 lookup_widget                          (GtkWidget       *widget,
                                         const gchar     *widget_name)
 {
@@ -91,7 +93,7 @@ find_pixmap_file                       (const gchar     *filename)
 }
 
 /* This is an internally used function to create pixmaps. */
-GtkWidget*
+__EXPORT GtkWidget*
 create_pixmap                          (GtkWidget       *widget,
                                         const gchar     *filename)
 {
index 60ac0c963e694da04e82801bf27649f881463bc2..912dfba23b9c5155a9ad46b2c1d25f8c39eb9292 100644 (file)
@@ -6,6 +6,7 @@
 
 AM_CFLAGS = $(GLIB_CFLAGS) 
 AM_CFLAGS += $(GTK_CFLAGS)
+AM_CFLAGS += -fvisibility=hidden
 LIBS += $(GLIB_LIBS)
 LIBS += $(GTK_LIBS) -L${top_builddir}/lttv/modules/gui/lttvwindow/lttvwindow -llttvwindow
 
index f16b01854aabe280b74346d1fe0b839bf5908dcc..42925da7900c29ca0971c2d786c3f1195776bb72 100644 (file)
@@ -7,6 +7,7 @@
 AM_CFLAGS = $(GLIB_CFLAGS) 
 AM_CFLAGS += $(GTK_CFLAGS)
 AM_CFLAGS += -DPACKAGE_DATA_DIR=\""$(datadir)"\" -DPACKAGE_BIN_DIR=\""$(bindir)"\"
+AM_CFLAGS += -fvisibility=hidden
 LIBS += $(GLIB_LIBS)
 LIBS += $(GTK_LIBS) -L${top_builddir}/lttv/modules/gui/lttvwindow/lttvwindow -llttvwindow
 LIBS += $(UTIL_LIBS)
index 89446d097888ec51a26608c3f5a6d39795882756..ab5513bc2e7774ba3d29e0bbca84ea75b18f0f80 100644 (file)
@@ -25,6 +25,7 @@
 
 AM_CFLAGS = $(GLIB_CFLAGS) 
 AM_CFLAGS += $(GTK_CFLAGS)
+AM_CFLAGS += -fvisibility=hidden
 LIBS += $(GLIB_LIBS)
 LIBS += $(GTK_LIBS) -L${top_builddir}/lttv/modules/gui/lttvwindow/lttvwindow -llttvwindow
 
This page took 0.035145 seconds and 4 git commands to generate.