(file) Return to library-windows.mak CVS log (file) (dir) Up to [Pegasus] / pegasus / mak

 1 martin 1.14 #//%2005////////////////////////////////////////////////////////////////////////
 2             #//
 3             #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 4             #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
 5             #// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
 6             #// IBM Corp.; EMC Corporation, The Open Group.
 7             #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
 8             #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
 9             #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10             #// EMC Corporation; VERITAS Software Corporation; The Open Group.
11             #//
12             #// Permission is hereby granted, free of charge, to any person obtaining a copy
13             #// of this software and associated documentation files (the "Software"), to
14             #// deal in the Software without restriction, including without limitation the
15             #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
16             #// sell copies of the Software, and to permit persons to whom the Software is
17             #// furnished to do so, subject to the following conditions:
18             #// 
19             #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
20             #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
21             #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
22 martin 1.14 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
23             #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
24             #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
25             #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26             #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27             #//
28             #//==============================================================================
29 tony   1.9  FULL_LIB = $(LIB_DIR)/$(LIBRARY)$(LIB_SUFFIX)
30             FULL_DLL = $(BIN_DIR)/$(LIBRARY)$(DLL)
31             FULL_EXP = $(BIN_DIR)/$(LIBRARY)$(EXP)
32             FULL_ILK = $(BIN_DIR)/$(LIBRARY)$(ILK)
33             FULL_PDB = $(BIN_DIR)/$(LIBRARY)$(PDB)
34 mike   1.1  
35 mike   1.4  ##
36             ## ws2_32.lib is needed to get the WINSOCK routines!
37             ##
38             
39 mike   1.15 ##
40             ## The next four lines define a variable (called NL) that contains a simple
41             ## newline. The two blank lines are needed (please do not remove).
42             ##
43             define NL
44             
45             
46             endef
47             
48             ##
49             ## The name of the link file to be used by the Windows link command. This is
50             ## only used when SOURCES1 is defined.
51             ## 
52             LINKFILE=$(LIB_DIR)/linkfile
53             
54             ifdef SOURCES1
55 mike   1.8  $(FULL_LIB): $(BIN_DIR)/target $(LIB_DIR)/target $(OBJ_DIR)/target $(OBJECTS) $(FULL_LIBRARIES) $(ERROR)
56 mike   1.15 	@ $(ECHO) "Creating $(LINKFILE)"
57             	@ $(RM) $(LINKFILE)
58             	@ $(foreach i, $(OBJECTS), echo $(i) >> $(LINKFILE) $(NL) )
59             	link -nologo -dll $(LINK_FLAGS) $(EXTRA_LINK_FLAGS) -out:$(FULL_DLL) -implib:$(FULL_LIB) @$(LINKFILE) $(FULL_LIBRARIES) $(SYS_LIBS) $(EXTRA_LIBRARIES)
60             else
61 h.sterling 1.13 	link -nologo -dll $(LINK_FLAGS) $(EXTRA_LINK_FLAGS) -out:$(FULL_DLL) -implib:$(FULL_LIB) $(OBJECTS) $(FULL_LIBRARIES) $(SYS_LIBS) $(EXTRA_LIBRARIES)
62 mike       1.15 endif
63 mike       1.1  
64                 FILES_TO_CLEAN = \
65 tony       1.10     $(OBJECTS) $(FULL_LIB) $(FULL_DLL) $(FULL_EXP) $(FULL_ILK) $(FULL_PDB) $(OBJ_DIR)/vc60$(PDB) $(OBJ_DIR)/vc70$(PDB) depend.mak depend.mak.bak
66 mike       1.1  
67                 clean-lib: $(ERROR)
68                 	mu rm $(FULL_LIB) $(FULL_DLL) $(FULL_EXP)

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2