2013-04-15 15:48:19 +02:00
|
|
|
libdir = $(hexchatlibdir)
|
2012-10-21 08:06:09 +02:00
|
|
|
|
2015-02-14 19:35:02 +01: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 08:06:09 +02:00
|
|
|
lib_LTLIBRARIES = sysinfo.la
|
2015-02-14 19:35:02 +01:00
|
|
|
sysinfo_la_SOURCES = $(sources)
|
2014-09-06 14:04:52 +02:00
|
|
|
sysinfo_la_LDFLAGS = $(PLUGIN_LDFLAGS) -module
|
|
|
|
sysinfo_la_LIBADD = $(LIBPCI_LIBS) $(GLIB_LIBS)
|
2016-09-27 00:29:33 +02:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src/common -I$(srcdir)/shared $(LIBPCI_CFLAGS) $(GLIB_CFLAGS)
|