-lib_LTLIBRARIES = libtraceread.la
-libtraceread_la_SOURCES = event.c facility.c parser.c tracefile.c type.c \
- parser.h LTTTypes.h
+AM_CFLAGS = $(GLIB_CFLAGS)
+LIBS += $(GLIB_LIBS)
+
+lib_LTLIBRARIES = liblttvtraceread.la
+liblttvtraceread_la_SOURCES = tracefile.c marker.c event.c
+noinst_HEADERS = ltt-private.h
+#event.c parser.c type.c
+#parser.h
+
+lttinclude_HEADERS = \
+ compiler.h\
+ marker.h\
+ marker-field.h\
+ ltt.h\
+ time.h\
+ trace.h\
+ event.h\
+ marker-desc.h\
+ ltt-types.h
+
+EXTRA_DIST = crc32.tab