]> git.draconx.ca Git - upkg.git/blob - src/uobject/Makefile.inc
1a436bd6d3b606f0ea372c2c5593279a55595638
[upkg.git] / src / uobject / Makefile.inc
1 # Copyright © 2009 Nick Bowler
2 #
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.
6
7 lib_LTLIBRARIES += libuobject.la
8
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
13
14 libuobject_la_SOURCES  = uobject/uobject.c uobject/module.c uobject/avl.c \
15         uobject/package.c uobject/loadable.c uobject/exportable.c \
16         uobject/vfs.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