test (avoid-version)
[scilab.git] / scilab / modules / localization / Makefile.am
index aebf6e1..033a6e8 100644 (file)
@@ -3,11 +3,14 @@
 ### INRIA - Scilab 2006 
 ##########
 
+
+MODULECOMMONFLAGS = -no-undefined -module -avoid-version
+
 LOCALIZATION_C_SOURCES = src/hashtable_localization.c \
 src/localization.c
 
 libscilocalization_la_CFLAGS=  -Iincludes/ -Isrc/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/libs/hashtable/ $(XML_FLAGS)
-libscilocalization_la_LDFLAGS= $(XML_LIBS)
+libscilocalization_la_LDFLAGS= $(XML_LIBS) $(MODULECOMMONFLAGS)
 
 pkglib_LTLIBRARIES = libscilocalization.la
 
@@ -39,7 +42,7 @@ libscilocalization_la_etc_DATA = etc/localization.quit etc/localization.start
 
 
 ####┬álocalization : include files ####
-libscilocalization_la_includedir=$(includedir)/localization
+libscilocalization_la_includedir=$(sciincludedir)/localization
 libscilocalization_la_include_HEADERS = includes/localization.h
 
 include $(top_srcdir)/Makefile.incl.am