blob: 7eeaad64be40c9530c286fc6ae1ec9ce736fe3cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#
# $Id$
#
# Rules for installing files
#
# This ugliness is to remove extra spaces from between the items in the list.
INSTALL_TYPES_1 = $(INSTALL_TYPES) $(BLANK_SPACE)
INSTALL_TYPES_2 = $(INSTALL_TYPES_1: =%)
INSTALL_TYPES_3 = $(INSTALL_TYPES_2:%%=%)
INSTALL_TYPES_4 = $(INSTALL_TYPES_3:%%=%)
INSTALL_TYPES_5 = $(INSTALL_TYPES_4:%=_install )
!ifdef INSTALL_THIS_TARGET
install: $(INSTALL_TYPES_5)
!else
install:
!endif
@echo Do Nothing 1> NUL
exe_install: $(TARGET) $(CORE_TARGET)
@$(MAKE_INSTALL_EXEDIR)
-copy "$(TARGET)" $(INSTALL_EXEDIR) 1> NUL
!ifdef DEBUG
dll_install: $(TARGET) $(TARGET:.dll=.tds)
!else
dll_install: $(TARGET)
!endif
@$(MAKE_INSTALL_DLLDIR)
-© "$**" $(INSTALL_DLLDIR) 1> NUL
lib_install: $(TARGET:.dll=.lib)
@$(MAKE_INSTALL_LIBDIR)
-© "$**" $(INSTALL_LIBDIR) 1> NUL
!ifndef INCLUDES_INSTALL
includes_install: $(INCLUDES)
@$(MAKE_INSTALL_INCDIR)
-© "$**" $(INSTALL_INCDIR) 1> NUL
!endif
|