(file) Return to cxxmakefile_t.h CVS log (file) (dir) Up to [OMI] / omi / gen

 1 mike  1.1 /*
 2           **==============================================================================
 3           **
 4           ** Open Management Infrastructure (OMI)
 5           **
 6           ** Copyright (c) Microsoft Corporation
 7           ** 
 8           ** Licensed under the Apache License, Version 2.0 (the "License"); you may not 
 9           ** use this file except in compliance with the License. You may obtain a copy 
10           ** of the License at 
11           **
12           **     http://www.apache.org/licenses/LICENSE-2.0 
13           **
14           ** THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15           ** KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 
16           ** WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 
17           ** MERCHANTABLITY OR NON-INFRINGEMENT. 
18           **
19           ** See the Apache 2 License for the specific language governing permissions 
20           ** and limitations under the License.
21           **
22 mike  1.1 **==============================================================================
23           */
24           
25           #define CXXMAKEFILE_TEMPLATE "\
26           include <OMIMAK>\n\
27           \n\
28           PROVIDER = <PROVIDER>\n\
29           SOURCES = <SOURCES>\n\
30           CLASSES = <CLASSES>\n\
31           \n\
32           $(LIBRARY): $(OBJECTS)\n\
33           	$(CXX) $(CXXSHLIBFLAGS) $(OBJECTS) -o $(LIBRARY) $(CXXLIBS)\n\
34           \n\
35           %.o: %.c\n\
36           	$(CC) -c $(CFLAGS) $(INCLUDES) $< $(CLIBS) -o $@\n\
37           \n\
38           %.o: %.cpp\n\
39           	$(CXX) -c $(CXXFLAGS) $(INCLUDES) $< -o $@\n\
40           \n\
41           reg:\n\
42           	$(BINDIR)/omireg $(CURDIR)/$(LIBRARY)\n\
43 mike  1.1 \n\
44           gen:\n\
45           	$(BINDIR)/omigen <CMDLINE>\n\
46           \n\
47           clean:\n\
48           	rm -f $(LIBRARY) $(OBJECTS) $(PROVIDER).reg\n\
49           \n\n"

ViewCVS 0.9.2