mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-08-16 02:27:31 +00:00
Link keycodes & tunconfig files, DESTDIR'ify Unix/Makefile
This commit is contained in:
@@ -60,6 +60,7 @@ links:
|
|||||||
Unix/sigsegv.h Unix/sigsegv.cpp Unix/vm_alloc.h Unix/vm_alloc.cpp \
|
Unix/sigsegv.h Unix/sigsegv.cpp Unix/vm_alloc.h Unix/vm_alloc.cpp \
|
||||||
Unix/posix_sem.cpp Unix/video_vosf.h Unix/video_blit.h \
|
Unix/posix_sem.cpp Unix/video_vosf.h Unix/video_blit.h \
|
||||||
Unix/video_blit.cpp Unix/config.sub Unix/config.guess \
|
Unix/video_blit.cpp Unix/config.sub Unix/config.guess \
|
||||||
|
Unix/keycodes Unix/tunconfig \
|
||||||
Unix/Linux/scsi_linux.cpp Unix/Linux/NetDriver\
|
Unix/Linux/scsi_linux.cpp Unix/Linux/NetDriver\
|
||||||
Unix/Darwin/lowmem.c Unix/Darwin/pagezero.c \
|
Unix/Darwin/lowmem.c Unix/Darwin/pagezero.c \
|
||||||
Unix/Darwin/testlmem.sh dummy/audio_dummy.cpp \
|
Unix/Darwin/testlmem.sh dummy/audio_dummy.cpp \
|
||||||
|
@@ -11,6 +11,8 @@ datadir = @datadir@
|
|||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
man1dir = $(mandir)/man1
|
man1dir = $(mandir)/man1
|
||||||
|
|
||||||
|
DESTDIR =
|
||||||
|
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
CXX = @CXX@
|
CXX = @CXX@
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
@@ -76,15 +78,20 @@ modules:
|
|||||||
cd NetDriver; make
|
cd NetDriver; make
|
||||||
|
|
||||||
install: $(APP) installdirs
|
install: $(APP) installdirs
|
||||||
$(INSTALL_PROGRAM) $(APP) $(bindir)/$(APP)
|
$(INSTALL_PROGRAM) $(APP) $(DESTDIR)$(bindir)/$(APP)
|
||||||
-$(INSTALL_DATA) $(APP).1 $(man1dir)/$(APP).1
|
-$(INSTALL_DATA) $(APP).1 $(DESTDIR)$(man1dir)/$(APP).1
|
||||||
|
$(INSTALL_DATA) keycodes $(DESTDIR)$(datadir)/$(APP)/keycodes
|
||||||
|
$(INSTALL_DATA) tunconfig $(DESTDIR)$(datadir)/$(APP)/tunconfig
|
||||||
|
|
||||||
installdirs:
|
installdirs:
|
||||||
$(SHELL) mkinstalldirs $(bindir) $(man1dir)
|
$(SHELL) mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(datadir)/$(APP)
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(bindir)/$(APP)
|
rm -f $(DESTDIR)$(bindir)/$(APP)
|
||||||
rm -f $(man1dir)/$(APP).1
|
rm -f $(DESTDIR)$(man1dir)/$(APP).1
|
||||||
|
rm -f $(DESTDIR)$(datadir)/$(APP)/keycodes
|
||||||
|
rm -f $(DESTDIR)$(datadir)/$(APP)/tunconfig
|
||||||
|
rmdir $(DESTDIR)$(datadir)/$(APP)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak ppc-execute-impl.cpp
|
rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak ppc-execute-impl.cpp
|
||||||
|
Reference in New Issue
Block a user