mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-09-29 21:56:26 +00:00
Build MacOS X binaries only from the command line. Prepare the configure
scripts as follows: [NO_CONFIGURE=1] ../Unix/autogen.sh Second round will be to build FAT binaries.
This commit is contained in:
parent
9617ca3033
commit
e2e8558ff1
@ -1,55 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
# Run this to generate all the initial makefiles, etc.
|
|
||||||
|
|
||||||
ln -sf ../Unix/config.guess .
|
|
||||||
ln -sf ../Unix/config.sub .
|
|
||||||
cp -pf ../Unix/ether_unix.cpp .
|
|
||||||
ln -sf ../Unix/semaphore.h .
|
|
||||||
cp -pf ../Unix/sys_unix.cpp .
|
|
||||||
cp -pf ../Unix/timer_unix.cpp .
|
|
||||||
ln -sf ../Unix/user_strings_unix.h .
|
|
||||||
ln -sf ../Unix/install-sh .
|
|
||||||
ln -sf ../Unix/Darwin .
|
|
||||||
cp -pr ../../INSTALL INSTALL.txt
|
|
||||||
cp -pr ../../README README.txt
|
|
||||||
|
|
||||||
#
|
|
||||||
# This is how I generated the button images:
|
|
||||||
#
|
|
||||||
#T=/System/Library/CoreServices/loginwindow.app/Resources
|
|
||||||
#tiffutil -cat $T/resetH.tif -out English.lproj/MainMenu.nib/resetH.tiff
|
|
||||||
#tiffutil -cat $T/resetN.tif -out English.lproj/MainMenu.nib/resetN.tiff
|
|
||||||
#tiffutil -cat $T/shutdownH.tif -out English.lproj/MainMenu.nib/shutdownH.tiff
|
|
||||||
#tiffutil -cat $T/shutdownN.tif -out English.lproj/MainMenu.nib/shutdownN.tiff
|
|
||||||
#unset T
|
|
||||||
|
|
||||||
#
|
|
||||||
# Generate ./configure from configure.in
|
|
||||||
#
|
|
||||||
autoconf
|
|
||||||
|
|
||||||
#
|
|
||||||
# Generate config.h.in from configure.in
|
|
||||||
#
|
|
||||||
autoheader
|
|
||||||
|
|
||||||
#
|
|
||||||
# Build app which configure uses:
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
if test -z "$*"; then
|
|
||||||
echo "*************************************************"
|
|
||||||
echo "I am going to run ./configure with no arguments -"
|
|
||||||
echo " if you wish to pass any to it, please specify"
|
|
||||||
echo " them on the $0 command line."
|
|
||||||
echo "*************************************************"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This mode isn't working yet - segfaults
|
|
||||||
#./configure "$@" --enable-addressing=real
|
|
||||||
|
|
||||||
./configure "$@"
|
|
@ -1,159 +1,199 @@
|
|||||||
# $Id$
|
# Unix makefile for Basilisk II
|
||||||
# MacOS X makefile for Basilisk II. Slightly based on the Unix one
|
|
||||||
|
|
||||||
## System specific configuration
|
## System specific configuration
|
||||||
@SET_MAKE@
|
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
CXX = @CXX@
|
CXX = @CXX@
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@ -g
|
||||||
CXXFLAGS = @CXXFLAGS@
|
CXXFLAGS = @CXXFLAGS@ -g
|
||||||
CPPFLAGS = @CPPFLAGS@ -I../include -I. @CPUINCLUDES@
|
CPPFLAGS = @CPPFLAGS@ -I../include -I. @CPUINCLUDES@ -I../slirp
|
||||||
DEFS = @DEFS@ @DEFINES@ -D_REENTRANT
|
DEFS = @DEFS@ @DEFINES@ -D_REENTRANT -DAQUA
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
LIBS = @LIBS@
|
LIBS = @LIBS@
|
||||||
|
SYSSRCS = @SYSSRCS@
|
||||||
|
CPUSRCS = @CPUSRCS@
|
||||||
BLESS = @BLESS@
|
BLESS = @BLESS@
|
||||||
IDE = @IDE@
|
LN_S = ln -s
|
||||||
PROJECT = @PROJECT@
|
|
||||||
IDEARGS = @IDEARGS@
|
SLIRP_CFLAGS = @SLIRP_CFLAGS@
|
||||||
SLIRP_SRCS = @SLIRP_SRCS@
|
SLIRP_SRCS = @SLIRP_SRCS@
|
||||||
|
SLIRP_OBJS = $(SLIRP_SRCS:../slirp/%.c=obj/%.o)
|
||||||
|
|
||||||
## Files
|
## Files
|
||||||
OBJ_DIR = build
|
UNIXSRCS = vm_alloc.cpp vm_alloc.h sigsegv.cpp sigsegv.h video_vosf.h video_blit.cpp \
|
||||||
GENSRCS = cpudefs.cpp cpuemu.cpp cpustbl.cpp cputbl.h
|
xpram_unix.cpp user_strings_unix.cpp user_strings_unix.h \
|
||||||
|
serial_unix.cpp ether_unix.cpp sys_unix.cpp timer_unix.cpp \
|
||||||
|
sshpty.c sshpty.h strlcpy.c strlcpy.h semaphore.h
|
||||||
|
SRCS = ../main.cpp main_macosx.mm ../prefs.cpp ../prefs_items.cpp prefs_macosx.mm \
|
||||||
|
sys_unix.cpp sys_darwin.cpp ../rom_patches.cpp ../slot_rom.cpp ../rsrc_patches.cpp \
|
||||||
|
../emul_op.cpp ../macos_util.cpp ../xpram.cpp xpram_unix.cpp ../timer.cpp \
|
||||||
|
timer_unix.cpp ../adb.cpp ../serial.cpp serial_unix.cpp ../ether.cpp ether_unix.cpp \
|
||||||
|
../sony.cpp ../disk.cpp ../cdrom.cpp ../scsi.cpp ../video.cpp video_macosx.mm \
|
||||||
|
vm_alloc.cpp sigsegv.cpp ../audio.cpp ../extfs.cpp extfs_macosx.mm \
|
||||||
|
../user_strings.cpp user_strings_unix.cpp clip_macosx.cpp misc_macosx.mm \
|
||||||
|
../dummy/scsi_dummy.cpp \
|
||||||
|
audio_macosx.cpp AudioBackEnd.cpp AudioDevice.cpp MacOSX_sound_if.cpp \
|
||||||
|
NNThread.m Emulator.mm EmulatorView.mm Controller.mm PrefsEditor.mm \
|
||||||
|
sshpty.c strlcpy.c \
|
||||||
|
$(CPUSRCS) $(SLIRP_SRCS)
|
||||||
|
APP = BasiliskII
|
||||||
|
APP_APP = $(APP).app
|
||||||
|
|
||||||
# Wrappers which split the very large cpuemu.cpp into smaller compile units
|
PROGS = $(APP)_app
|
||||||
GENEMUS = cpuemu1.cpp cpuemu2.cpp cpuemu3.cpp cpuemu4.cpp \
|
DOCS = README.txt Credits.html ToDo.html HowTo.html Versions.html
|
||||||
cpuemu5.cpp cpuemu6.cpp cpuemu7.cpp cpuemu8.cpp
|
|
||||||
|
|
||||||
# We compile the emulator source outside of Project Builder/XCode
|
|
||||||
# so that it always picks up appropriate FLAGS from configure.
|
|
||||||
# This is necessary because that code doesn't use config.h
|
|
||||||
EMU_OBJ = $(patsubst %.cpp, build/%.o, $(GENEMUS))
|
|
||||||
EMU_LIB = libgenemu.a
|
|
||||||
|
|
||||||
|
|
||||||
# Symlinks to, or copies of, files in other directories
|
|
||||||
GENLINK = README.txt INSTALL.txt install-sh \
|
|
||||||
Darwin config.guess config.sub ether_unix.cpp semaphore.h \
|
|
||||||
sys_unix.cpp timer_unix.cpp user_strings_unix.h
|
|
||||||
|
|
||||||
GEN = $(GENEMUS) $(GENSRCS)
|
|
||||||
|
|
||||||
SRCS = BasiliskII.icns Controller.h Controller.mm Credits.html \
|
|
||||||
Emulator.h Emulator.mm EmulatorView.h EmulatorView.mm English.lproj \
|
|
||||||
NNThread.h NNThread.m PrefsEditor.h PrefsEditor.mm \
|
|
||||||
ToDo.html Versions.html \
|
|
||||||
audio_macosx.cpp extfs_macosx.mm macos_util_macosx.h main_macosx.h \
|
|
||||||
main_macosx.mm misc_macosx.h misc_macosx.mm nowrite.icns \
|
|
||||||
prefs_macosx.cpp sysdeps.h video_macosx.mm video_macosx.h
|
|
||||||
|
|
||||||
SLIRP_OBJ = $(patsubst ../slirp/%.c, build/%.o, $(SLIRP_SRCS))
|
|
||||||
SLIRP_LIB = libslirp.a
|
|
||||||
|
|
||||||
APP = $(OBJ_DIR)/BasiliskII.app
|
|
||||||
|
|
||||||
DEPS = $(OBJ_DIR) $(GEN) $(EMU_LIB) $(SLIRP_LIB) $(SRCS)
|
|
||||||
|
|
||||||
## Rules
|
## Rules
|
||||||
|
.PHONY: modules install installdirs uninstall mostlyclean clean distclean depend dep
|
||||||
.PHONY: mostlyclean clean distclean depend dep
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .c .cpp .s .o .h
|
.SUFFIXES: .c .cpp .s .o .h
|
||||||
|
|
||||||
all: $(APP)
|
all: $(PROGS)
|
||||||
|
|
||||||
ide: $(DEPS)
|
README.txt: ../../README
|
||||||
open $(PROJECT)
|
$(LN_S) $< $@
|
||||||
|
$(UNIXSRCS): %: ../Unix/%
|
||||||
test: $(APP)
|
$(LN_S) $< $@
|
||||||
open $(APP)
|
|
||||||
|
|
||||||
|
OBJ_DIR = obj
|
||||||
$(OBJ_DIR)::
|
$(OBJ_DIR)::
|
||||||
@[ -d $(OBJ_DIR) ] || mkdir $(OBJ_DIR) > /dev/null 2>&1
|
@[ -d $(OBJ_DIR) ] || mkdir $(OBJ_DIR) > /dev/null 2>&1
|
||||||
|
|
||||||
|
define SRCS_LIST_TO_OBJS
|
||||||
|
$(addprefix $(OBJ_DIR)/, $(addsuffix .o, $(foreach file, $(SRCS), \
|
||||||
|
$(basename $(notdir $(file))))))
|
||||||
|
endef
|
||||||
|
OBJS = $(SRCS_LIST_TO_OBJS)
|
||||||
|
|
||||||
$(APP): $(DEPS)
|
SRC_PATHS += $(sort $(foreach file, $(SRCS), $(dir $(file))))
|
||||||
$(IDE) -buildstyle Deployment $(IDEARGS) \
|
VPATH :=
|
||||||
&& $(BLESS) $(APP)/Contents/MacOS/BasiliskII \
|
VPATH += $(addprefix :, $(subst ,:, $(filter-out $($(subst, :, ,$(VPATH))), $(SRC_PATHS))))
|
||||||
|| rm -fr $(APP)
|
|
||||||
|
|
||||||
BasiliskII.icns :
|
$(APP): $(UNIXSRCS) $(OBJ_DIR) $(OBJS)
|
||||||
touch $@
|
$(CXX) -o $@ $(LDFLAGS) $(OBJS) $(LIBS)
|
||||||
|
$(BLESS) $(APP)
|
||||||
|
|
||||||
nowrite.icns :
|
$(APP)_app: $(APP) $(DOCS) ../MacOSX/Info.plist ../MacOSX/$(APP).icns
|
||||||
# ln -sf /System/Library/CoreServices/Finder.app/Contents/Resources/nowrite.icns .
|
mkdir -p $(APP_APP)/Contents
|
||||||
touch $@
|
cp -f ../MacOSX/Info.plist $(APP_APP)/Contents/
|
||||||
|
echo -n 'APPL????' > $(APP_APP)/Contents/PkgInfo
|
||||||
|
mkdir -p $(APP_APP)/Contents/MacOS
|
||||||
|
cp -f $(APP) $(APP_APP)/Contents/MacOS/
|
||||||
|
strip $(APP_APP)/Contents/MacOS/$(APP)
|
||||||
|
mkdir -p $(APP_APP)/Contents/Resources
|
||||||
|
cp -Rp English.lproj $(APP_APP)/Contents/Resources/
|
||||||
|
cp -f ../MacOSX/$(APP).icns $(APP_APP)/Contents/Resources/
|
||||||
|
cp -f $(DOCS) $(APP_APP)/Contents/Resources/
|
||||||
|
find $(APP_APP) -type d -name CVS | xargs rm -rf
|
||||||
|
|
||||||
mostlyclean:
|
mostlyclean:
|
||||||
rm -fr English.lproj/*~* $(OBJ_DIR)/* core* *.core *~ *.bak
|
rm -rf $(APP_APP)
|
||||||
rm -fr autom4te.cache config tests vhook
|
rm -f $(PROGS) $(OBJ_DIR)/* core* *.core *~ *.bak
|
||||||
|
|
||||||
clean: mostlyclean
|
clean: mostlyclean
|
||||||
rm -f $(SLIRP_LIB) $(EMU_LIB)
|
rm -f $(UNIXSRCS)
|
||||||
rm -f $(GEN)
|
rm -f cpuemu.cpp cpudefs.cpp cputmp*.s cpufast*.s cpustbl.cpp cputbl.h compemu.cpp compstbl.cpp comptbl.h
|
||||||
rm -f cpudefs.cpp cputmp*.s cpufast*.s cpustbl.cpp
|
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -rf $(OBJ_DIR)
|
rm -rf $(OBJ_DIR)
|
||||||
rm -rf autom4te.cache
|
rm -rf autom4te.cache
|
||||||
rm -f Makefile
|
rm -f Makefile
|
||||||
rm -f config.cache config.log config.status config.h config.h.in
|
rm -f config.cache config.log config.status config.h
|
||||||
rm -f Darwin/lowmem Darwin/pagezero
|
rm -f Darwin/lowmem Darwin/pagezero
|
||||||
rm -f $(GENLINK)
|
|
||||||
rm -f configure
|
|
||||||
rm -f .DS_Store
|
|
||||||
|
|
||||||
|
depend dep:
|
||||||
|
makedepend $(CPPFLAGS) -Y. $(SRCS) 2>/dev/null
|
||||||
|
|
||||||
|
$(OBJ_DIR)/%.o : ../slirp/%.c
|
||||||
|
$(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(SLIRP_CFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/%.o : %.c
|
||||||
|
$(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/%.o : %.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/%.o : %.m
|
||||||
|
$(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/%.o : %.mm
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/%.o : %.s
|
||||||
|
$(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
$(OBJ_DIR)/build68k: $(OBJ_DIR)/build68k.o
|
||||||
$(OBJ_DIR)/build68k: ../uae_cpu/build68k.c
|
$(CC) $(LDFLAGS) -o $(OBJ_DIR)/build68k $(OBJ_DIR)/build68k.o
|
||||||
$(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $< -o $@
|
$(OBJ_DIR)/gencpu: $(OBJ_DIR)/gencpu.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
|
||||||
|
$(CXX) $(LDFLAGS) -o $(OBJ_DIR)/gencpu $(OBJ_DIR)/gencpu.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
|
||||||
$(OBJ_DIR)/cpuopti: ../uae_cpu/cpuopti.c
|
$(OBJ_DIR)/gencomp: $(OBJ_DIR)/gencomp.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
|
||||||
$(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $< -o $@
|
$(CXX) $(LDFLAGS) -o $(OBJ_DIR)/gencomp $(OBJ_DIR)/gencomp.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
|
||||||
|
|
||||||
$(OBJ_DIR)/gencpu: cpudefs.cpp ../uae_cpu/gencpu.c ../uae_cpu/readcpu.cpp
|
|
||||||
$(CXX) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(CXXFLAGS) $^ -o $@
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
cpudefs.cpp: $(OBJ_DIR)/build68k ../uae_cpu/table68k
|
cpudefs.cpp: $(OBJ_DIR)/build68k ../uae_cpu/table68k
|
||||||
$(OBJ_DIR)/build68k < ../uae_cpu/table68k > $@
|
$(OBJ_DIR)/build68k <../uae_cpu/table68k >cpudefs.cpp
|
||||||
|
cpustbl.cpp: cpuemu.cpp
|
||||||
|
cpustbl_nf.cpp: cpustbl.cpp
|
||||||
|
compstbl.cpp: compemu.cpp
|
||||||
|
cputbl.h: cpuemu.cpp
|
||||||
|
comptbl.h: compemu.cpp
|
||||||
|
|
||||||
cpuemu.cpp cpustbl.cpp cputbl.h: $(OBJ_DIR)/gencpu
|
cpuemu.cpp: $(OBJ_DIR)/gencpu
|
||||||
$<
|
$(OBJ_DIR)/gencpu
|
||||||
|
|
||||||
|
compemu.cpp: $(OBJ_DIR)/gencomp
|
||||||
|
$(OBJ_DIR)/gencomp
|
||||||
|
|
||||||
$(GENEMUS) : cpuemu.cpp
|
$(OBJ_DIR)/cpustbl_nf.o: cpustbl.cpp
|
||||||
for i in 1 2 3 4 5 6 7 8; \
|
$(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -DNOFLAGS -c $< -o $@
|
||||||
do \
|
|
||||||
printf "#define PART_%d\n#include \"%s\"\n" $$i $< >cpuemu$$i.cpp; \
|
|
||||||
done
|
|
||||||
|
|
||||||
|
$(OBJ_DIR)/compemu_support.o: compemu_support.cpp comptbl.h
|
||||||
cpufast.s: cpuemu.s $(OBJ_DIR)/cpuopti
|
|
||||||
$(OBJ_DIR)/cpuopti <cpuemu.s >$@ || mv cputmp.s $@
|
|
||||||
|
|
||||||
cpuemu.s: cpuemu.cpp
|
|
||||||
$(CXX) $(CPPFLAGS) $(DEFS) -S $(CXXFLAGS) $< -o $@
|
|
||||||
|
|
||||||
$(EMU_OBJ) : build/%.o : %.cpp
|
|
||||||
$(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c $< -o $@
|
$(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c $< -o $@
|
||||||
|
|
||||||
build/newcpu.o : ../uae_cpu/newcpu.cpp
|
$(OBJ_DIR)/cpuemu1.o: cpuemu.cpp
|
||||||
$(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c $< -o $@
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/cpuemu2.o: cpuemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/cpuemu3.o: cpuemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/cpuemu4.o: cpuemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/cpuemu5.o: cpuemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/cpuemu6.o: cpuemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/cpuemu7.o: cpuemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/cpuemu8.o: cpuemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 $(CXXFLAGS) -c $< -o $@
|
||||||
|
|
||||||
$(EMU_LIB) : $(EMU_OBJ) build/newcpu.o
|
$(OBJ_DIR)/cpuemu1_nf.o: cpuemu.cpp
|
||||||
libtool -static -o $@ $^
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/cpuemu2_nf.o: cpuemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/cpuemu3_nf.o: cpuemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/cpuemu4_nf.o: cpuemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/cpuemu5_nf.o: cpuemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/cpuemu6_nf.o: cpuemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/cpuemu7_nf.o: cpuemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/cpuemu8_nf.o: cpuemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
|
||||||
|
|
||||||
$(SLIRP_OBJ) : build/%.o : ../slirp/%.c
|
$(OBJ_DIR)/compemu1.o: compemu.cpp
|
||||||
$(CC) -I../slirp $(CPPFLAGS) $(DEFS) $(CFLAGS) -c $< -o $@
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/compemu2.o: compemu.cpp
|
||||||
$(SLIRP_LIB) : $(SLIRP_OBJ)
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 $(CXXFLAGS) -c $< -o $@
|
||||||
libtool -static -o $@ $^
|
$(OBJ_DIR)/compemu3.o: compemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/compemu4.o: compemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/compemu5.o: compemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/compemu6.o: compemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/compemu7.o: compemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 $(CXXFLAGS) -c $< -o $@
|
||||||
|
$(OBJ_DIR)/compemu8.o: compemu.cpp
|
||||||
|
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 $(CXXFLAGS) -c $< -o $@
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
||||||
|
@ -10,6 +10,7 @@ dnl autoconf on 10.1 doesn't understand these
|
|||||||
dnl AC_INIT([Basilisk II], 1.0, [Christian.Bauer@uni-mainz.de], BasiliskII)
|
dnl AC_INIT([Basilisk II], 1.0, [Christian.Bauer@uni-mainz.de], BasiliskII)
|
||||||
dnl AC_CONFIG_SRCDIR(main_macosx.mm)
|
dnl AC_CONFIG_SRCDIR(main_macosx.mm)
|
||||||
AC_INIT(main_macosx.mm)
|
AC_INIT(main_macosx.mm)
|
||||||
|
AC_CONFIG_AUX_DIR(../Unix)
|
||||||
AC_PREREQ(2.12)
|
AC_PREREQ(2.12)
|
||||||
AC_CONFIG_HEADER(config.h)
|
AC_CONFIG_HEADER(config.h)
|
||||||
|
|
||||||
@ -333,6 +334,9 @@ AC_CHECK_FRAMEWORK(AppKit, [])
|
|||||||
AC_CHECK_FRAMEWORK(Carbon, [#include <Carbon/Carbon.h>])
|
AC_CHECK_FRAMEWORK(Carbon, [#include <Carbon/Carbon.h>])
|
||||||
AC_CHECK_FRAMEWORK(IOKit, [#include <IOKit/IOKitLib.h>])
|
AC_CHECK_FRAMEWORK(IOKit, [#include <IOKit/IOKitLib.h>])
|
||||||
AC_CHECK_FRAMEWORK(CoreFoundation, [#include <CoreFoundation/CoreFoundation.h>])
|
AC_CHECK_FRAMEWORK(CoreFoundation, [#include <CoreFoundation/CoreFoundation.h>])
|
||||||
|
AC_CHECK_FRAMEWORK(CoreAudio, [#include <CoreAudio/CoreAudio.h>])
|
||||||
|
AC_CHECK_FRAMEWORK(AudioUnit, [#include <AudioUnit/AudioUnit.h>])
|
||||||
|
AC_CHECK_FRAMEWORK(AudioToolbox, [#include <AudioToolbox/AudioToolbox.h>])
|
||||||
|
|
||||||
dnl Select system-dependant source files.
|
dnl Select system-dependant source files.
|
||||||
ETHERSRC=ether_unix.cpp
|
ETHERSRC=ether_unix.cpp
|
||||||
|
Loading…
Reference in New Issue
Block a user