]> git.lyx.org Git - lyx.git/blobdiff - src/support/Makefile.am
some new (not extensive) changes, some fixes, will probably reverto to .la libs later...
[lyx.git] / src / support / Makefile.am
index 8bf8629e4320b727a04d6cc684cc6f763d45ae0f..959ba0281a9dec4bc9c099f842eb532ff9cd4c7b 100644 (file)
@@ -1,14 +1,17 @@
 AUTOMAKE_OPTIONS = foreign
-noinst_LIBRARIES = libsupport.a
-libsupport_a_LIBADD = @LIBOBJS@
+noinst_LTLIBRARIES = libsupport.la
+LIBS =
 ETAGS_ARGS = --c++
 INCLUDES = -I${srcdir}/../
 
 if USE_LYXSTRING
 LYXSTRING = lyxstring.C lyxstring.h
 endif
+if USE_REGEX
+REGEX = regex.c lyxregex.h
+endif
 
-libsupport_a_SOURCES = \
+libsupport_la_SOURCES = \
        DebugStream.C \
        DebugStream.h \
        FileInfo.C \
@@ -28,10 +31,9 @@ libsupport_a_SOURCES = \
        lyxlib.h \
        $(LYXSTRING) lyxsum.C \
        path.h \
-       syscall.C \
+       $(REGEX) syscall.C \
        syscall.h \
        syscontr.C \
        syscontr.h \
        syssingleton.C \
        textutils.h
-