mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-23 04:33:24 +00:00
Linux etherhelper build updates.
This commit is contained in:
parent
7710322fd3
commit
1d84d40518
@ -43,6 +43,8 @@ GUI_LIBS = @GUI_LIBS@
|
||||
GUI_SRCS = ../prefs.cpp prefs_unix.cpp prefs_editor_gtk.cpp ../prefs_items.cpp \
|
||||
../user_strings.cpp user_strings_unix.cpp xpram_unix.cpp sys_unix.cpp rpc_unix.cpp
|
||||
|
||||
ETHERHELPERDIR = @ETHERHELPERDIR@
|
||||
|
||||
## Files
|
||||
SRCS = ../main.cpp ../prefs.cpp ../prefs_items.cpp \
|
||||
sys_unix.cpp ../rom_patches.cpp ../slot_rom.cpp ../rsrc_patches.cpp \
|
||||
@ -145,7 +147,7 @@ $(GUI_APP)_app: $(GUI_APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns
|
||||
mkdir -p $(GUI_APP_APP)/Contents/Resources
|
||||
./cpr.sh ../MacOSX/$(APP).icns $(GUI_APP_APP)/Contents/Resources/$(GUI_APP).icns
|
||||
|
||||
etherhelpertool: ../MacOSX/etherhelpertool.c
|
||||
etherhelpertool: $(ETHERHELPERDIR)/etherhelpertool.c
|
||||
$(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(LIBS) $(LDFLAGS) $< -o $@
|
||||
|
||||
modules:
|
||||
|
@ -756,8 +756,18 @@ if [[ "x$WANT_MACOSX_SOUND" = "xyes" ]]; then
|
||||
fi
|
||||
|
||||
if [[ "x$WANT_MACOSX_ETHERHELPER" = "xyes" ]]; then
|
||||
EXTRASYSSRCS="$EXTRASYSSRCS ../MacOSX/runtool.c"
|
||||
LIBS="$LIBS -framework Security"
|
||||
if [[ ${OS_TYPE} = "linux" ]]; then
|
||||
EXTRASYSSRCS="$EXTRASYSSRCS ../Linux/runtool.c"
|
||||
ETHERHELPERDIR=../Linux
|
||||
fi
|
||||
|
||||
if [[ ${OS_TYPE} = "darwin" ]]; then
|
||||
EXTRASYSSRCS="$EXTRASYSSRCS ../MacOSX/runtool.c"
|
||||
LIBS="$LIBS -framework Security"
|
||||
ETHERHELPERDIR=../MacOSX
|
||||
fi
|
||||
|
||||
AC_SUBST(ETHERHELPERDIR, ${ETHERHELPERDIR})
|
||||
AC_DEFINE(ENABLE_MACOSX_ETHERHELPER, 1, [Define if supporting "etherhelper" network device.])
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user