!win32:system($$PWD/configure)
INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/enc/unicode

SOURCES += $$PWD/regcomp.c \
           $$PWD/regenc.c \
           $$PWD/regerror.c \
           $$PWD/regexec.c \
           $$PWD/regext.c \
           $$PWD/reggnu.c \
           $$PWD/regparse.c \
           $$PWD/regposerr.c \
           $$PWD/regposix.c \
           $$PWD/regsyntax.c \
           $$PWD/regtrav.c \
           $$PWD/regversion.c \
           $$PWD/st.c \
           $$PWD/enc/ascii.c \
           $$PWD/enc/big5.c \
           $$PWD/enc/cp949.c \
           $$PWD/enc/emacs_mule.c \
           $$PWD/enc/euc_jp.c \
           $$PWD/enc/euc_kr.c \
           $$PWD/enc/euc_tw.c \
           $$PWD/enc/gb18030.c \
           $$PWD/enc/gbk.c \
           $$PWD/enc/iso_8859.h \
           $$PWD/enc/iso_8859_1.c \
           $$PWD/enc/iso_8859_10.c \
           $$PWD/enc/iso_8859_11.c \
           $$PWD/enc/iso_8859_13.c \
           $$PWD/enc/iso_8859_14.c \
           $$PWD/enc/iso_8859_15.c \
           $$PWD/enc/iso_8859_16.c \
           $$PWD/enc/iso_8859_2.c \
           $$PWD/enc/iso_8859_3.c \
           $$PWD/enc/iso_8859_4.c \
           $$PWD/enc/iso_8859_5.c \
           $$PWD/enc/iso_8859_6.c \
           $$PWD/enc/iso_8859_7.c \
           $$PWD/enc/iso_8859_8.c \
           $$PWD/enc/iso_8859_9.c \
           $$PWD/enc/koi8_r.c \
           $$PWD/enc/koi8_u.c \
           $$PWD/enc/shift_jis.c \
           $$PWD/enc/unicode.c \
           $$PWD/enc/us_ascii.c \
           $$PWD/enc/utf_16be.c \
           $$PWD/enc/utf_16le.c \
           $$PWD/enc/utf_32be.c \
           $$PWD/enc/utf_32le.c \
           $$PWD/enc/utf_8.c \
           $$PWD/enc/windows_1250.c \
           $$PWD/enc/windows_1251.c \
           $$PWD/enc/windows_1252.c \
           $$PWD/enc/windows_1253.c \
           $$PWD/enc/windows_1254.c \
           $$PWD/enc/windows_1257.c \
           $$PWD/enc/windows_31j.c


## Temporary diabled windows_31j encoding  (see: https://github.com/edbee/edbee-lib/issues/9)


# $$PWD/testc.c \
# $$PWD/testu.c \
# $$PWD/win32/testc.c
# $$PWD/enc/gb2312.c \
# $$PWD/enc/mktable.c \


HEADERS += $$PWD/config.h \
           $$PWD/enc/unicode/casefold.h \
           $$PWD/onigmo.h \
           $$PWD/onigmognu.h \
           $$PWD/onigmoposix.h \
           $$PWD/regenc.h \
           $$PWD/regint.h \
           $$PWD/regparse.h \
           $$PWD/st.h \
           $$PWD/win32/config.h \
           $$PWD/config-onig-edbee.h



######################################################################
# Automatically generated by qmake (2.01a) Wed Jan 23 20:33:59 2013
######################################################################

# Input
