2 |
|
|
3 |
|
## System specific configuration |
4 |
|
@SET_MAKE@ |
5 |
+ |
|
6 |
+ |
prefix=@prefix@ |
7 |
+ |
exec_prefix=@exec_prefix@ |
8 |
+ |
bindir=$(exec_prefix)/bin |
9 |
+ |
sharedir=$(prefix)/share/BasiliskII |
10 |
+ |
mandir=$(prefix)/man |
11 |
+ |
|
12 |
|
CC = @CC@ |
13 |
|
CXX = @CXX@ |
14 |
|
CFLAGS = @CFLAGS@ |
15 |
|
CXXFLAGS = @CXXFLAGS@ |
16 |
|
CPPFLAGS = @CPPFLAGS@ -I../include -I. @CPUINCLUDES@ |
17 |
< |
DEFS = @DEFS@ @DEFINES@ -D_REENTRANT |
17 |
> |
DEFS = @DEFS@ @DEFINES@ -D_REENTRANT -DSHAREDIR=\"$(sharedir)\" |
18 |
|
LDFLAGS = @LDFLAGS@ |
19 |
|
LIBS = @LIBS@ |
20 |
|
SYSSRCS = @SYSSRCS@ |
21 |
|
CPUSRCS = @CPUSRCS@ |
22 |
< |
|
23 |
< |
prefix=@prefix@ |
24 |
< |
exec_prefix=@exec_prefix@ |
18 |
< |
bindir=$(exec_prefix)/bin |
19 |
< |
libdir=$(exec_prefix)/lib |
20 |
< |
mandir=$(prefix)/man |
21 |
< |
INSTALL=@INSTALL@ |
22 |
< |
INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
23 |
< |
INSTALL_DATA=@INSTALL_DATA@ |
22 |
> |
INSTALL = @INSTALL@ |
23 |
> |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s |
24 |
> |
INSTALL_DATA = @INSTALL_DATA@ |
25 |
|
|
26 |
|
## Files |
27 |
|
SRCS=../prefs.cpp ../rom_patches.cpp ../slot_rom.cpp ../rsrc_patches.cpp ../emul_op.cpp \ |
58 |
|
cd Linux/NetDriver; make |
59 |
|
|
60 |
|
install: $(APP) |
61 |
< |
$(INSTALL_PROGRAM) -s BasiliskII $(bindir) |
61 |
> |
$(INSTALL_PROGRAM) BasiliskII $(bindir)/ |
62 |
|
$(INSTALL_DATA) BasiliskII.1 $(mandir)/man1/ |
63 |
< |
$(INSTALL_DATA) basilisk_ii_keycodes $(libdir) |
63 |
> |
$(INSTALL) -d $(sharedir) |
64 |
> |
$(INSTALL_DATA) keycodes $(sharedir) |
65 |
> |
|
66 |
> |
uninstall: |
67 |
> |
-rm -f $(bindir)/BasiliskII |
68 |
> |
-rm -f $(mandir)/man1/BasiliskII.1 |
69 |
> |
-rm -rf $(sharedir) |
70 |
|
|
71 |
|
clean: |
72 |
|
-rm -f $(OBJ_DIR)/* core* *.core *~ *.bak |