Begun to add support for non i386 architectures, with the help of Chris
[platform/upstream/gstreamer.git] / gst / Makefile.am
1 # cheap trick to build . first...
2 SUBDIRS = . types meta elements xml
3
4 lib_LTLIBRARIES = libgst.la
5
6 GSTOBJECT_SRCS =        \
7         gstobject.c
8 GSTOBJECT_INCLUDES =    \
9         gstobject.h
10
11 if HAVE_CPU_I386
12 GSTARCH_SRCS = gstcpuid_i386.s
13 else
14 if HAVE_CPU_PPC
15 GSTARCH_SRCS = gstppc.c
16 else
17 GSTARCH_SRCS = 
18 endif
19 endif
20
21 libgst_la_SOURCES =     \
22         gst.c           \
23         $(GSTOBJECT_SRCS)       \
24         gstpad.c        \
25         gstbuffer.c     \
26         gstbufferpool.c \
27         gstclock.c      \
28         gstcpu.c        \
29         $(GSTI386_SRCS) \
30         $(GSTPPC_SRCS)  \
31         gstelement.c    \
32         gstelementfactory.c     \
33         gstbin.c        \
34         gstpipeline.c   \
35         gstthread.c     \
36         gstsrc.c        \
37         gstfilter.c     \
38         gstsink.c       \
39         gstconnection.c \
40         gsttype.c       \
41         gstplugin.c     \
42         gstutils.c      \
43         gsttrace.c      \
44         gstmeta.c       \
45         gsttee.c        \
46         gstxml.c        \
47         cothreads.c
48
49 libgstincludedir = $(includedir)/gst
50 libgstinclude_HEADERS = \
51         gst.h           \
52         gstlog.h        \
53         $(GSTOBJECT_INCLUDES)   \
54         gstpad.h        \
55         gstbuffer.h     \
56         gstbufferpool.h \
57         gstclock.h      \
58         gstcpu.h        \
59         gstelement.h    \
60         gstbin.h        \
61         gstpipeline.h   \
62         gstthread.h     \
63         gstsrc.h        \
64         gstfilter.h     \
65         gstsink.h       \
66         gstconnection.h \
67         gsttype.h       \
68         gstplugin.h     \
69         gstutils.h      \
70         gsttrace.h      \
71         gstmeta.h       \
72         gsttee.h        \
73         gstxml.h        \
74         cothreads.h
75
76 CFLAGS += -O2 -Wall
77
78 libgst_la_LIBADD = $(GLIB_LIBS) $(GTK_LIBS) $(XML_LIBS)
79 libgst_la_LDFLAGS = -version-info $(STREAMER_CURRENT):$(STREAMER_REVISION):$(STREAMER_AGE)
80
81 EXTRA_DIST = ROADMAP