[LINUX] Fix for make install
[glsdk/libdce2.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS                      = \
4                                packages/codec_engine \
5                                packages/ivahd_codecs \
6                                packages/xdais \
7                                packages/xdctools
10 lib_LTLIBRARIES              = libdce.la
13 CE_CFLAGS                    = \
14                                -I$(top_srcdir)/packages/codec_engine \
15                                -I$(top_srcdir)/packages/ivahd_codecs \
16                                -I$(top_srcdir)/packages/xdais \
17                                -I$(top_srcdir)/packages/xdctools \
18                                -I$(IPC_HEADERS)/ \
19                                -DBUILDOS_LINUX=1 \
20                                -Wno-pointer-to-int-cast
23 libdce_la_SOURCES            = libdce.c memplugin_linux.c libdce_linux.c
24 libdce_la_CFLAGS             = $(WARN_CFLAGS) $(CE_CFLAGS) $(DRM_CFLAGS)
25 libdce_la_LDFLAGS            = -no-undefined -version-info 1:0:0
26 libdce_la_LIBADD             = $(DRM_LIBS) -lmmrpc
28 libdce_la_includedir         = $(includedir)/dce
29 libdce_la_include_HEADERS    = libdce.h
31 pkgconfig_DATA               = libdce.pc
32 pkgconfigdir                 = $(libdir)/pkgconfig