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

Contents of /branches/Eiffel_15.01/Src/library/com/Clib_runtime/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: 1706 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 = ecom_runtime_c_e.$obj ecom_runtime_ce_arrays.$obj ecom_runtime_e_c.$obj ecom_runtime.$obj
20 MT_OBJECTS = MTecom_runtime_c_e.$obj MTecom_runtime_ce_arrays.$obj MTecom_runtime_e_c.$obj MTecom_runtime.$obj
21
22 .c.$obj:
23 $(CC) -c $(JCFLAGS) $<
24
25 .cpp.$obj:
26 $(CC) -c $(JCFLAGS) $<
27
28 all:: $output_libraries
29 $(MAKE) clean
30
31 standard:: com_runtime.lib
32 mtstandard:: mtcom_runtime.lib
33
34 clean:
35 $(RM) *.$obj
36 $(RM) *.lib
37 $(RM) *.BAK
38
39 com_runtime.lib: $(OBJECTS)
40 $alib_line
41 $(MKDIR) ..$(DIR)spec$(DIR)$(ISE_C_COMPILER)$(DIR)$(ISE_PLATFORM)$(DIR)lib
42 $(MV) $@ ..$(DIR)spec$(DIR)$(ISE_C_COMPILER)$(DIR)$(ISE_PLATFORM)$(DIR)lib$(DIR)$@
43
44 mtcom_runtime.lib: $(MT_OBJECTS)
45 $alib_line
46 $(MKDIR) ..$(DIR)spec$(DIR)$(ISE_C_COMPILER)$(DIR)$(ISE_PLATFORM)$(DIR)lib
47 $(MV) $@ ..$(DIR)spec$(DIR)$(ISE_C_COMPILER)$(DIR)$(ISE_PLATFORM)$(DIR)lib$(DIR)$@
48
49 #Multithreaded targets.
50 MTecom_runtime_c_e.$obj: ecom_runtime_c_e.cpp
51 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
52
53 MTecom_runtime_ce_arrays.$obj: ecom_runtime_ce_arrays.cpp
54 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
55
56 MTecom_runtime_e_c.$obj: ecom_runtime_e_c.cpp
57 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
58
59 MTecom_runtime.$obj: ecom_runtime.cpp
60 $(CC) $(JMTCFLAGS) $(OUTPUT_CMD)$@ -c $?
61

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23