1 # Copyright © 2009 Nick Bowler
3 # License WTFPL2: Do What The Fuck You Want To Public License, version 2.
4 # This is free software: you are free to do what the fuck you want to.
5 # There is NO WARRANTY, to the extent permitted by law.
7 lib_LTLIBRARIES += libuobject.la
9 uobjectdir = $(includedir)/uobject
10 uobject_HEADERS = uobject/uobject.h uobject/exportable.h uobject/loadable.h \
11 uobject/module.h uobject/package.h uobject/vfs.h
12 noinst_HEADERS += uobject/avl.h
14 libuobject_la_SOURCES = uobject/uobject.c uobject/module.c uobject/avl.c \
15 uobject/package.c uobject/loadable.c uobject/exportable.c \
17 libuobject_la_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) $(LTDLINCL) \
18 -DPKGLIBDIR=\"$(pkglibdir)\" -DPKGDATADIR=\"$(pkgdatadir)\"
19 libuobject_la_LDFLAGS = $(AM_LDFLAGS) -export-symbols-regex '^u_'
20 libuobject_la_LIBADD = $(LIBLTDL) $(GLIB_LIBS) -lgnu