/[eiffelstudio]/branches/Eiffel_15.01/Src/library/com/Clib/Makefile-win.SH
ViewVC logotype

Contents of /branches/Eiffel_15.01/Src/library/com/Clib/Makefile-win.SH

Parent Directory Parent Directory | Revision Log Revision Log


Revision 96655 - (show annotations)
Thu Feb 19 09:45:22 2015 UTC (4 years, 7 months ago) by manus
File MIME type: application/x-sh
File size: 3460 byte(s)
Merged from trunk rev#96592:
Added -D_ALLOW_MSC_VER_MISMATCH so that the code compiles with any versions of the Microsoft C++ compiler. This should be safe since we do not use any C++ standard libraries.

1 TOP = ..
2 DIR = $dir_sep
3 OUTDIR= .
4 INDIR= .
5 CC = $cc
6 OUTPUT_CMD = $output_cmd
7 CFLAGS = -I"$rt_include" -I..$(DIR)spec$(DIR)windows$(DIR)include -I. -I..$(DIR)spec$(DIR)windows$(DIR)include -D_WIN32_DCOM -D_ALLOW_MSC_VER_MISMATCH
8 JCFLAGS = $(CFLAGS) $ccflags $optimize
9 JMTCFLAGS = $(CFLAGS) $mtccflags $optimize
10 JILCFLAGS = $(CFLAGS) $mtccflags $optimize -DEIF_IL_DLL
11 LN = copy
12 MV = $mv
13 RM = $del
14 MAKE = $make
15 MKDIR = $mkdir
16 LINK = $link32
17 DLL_FLAGS = $dll_flags
18 DLL_LIBS = $dll_libs
19 OBJECTS = E_variant.$obj E_IRootStorage.$obj E_IStorage.$obj E_IStream.$obj E_wide_string.$obj \
20 E_Routines.$obj ecom_exception.$obj E_arraydesc.$obj E_custdata.$obj E_bstr.$obj E_Currency.$obj \
21 E_Decimal.$obj E_generic_interface.$obj E_automation_interface.$obj ecom_font_impl_proxy.$obj \
22 ecom_ienumvariant_impl_proxy.$obj ecom_ifont_impl_proxy.$obj ecom_picture_impl_proxy.$obj
23 MT_OBJECTS = MTE_variant.$obj MTE_IRootStorage.$obj MTE_IStorage.$obj MTE_IStream.$obj MTE_wide_string.$obj \
24 MTE_Routines.$obj MTecom_exception.$obj MTE_arraydesc.$obj MTE_custdata.$obj MTE_bstr.$obj MTE_Currency.$obj \
25 MTE_Decimal.$obj MTE_generic_interface.$obj MTE_automation_interface.$obj MTecom_font_impl_proxy.$obj \
26 MTecom_ienumvariant_impl_proxy.$obj MTecom_ifont_impl_proxy.$obj MTecom_picture_impl_proxy.$obj
27
28 .c.$obj:
29 $(CC) -c $(JCFLAGS) $<
30
31 .cpp.$obj:
32 $(CC) -c $(JCFLAGS) $<
33
34 all:: $output_libraries
35 $(MAKE) clean
36
37 standard:: com.lib
38 mtstandard:: mtcom.lib
39
40 clean:
41 $(RM) *.$obj
42 $(RM) *.lib
43 $(RM) *.BAK
44
45 com.lib: $(OBJECTS)
46 $alib_line
47 $(MKDIR) ..$(DIR)spec$(DIR)$(ISE_C_COMPILER)$(DIR)$(ISE_PLATFORM)$(DIR)lib
48 $(MV) $@ ..$(DIR)spec$(DIR)$(ISE_C_COMPILER)$(DIR)$(ISE_PLATFORM)$(DIR)lib$(DIR)$@
49
50 mtcom.lib: $(MT_OBJECTS)
51 $alib_line
52 $(MKDIR) ..$(DIR)spec$(DIR)$(ISE_C_COMPILER)$(DIR)$(ISE_PLATFORM)$(DIR)lib
53 $(MV) $@ ..$(DIR)spec$(DIR)$(ISE_C_COMPILER)$(DIR)$(ISE_PLATFORM)$(DIR)lib$(DIR)$@
54
55 #Multithreaded targets.
56 MTE_variant.$obj: E_variant.cpp
57 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
58
59 MTE_IRootStorage.$obj: E_IRootStorage.cpp
60 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
61
62 MTE_IStorage.$obj: E_IStorage.cpp
63 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
64
65 MTE_IStream.$obj: E_IStream.cpp
66 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
67
68 MTE_wide_string.$obj: E_wide_string.c
69 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
70
71 MTE_Routines.$obj: E_Routines.cpp
72 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
73
74 MTecom_exception.$obj: ecom_exception.cpp
75 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
76
77 MTE_arraydesc.$obj: E_arraydesc.c
78 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
79
80 MTE_custdata.$obj: E_custdata.c
81 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
82
83 MTE_bstr.$obj: E_bstr.cpp
84 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
85
86 MTE_Currency.$obj: E_Currency.c
87 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
88
89 MTE_Decimal.$obj: E_Decimal.c
90 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
91
92 MTE_generic_interface.$obj: E_generic_interface.cpp
93 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
94
95 MTE_automation_interface.$obj: E_automation_interface.cpp
96 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
97
98 MTecom_font_impl_proxy.$obj: ecom_font_impl_proxy.cpp
99 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
100
101 MTecom_ienumvariant_impl_proxy.$obj: ecom_ienumvariant_impl_proxy.cpp
102 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
103
104 MTecom_ifont_impl_proxy.$obj: ecom_ifont_impl_proxy.cpp
105 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
106
107 MTecom_picture_impl_proxy.$obj: ecom_picture_impl_proxy.cpp
108 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
109

Properties

Name Value
svn:eol-style native
svn:keywords Author Date ID Revision

  ViewVC Help
Powered by ViewVC 1.1.23