aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.am
diff options
context:
space:
mode:
authoreihrul <eihrul>2010-05-13 17:31:45 +0000
committereihrul <eihrul>2010-05-13 17:31:45 +0000
commit0456e849d675aeecda75d93082cfd3943ddd5aa3 (patch)
tree731a257b519507fe2ee8ac991c97d93ad00844e1 /Makefile.am
parentf72b0300f69cdcf25b380392b78b065117afad47 (diff)
downloadenet-0456e849d675aeecda75d93082cfd3943ddd5aa3.tar.gz
enet-0456e849d675aeecda75d93082cfd3943ddd5aa3.zip
WIP build system cleanups by Nathan Phillip Brink
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am23
1 files changed, 20 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index dc86fde..a96f350 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,22 @@
-lib_LIBRARIES = libenet.a
-libenet_a_SOURCES = host.c list.c callbacks.c packet.c peer.c protocol.c unix.c win32.c
+pkgconfigdir = $(libdir)/pkgconfig
+nodist_pkgconfig_DATA = libenet.pc
+
+enetincludedir=$(includedir)/enet
+enetinclude_HEADERS = \
+ include/enet/callbacks.h \
+ include/enet/enet.h \
+ include/enet/list.h \
+ include/enet/protocol.h \
+ include/enet/time.h \
+ include/enet/types.h \
+ include/enet/unix.h \
+ include/enet/utility.h \
+ include/enet/win32.h
+
+lib_LTLIBRARIES = libenet.la
+libenet_la_SOURCES = host.c list.c callbacks.c packet.c peer.c protocol.c unix.c win32.c
+# see info '(libtool) Updating version info' before making a release
+libenet_la_LDFLAGS = $(AM_LDFLAGS) -version-info 0:0:0
INCLUDES = -Iinclude
-SUBDIRS = include
+ACLOCAL_AMFLAGS = -Im4