$(Q)echo '#include "$*.h"' >$@
%.ver: %.v
- $(M)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ | sed -e 's/:/:\
-/' -e 's/; /;\
-/g' > $@
+ $(M)sed 's/MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@
%.c %.h %.ver: TAG = GEN
-LIBAVCODEC_$MAJOR {
- global: av*;
- #deprecated, remove after next bump
- audio_resample;
- audio_resample_close;
- local: *;
+LIBAVCODEC_MAJOR {
+ global:
+ av*;
+ #deprecated, remove after next bump
+ audio_resample;
+ audio_resample_close;
+ local:
+ *;
};
-LIBAVFORMAT_$MAJOR {
- global: av*;
- #FIXME those are for ffserver
- ff_inet_aton;
- ff_socket_nonblock;
- ff_rtsp_parse_line;
- ff_rtp_get_local_rtp_port;
- ff_rtp_get_local_rtcp_port;
- ffio_open_dyn_packet_buf;
- ffio_set_buf_size;
- ffurl_close;
- ffurl_open;
- ffurl_write;
- #those are deprecated, remove on next bump
- url_feof;
- local: *;
+LIBAVFORMAT_MAJOR {
+ global:
+ av*;
+ #FIXME those are for ffserver
+ ff_inet_aton;
+ ff_socket_nonblock;
+ ff_rtsp_parse_line;
+ ff_rtp_get_local_rtp_port;
+ ff_rtp_get_local_rtcp_port;
+ ffio_open_dyn_packet_buf;
+ ffio_set_buf_size;
+ ffurl_close;
+ ffurl_open;
+ ffurl_write;
+ #those are deprecated, remove on next bump
+ url_feof;
+ local:
+ *;
};