Previous 199869 Revisions Next

r34103 Monday 29th December, 2014 at 19:38:18 UTC by Oliver Stöneberg
fixed linking on FreeBSD (nw)

also simplified network part in sdl.mak a bit
[src/osd/sdl]sdl.mak

trunk/src/osd/sdl/sdl.mak
r242614r242615
768768# Network (TAP/TUN)
769769#-------------------------------------------------
770770
771OSDOBJS += $(SDLOBJ)/netdev.o
772
771773ifndef DONT_USE_NETWORK
774
772775ifeq ($(SDL_NETWORK),taptun)
773OSDOBJS += \
774   $(SDLOBJ)/netdev.o \
775   $(SDLOBJ)/netdev_tap.o
776OSDOBJS += $(SDLOBJ)/netdev_tap.o
776777
777778DEFS += -DSDLMAME_NETWORK -DSDLMAME_NET_TAPTUN
778779endif
779780
780781ifeq ($(SDL_NETWORK),pcap)
781OSDOBJS += $(SDLOBJ)/netdev.o
782782
783783ifeq ($(TARGETOS),macosx)
784784OSDOBJS += $(SDLOBJ)/netdev_pcap_osx.o
r242614r242615
787787endif
788788
789789DEFS += -DSDLMAME_NETWORK -DSDLMAME_NET_PCAP
790
790791ifneq ($(TARGETOS),win32)
791792LIBS += -lpcap
792793endif
793endif
794else
795OSDOBJS += $(SDLOBJ)/netdev.o
796endif
797794
795endif # ifeq ($(SDL_NETWORK),pcap)
796
797endif # ifndef DONT_USE_NETWORK
798
798799#-------------------------------------------------
799800# Dependencies
800801#-------------------------------------------------


Previous 199869 Revisions Next


© 1997-2024 The MAME Team