forked from public/pyceo
Build python protobuf
This commit is contained in:
parent
17eb4d40b9
commit
e3555e5b74
|
@ -0,0 +1 @@
|
|||
/ceo_pb2.py
|
|
@ -2,7 +2,7 @@ Source: ceo
|
|||
Section: admin
|
||||
Priority: optional
|
||||
Maintainer: Systems Committee <syscom@csclub.uwaterloo.ca>
|
||||
Build-Depends: debhelper (>= 5.0.0), python-dev (>= 2.4), python-support (>= 0.3), libkrb5-dev, libldap2-dev, libsasl2-dev, libsctp-dev, libprotobuf-c0-dev, libacl1-dev
|
||||
Build-Depends: debhelper (>= 5.0.0), python-dev (>= 2.4), python-support (>= 0.3), libkrb5-dev, libldap2-dev, libsasl2-dev, libsctp-dev, libprotobuf-c0-dev, libacl1-dev, protobuf-compiler, protobuf-c-compiler
|
||||
Standards-Version: 3.8.2
|
||||
|
||||
Package: ceo-common
|
||||
|
|
|
@ -31,7 +31,7 @@ CONFIG_PROGS := $(LDAP_PROGS) $(KRB5_PROGS) $(NET_PROGS)
|
|||
UTIL_OBJECTS := util.o strbuf.o
|
||||
UTIL_PROGS := config-test $(CONFIG_PROGS)
|
||||
|
||||
all: $(BIN_PROGS) $(LIB_PROGS) $(EXT_PROGS)
|
||||
all: $(BIN_PROGS) $(LIB_PROGS) $(EXT_PROGS) ../ceo/ceo_pb2.py
|
||||
|
||||
clean:
|
||||
rm -f $(BIN_PROGS) $(LIB_PROGS) $(EXT_PROGS) *.o ceo.pb-c.c ceo.pb-c.h
|
||||
|
@ -44,6 +44,9 @@ ceo.pb-c.c ceo.pb-c.h: ceo.proto
|
|||
%: %.o
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@
|
||||
|
||||
../ceo/ceo_pb2.py:
|
||||
protoc --python_out=../ceo ceo.proto
|
||||
|
||||
ceod: dmaster.o dslave.o
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@
|
||||
|
||||
|
|
Loading…
Reference in New Issue