ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/Makefile.in
(Generate patch)

Comparing BasiliskII/src/Unix/Makefile.in (file contents):
Revision 1.5 by cebix, 1999-10-03T17:45:08Z vs.
Revision 1.10 by cebix, 1999-10-12T20:00:52Z

# Line 2 | Line 2
2  
3   ## System specific configuration
4   @SET_MAKE@
5 + SHELL = /bin/sh
6  
7 < prefix=@prefix@
8 < exec_prefix=@exec_prefix@
9 < bindir=$(exec_prefix)/bin
10 < sharedir=$(prefix)/share/BasiliskII
11 < mandir=$(prefix)/man
7 > prefix = @prefix@
8 > exec_prefix = @exec_prefix@
9 > bindir = @bindir@
10 > datadir = @datadir@
11 > mandir = @mandir@
12 > man1dir = $(mandir)/man1
13  
14   CC = @CC@
15   CXX = @CXX@
16   CFLAGS = @CFLAGS@
17   CXXFLAGS = @CXXFLAGS@
18   CPPFLAGS = @CPPFLAGS@ -I../include -I. @CPUINCLUDES@
19 < DEFS = @DEFS@ @DEFINES@ -D_REENTRANT -DSHAREDIR=\"$(sharedir)\"
19 > DEFS = @DEFS@ @DEFINES@ -D_REENTRANT -DDATADIR=\"$(datadir)/$(APP)\"
20   LDFLAGS = @LDFLAGS@
21   LIBS = @LIBS@
22   SYSSRCS = @SYSSRCS@
# Line 24 | Line 26 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s
26   INSTALL_DATA = @INSTALL_DATA@
27  
28   ## Files
29 < SRCS=../prefs.cpp ../rom_patches.cpp ../slot_rom.cpp ../rsrc_patches.cpp ../emul_op.cpp \
30 <    ../macos_util.cpp ../xpram.cpp ../timer.cpp ../adb.cpp ../serial.cpp ../ether.cpp ../sony.cpp \
31 <    ../disk.cpp ../cdrom.cpp ../scsi.cpp ../video.cpp ../audio.cpp ../user_strings.cpp \
32 <    main_unix.cpp prefs_unix.cpp sys_unix.cpp xpram_unix.cpp timer_unix.cpp clip_unix.cpp \
33 <    serial_unix.cpp video_x.cpp \
29 > SRCS = main_unix.cpp ../prefs.cpp prefs_unix.cpp sys_unix.cpp ../rom_patches.cpp \
30 >    ../slot_rom.cpp ../rsrc_patches.cpp ../emul_op.cpp ../macos_util.cpp \
31 >    ../xpram.cpp xpram_unix.cpp ../timer.cpp timer_unix.cpp clip_unix.cpp \
32 >    ../adb.cpp ../serial.cpp serial_unix.cpp ../ether.cpp ../sony.cpp \
33 >    ../disk.cpp ../cdrom.cpp ../scsi.cpp ../video.cpp video_x.cpp ../audio.cpp \
34 >    ../user_strings.cpp user_strings_unix.cpp \
35      $(SYSSRCS) $(CPUSRCS)
36   APP = BasiliskII
37  
38   ## Rules
39 < .PHONY: clean distclean realclean depend
39 > .PHONY: modules install uninstall clean distclean depend
40 > .SUFFIXES:
41 > .SUFFIXES: .c .cpp .s .o .h
42  
43 < default: $(APP)
43 > all: $(APP)
44  
45   OBJ_DIR = obj
46   $(OBJ_DIR)::
# Line 58 | Line 63 | modules:
63          cd Linux/NetDriver; make
64  
65   install: $(APP)
66 <        $(INSTALL_PROGRAM) BasiliskII $(bindir)/
67 <        $(INSTALL_DATA) BasiliskII.1 $(mandir)/man1/
68 <        $(INSTALL) -d $(sharedir)
69 <        $(INSTALL_DATA) keycodes $(sharedir)
66 >        $(INSTALL_PROGRAM) $(APP) $(bindir)/$(APP)
67 >        -$(INSTALL_DATA) $(APP).1 $(man1dir)/$(APP).1
68 >        $(INSTALL) -d $(datadir)/$(APP)
69 >        $(INSTALL_DATA) keycodes $(datadir)/$(APP)/keycodes
70  
71   uninstall:
72 <        -rm -f $(bindir)/BasiliskII
73 <        -rm -f $(mandir)/man1/BasiliskII.1
74 <        -rm -rf $(sharedir)
75 <
71 < clean:
72 <        -rm -f $(OBJ_DIR)/* core* *.core *~ *.bak
73 <        -rm -f cpuemu.cpp cpudefs.cpp cputmp.s cpufast*.s cpustbl.cpp cputbl.h
72 >        rm -f $(bindir)/$(APP)
73 >        rm -f $(man1dir)/$(APP).1
74 >        rm -f $(datadir)/$(APP)/keycodes
75 >        rmdir $(datadir)/$(APP)
76  
77 < distclean: clean
78 <        -rm -f Makefile
79 <        -rm -f config.cache config.log config.status config.h
80 <        -strip $(APP)
77 > mostlyclean:
78 >        rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak
79 >
80 > clean: mostlyclean
81 >        rm -f cpuemu.cpp cpudefs.cpp cputmp.s cpufast*.s cpustbl.cpp cputbl.h
82  
83 < realclean: distclean
84 <        -rm -f $(APP)
83 > distclean: clean
84 >        rm -rf $(OBJ_DIR)
85 >        rm -f Makefile
86 >        rm -f config.cache config.log config.status config.h
87  
88   depend dep:
89 <        makedepend $(CPPFLAGS) -Y ../*.cpp ../*.c *.cpp
89 >        makedepend $(CPPFLAGS) -Y. $(SRCS) 2>/dev/null
90  
91   $(OBJ_DIR)/%.o : %.c
92          $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c $< -o $@

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines