2016-02-22 11:00:01 -05:00
|
|
|
noinst_LTLIBRARIES = libeglib.la
|
2014-08-13 10:39:27 +01:00
|
|
|
|
2014-09-04 09:07:35 +01:00
|
|
|
AM_CFLAGS = $(WERROR_CFLAGS)
|
|
|
|
|
2014-08-13 10:39:27 +01:00
|
|
|
win_files = \
|
|
|
|
eglib-config.hw \
|
|
|
|
gdate-win32.c gdir-win32.c gfile-win32.c gmisc-win32.c \
|
2017-04-10 11:41:01 +00:00
|
|
|
gmodule-win32.c gtimer-win32.c gunicode-win32.c
|
2014-08-13 10:39:27 +01:00
|
|
|
|
|
|
|
unix_files = \
|
|
|
|
gdate-unix.c gdir-unix.c gfile-unix.c gmisc-unix.c \
|
|
|
|
gmodule-unix.c gtimer-unix.c
|
|
|
|
|
|
|
|
if HOST_WIN32
|
|
|
|
os_files = $(win_files)
|
|
|
|
else
|
|
|
|
os_files = $(unix_files)
|
|
|
|
endif
|
|
|
|
|
|
|
|
libeglib_la_SOURCES = \
|
|
|
|
eglib-remap.h \
|
|
|
|
sort.frag.h \
|
|
|
|
glib.h \
|
|
|
|
garray.c \
|
|
|
|
gbytearray.c \
|
|
|
|
gerror.c \
|
|
|
|
ghashtable.c \
|
|
|
|
giconv.c \
|
|
|
|
gmem.c \
|
|
|
|
gmodule.h \
|
|
|
|
goutput.c \
|
|
|
|
gqsort.c \
|
|
|
|
gstr.c \
|
|
|
|
gslist.c \
|
|
|
|
gstring.c \
|
|
|
|
gptrarray.c \
|
|
|
|
glist.c \
|
|
|
|
gqueue.c \
|
|
|
|
gpath.c \
|
|
|
|
gshell.c \
|
|
|
|
gspawn.c \
|
|
|
|
gfile.c \
|
|
|
|
gfile-posix.c \
|
|
|
|
gpattern.c \
|
|
|
|
gmarkup.c \
|
|
|
|
gutf8.c \
|
|
|
|
gunicode.c \
|
|
|
|
unicode-data.h \
|
2016-11-10 13:04:39 +00:00
|
|
|
$(os_files)
|
2014-08-13 10:39:27 +01:00
|
|
|
|
|
|
|
libeglib_la_CFLAGS = -g -Wall -D_FORTIFY_SOURCE=2
|
|
|
|
|
|
|
|
AM_CPPFLAGS = -I$(srcdir)
|
|
|
|
|
|
|
|
if HOST_WIN32
|
|
|
|
libeglib_la_LIBADD = -lm $(LIBICONV) -lpsapi
|
|
|
|
else
|
|
|
|
if PLATFORM_ANDROID
|
|
|
|
libeglib_la_LIBADD = -llog
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
|
|
|
|
EXTRA_DIST = eglib-config.h.in $(win_files) $(unix_files)
|