mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +00:00 
			
		
		
		
	Link with C++ linker
This commit is contained in:
		
							parent
							
								
									68027a6aa0
								
							
						
					
					
						commit
						44baf5431b
					
				
					 4 changed files with 24 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -17,6 +17,12 @@ DEPLIBS = $(DEPDTHELPLIB) $(DEPDTSVCLIB) $(DEPTTLIB) $(DEPXMLIB) $(DEPXTOOLLIB)
 | 
			
		|||
LOCAL_LIBRARIES = $(DTHELPLIB) $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB)
 | 
			
		||||
SYS_LIBRARIES = DtClientSysLibs $(CXXLIB)
 | 
			
		||||
 | 
			
		||||
XCOMM On Linux once you link against a C++ library the whole program
 | 
			
		||||
XCOMM has to be linked with the C++ linker
 | 
			
		||||
#if defined(LinuxDistribution)
 | 
			
		||||
CCLINK = $(CXX)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
SRCS = Main.c HourGlass.c HelpCache.c
 | 
			
		||||
OBJS = Main.o HourGlass.o HelpCache.o
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,6 +11,12 @@ SYS_LIBRARIES = DtClientSysLibs $(CXXLIB)
 | 
			
		|||
 | 
			
		||||
EXTRA_INCLUDES = -I$(DTHELPSRC)
 | 
			
		||||
 | 
			
		||||
XCOMM On Linux once you link against a C++ library the whole program
 | 
			
		||||
XCOMM has to be linked with the C++ linker
 | 
			
		||||
#if defined(LinuxDistribution)
 | 
			
		||||
CCLINK = $(CXX)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
SRCS = helpgen.c version.c
 | 
			
		||||
OBJS = helpgen.o version.o
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,6 +16,12 @@ SYS_LIBRARIES = DtClientSysLibs -lw $(CXXLIB)
 | 
			
		|||
SYS_LIBRARIES = DtClientSysLibs $(CXXLIB)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
XCOMM On Linux once you link against a C++ library the whole program
 | 
			
		||||
XCOMM has to be linked with the C++ linker
 | 
			
		||||
#if defined(LinuxDistribution)
 | 
			
		||||
CCLINK = $(CXX)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
SRCS = Main.c Initialize.c PrintUtil.c PrintTopics.c PrintManStrFile.c version.c
 | 
			
		||||
OBJS = Main.o Initialize.o PrintUtil.o PrintTopics.o PrintManStrFile.o version.o
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,12 @@
 | 
			
		|||
XCOMM $XConsortium: Imakefile /main/7 1996/09/14 15:26:44 drk $
 | 
			
		||||
PROGRAMS = dthelpview
 | 
			
		||||
 | 
			
		||||
XCOMM On Linux once you link against a C++ library the whole program
 | 
			
		||||
XCOMM has to be linked with the C++ linker
 | 
			
		||||
#if defined(LinuxDistribution)
 | 
			
		||||
CCLINK = $(CXX)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
DEFINES = -D_BMS
 | 
			
		||||
INCLUDES = -I. 
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue