summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 412d66894f53326bd61f8a2deaeb529f65ca747f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
bin_PROGRAMS = cmumble

noinst_HEADERS = messages.h mumble.pb-c.h varint.h
cmumble_SOURCES = cmumble.c mumble.pb-c.c varint.c
cmumble_LDADD = $(PROTOBUF_LIBS) $(GLIB_LIBS) $(GIO_LIBS) $(GSTREAMER_LIBS) $(CELT_LIBS)

AM_CPPFLAGS = $(PROTOBUF_CFLAGS) $(GLIB_CFLAGS) $(GIO_CFLAGS) $(GSTREAMER_CFLAGS) $(CELT_CFLAGS)
AM_CFLAGS = $(GCC_FLAGS)

messages.h: messages.txt
	./gen_message.sh < $< > $@

mumble.pb-c.c mumble.pb-c.h: mumble.proto
	$(PROTOBUF_EXECUTABLE) --c_out=. $<

CLEANFILES = mumble.pb-c.c mumble.pb-c.h messages.h