Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 1e32fe436a
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (31 sloc) 1.319 kB
ARCH=@ARCH@
OBJS += hdhomerun_pkt.o
OBJS += hdhomerun_debug.o
OBJS += hdhomerun_discover.o
OBJS += hdhomerun_channels.o
OBJS += hdhomerun_channelscan.o
OBJS += hdhomerun_control.o
OBJS += hdhomerun_video.o
OBJS += hdhomerun_device.o
CFLAGS += -Wall -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -fPIC
SLIBS += -lws2_32
DEFINES += -D__MINGW__
SYSDIR=../../../system
SO=hdhomerun-$(ARCH).so
SLIB=$(SYSDIR)/$(SO)
$(SLIB): $(OBJS)
ifeq ($(findstring osx,$(ARCH)), osx)
$(CC) $(LDFLAGS) -Wl,-alias_list,../../cores/DllLoader/exports/wrapper_mach_alias \
-bundle -undefined dynamic_lookup -read_only_relocs suppress -o $@ \
../../cores/DllLoader/exports/wrapper.o $(OBJS)
else
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -shared -o $@ `cat ../../cores/DllLoader/exports/wrapper.def` \
../../cores/DllLoader/exports/wrapper.o
endif
hdhomerun_dll : $(OBJS)
$(CC) $(CFLAGS) $(OBJS) $(SLIBS) -Wl,--out-implib,hdhomerun.lib -shared -o hdhomerun.dll
hdhomerun_config hdhomerun_config.exe : $(OBJS) hdhomerun_config.o
$(CC) $(CFLAGS) $(OBJS) hdhomerun_config.o $(SLIBS) -lpthreadGC -liphlpapi -o $@
hdhomerun_mythconfig : $(LIBSRCS) hdhomerun_mythconfig.o
$(CC) $(CFLAGS) $(OBJS) hdhomerun_config.o $(SLIBS) -lpthreadGC -liphlpapi -lmysqlclient -o $@
include ../../../Makefile.include
Jump to Line
Something went wrong with that request. Please try again.