2013-04-15 17:48:19 +04:00
|
|
|
libdir = $(hexchatlibdir)
|
2012-10-21 10:06:09 +04:00
|
|
|
|
2015-02-14 21:35:02 +03:00
|
|
|
sources = sysinfo.c format.c shared/df.c
|
|
|
|
|
|
|
|
if PLATFORM_OSX
|
|
|
|
sources += osx/backend.m
|
|
|
|
else
|
|
|
|
sources += unix/backend.c unix/match.c unix/parse.c unix/pci.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
EXTRA_DIST = osx unix win32 shared format.h sysinfo.h sysinfo-backend.h
|
|
|
|
|
2012-10-21 10:06:09 +04:00
|
|
|
lib_LTLIBRARIES = sysinfo.la
|
2015-02-14 21:35:02 +03:00
|
|
|
sysinfo_la_SOURCES = $(sources)
|
2014-09-06 16:04:52 +04:00
|
|
|
sysinfo_la_LDFLAGS = $(PLUGIN_LDFLAGS) -module
|
|
|
|
sysinfo_la_LIBADD = $(LIBPCI_LIBS) $(GLIB_LIBS)
|
2016-09-27 01:29:33 +03:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src/common -I$(srcdir)/shared $(LIBPCI_CFLAGS) $(GLIB_CFLAGS)
|