1 include $(top_srcdir)/mk/common.mk
7 noinst_LTLIBRARIES = libeglib.la
9 AM_CFLAGS = $(WERROR_CFLAGS)
13 gdate-win32.c gdir-win32.c gfile-win32.c gmisc-win32.c \
14 gmodule-win32.c gmodule-win32-internals.h gtimer-win32.c gunicode-win32.c
17 gdate-unix.c gdir-unix.c gfile-unix.c gmisc-unix.c \
18 gmodule-unix.c gtimer-unix.c gmodule-aix.c
21 os_files = $(win_files)
23 os_files = $(unix_files)
26 libeglib_la_SOURCES = \
57 endif # !ENABLE_MSVC_ONLY
59 CFLAGS := $(filter-out @CXX_REMOVE_CFLAGS@, @CFLAGS@) @CXX_ADD_CFLAGS@
63 eglibdir=$(datadir)/mono-$(API_VER)/mono/eglib
64 eglib_DATA = eglib-config.h
66 libeglib_la_CFLAGS = -g -Wall -D_GNU_SOURCE
69 libeglib_la_CFLAGS += -D_FORTIFY_SOURCE=2
72 AM_CPPFLAGS = -I$(srcdir)
75 libeglib_la_LIBADD = -lm -llog
78 libeglib_la_LIBADD = -lm -lpsapi $(LTLIBICONV)
80 libeglib_la_LIBADD = -lm $(LTLIBICONV)
84 MAINTAINERCLEANFILES = Makefile.in
86 EXTRA_DIST = eglib-config.h.in $(win_files) $(unix_files)
88 endif # !ENABLE_MSVC_ONLY
94 make -C $(top_srcdir)/msvc eglib
98 make -C $(top_srcdir)/msvc clean-eglib
101 endif # ENABLE_MSVC_ONLY