mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
move applications to use automake
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
BASE=../../../..
|
||||
|
||||
LIBAMF_OBJS=libamf/src/amf0.o libamf/src/hash.o libamf/src/io.o libamf/src/ptrarray.o libamf/src/types.o
|
||||
LOCAL_OBJS=rtmp_sig.o rtmp.o rtmp_tcp.o $(LIBAMF_OBJS)
|
||||
LOCAL_CFLAGS=-Ilibamf/src
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
8
src/mod/endpoints/mod_rtmp/Makefile.am
Normal file
8
src/mod/endpoints/mod_rtmp/Makefile.am
Normal file
@@ -0,0 +1,8 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_rtmp
|
||||
mod_LTLIBRARIES = mod_rtmp.la
|
||||
mod_rtmp_la_SOURCES = mod_rtmp.c rtmp_sig.c rtmp.c rtmp_tcp.c
|
||||
mod_rtmp_la_SOURCES += libamf/src/amf0.c libamf/src/hash.c libamf/src/io.c libamf/src/ptrarray.c libamf/src/types.c
|
||||
mod_rtmp_la_CFLAGS = $(AM_CFLAGS) -Ilibamf/src
|
||||
mod_rtmp_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
||||
mod_rtmp_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
@@ -1,6 +1,7 @@
|
||||
#include "amf0.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "amf0.h"
|
||||
#include "io.h"
|
||||
#include "types.h"
|
||||
|
||||
|
@@ -1,11 +1,11 @@
|
||||
#ifndef __AMF0_H__
|
||||
#define __AMF0_H__
|
||||
|
||||
#include "amf.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "amf.h"
|
||||
|
||||
/* AMF data types */
|
||||
#define AMF0_TYPE_NUMBER 0x00
|
||||
#define AMF0_TYPE_BOOLEAN 0x01
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#include "io.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "io.h"
|
||||
|
||||
/* callback function to mimic fread using a memory buffer */
|
||||
size_t buffer_read(void * out_buffer, size_t size, void * user_data) {
|
||||
buffer_context * ctxt = (buffer_context *)user_data;
|
||||
|
Reference in New Issue
Block a user