version 1.4 | | version 1.5 |
---|
| | |
install:: | | install:: |
| | |
proto: | | proto: |
cextract +Ap -P -o ../include/libproto.h.bak $(INCLUDES) \ | | cproto -D__CEXTRACT__ $(INCLUDES) $(SRCS) > ../include/sockproto.h |
-cpp-program="gcc -E -C" \ | | |
$(SRCS) | | |
$(SED) -e "s/#if __STDC__/#ifdef __STDC__/" -e "s/__signed/signed/g" -e "/inline/d" -e "/YY_BUFFER/d" < ../include/libproto.h.bak > ../include/sockproto.h | | |
chmod 644 ../include/sockproto.h | | chmod 644 ../include/sockproto.h |
$(RM) -f ../include/sockproto.h.bak | | |
| | |
archive: | | archive: |
if [ ! -d $(ARCHIVE)/socket ]; then $(MKDIR) $(ARCHIVE)/socket; fi | | if [ ! -d $(ARCHIVE)/socket ]; then $(MKDIR) $(ARCHIVE)/socket; fi |