diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-11-19 15:59:26 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-11-19 15:59:26 +0100 |
commit | 5e502cbb195be17d5d742295f4a2e6f0c603a8d7 (patch) | |
tree | f9e188b59c7e608bc862dd740ecd459c5a83dfc9 /nxcompext/Makefile.in | |
parent | a48361b11a5abb5a345dac5ec83a8f56c4d50b74 (diff) | |
parent | 88dace9a99687840f3fb341f0316cd94399cae9e (diff) | |
download | nx-libs-5e502cbb195be17d5d742295f4a2e6f0c603a8d7.tar.gz nx-libs-5e502cbb195be17d5d742295f4a2e6f0c603a8d7.tar.bz2 nx-libs-5e502cbb195be17d5d742295f4a2e6f0c603a8d7.zip |
Merge branch 'nxcompext'
Diffstat (limited to 'nxcompext/Makefile.in')
-rw-r--r-- | nxcompext/Makefile.in | 162 |
1 files changed, 162 insertions, 0 deletions
diff --git a/nxcompext/Makefile.in b/nxcompext/Makefile.in new file mode 100644 index 000000000..cdf0b1cd9 --- /dev/null +++ b/nxcompext/Makefile.in @@ -0,0 +1,162 @@ +############################################################################ +# # +# Copyright (c) 2001, 2007 NoMachine, http://www.nomachine.com. # +# # +# NXCOMPEXT, NX protocol compression and NX extensions to this software # +# are copyright of NoMachine. Redistribution and use of the present # +# software is allowed according to terms specified in the file LICENSE # +# which comes in the source distribution. # +# # +# Check http://www.nomachine.com/licensing.html for applicability. # +# # +# NX and NoMachine are trademarks of NoMachine S.r.l. # +# # +# All rights reserved. # +# # +############################################################################ + +# +# Get values from configure script. +# + +VERSION=@VERSION@ +LIBVERSION=@LIBVERSION@ + +# +# We want to enable really all warnings. -Wredundant-decls, +# though, gives a warning caused by pthread.h and unistd.h. +# + +CXX = @CXX@ +CXXFLAGS = @CXXFLAGS@ @X_CFLAGS@ @DEFS@ \ + -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ + -Wmissing-declarations -Wnested-externs +CXXINCLUDES = -I. -I../nxcomp +CXXDEFINES = + +CC = @CC@ +CCFLAGS = @CFLAGS@ @X_CFLAGS@ @DEFS@ \ + -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ + -Wmissing-declarations -Wnested-externs +CCINCLUDES = -I. -I../nxcomp +CCDEFINES = + +LDFLAGS = @LDFLAGS@ -L../nxcomp +LIBS = @LIBS@ -lz -lX11 -lXcomp + +# +# Only if THREADS is defined +# +# LIBS = @LIBS@ -lz -ljpeg -lpthread -lX11 -lXcomp +# + +srcdir = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ +bindir = @bindir@ +man1dir = @mandir@/man1 +VPATH = @srcdir@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ + +# +# This should be autodetected. +# + +MAKEDEPEND = @MAKEDEPEND@ +DEPENDINCLUDES = -I/usr/include/c++ -I/usr/include/g++ -I/usr/include/g++-3 + +.SUFFIXES: .cpp.c + +.cpp.o: + $(CXX) -c $(CXXFLAGS) $(CXXINCLUDES) $< +.c.o: + $(CC) -c $(CCFLAGS) $(CCINCLUDES) $< + +LIBRARY = Xcompext + +LIBNAME = lib$(LIBRARY) +LIBFULL = lib$(LIBRARY).so.$(VERSION) +LIBLOAD = lib$(LIBRARY).so.$(LIBVERSION) +LIBSHARED = lib$(LIBRARY).so +LIBARCHIVE = lib$(LIBRARY).a + +LIBCYGSHARED = cyg$(LIBRARY).dll +LIBCYGARCHIVE = lib$(LIBRARY).dll.a + +all: depend @ALL@ + +MSRC= + +CSRC= NXlib.c \ + Clean.c \ + Mask.c \ + Colormap.c \ + Alpha.c \ + Jpeg.c \ + Pgn.c \ + Bitmap.c \ + Rgb.c \ + Rle.c \ + Z.c + +CXXSRC= + +MOBJ = $(MSRC:.c=.o) +COBJ = $(CSRC:.c=.o) +CXXOBJ = $(CXXSRC:.cpp=.o) + +$(LIBFULL): $(CXXOBJ) $(COBJ) + $(CXX) -o $@ $(LDFLAGS) $(CXXOBJ) $(COBJ) $(LIBS) + +$(LIBLOAD): $(LIBFULL) + rm -f $(LIBLOAD) + ln -s $(LIBFULL) $(LIBLOAD) + +$(LIBSHARED): $(LIBFULL) + rm -f $(LIBSHARED) + ln -s $(LIBFULL) $(LIBSHARED) + +$(LIBARCHIVE): $(CXXOBJ) $(COBJ) + rm -f $(LIBARCHIVE) + ar clq $(LIBARCHIVE) $(CXXOBJ) $(COBJ) + ranlib $(LIBARCHIVE) + +$(LIBCYGSHARED): $(LIBARCHIVE) + $(CC) -shared -o $(LIBCYGSHARED) \ + -Wl,--out-implib=$(LIBCYGARCHIVE) \ + -Wl,--export-all-symbols \ + -Wl,--enable-auto-import \ + -Wl,--whole-archive $(LIBARCHIVE) \ + -Wl,--no-whole-archive $(LIBS) \ + $(LDFLAGS) + +$(LIBCYGARCHIVE): $(LIBCYGSHARED) + +depends: depend.status + +depend: depend.status + +depend.status: + if [ -x $(MAKEDEPEND) ] ; then \ + $(MAKEDEPEND) $(CXXINCLUDES) $(CCINCLUDES) \ + $(DEPENDINCLUDES) -f Makefile $(MSRC) $(CSRC) \ + $(CXXSRC) 2>/dev/null; \ + fi + touch depend.status + +install: install.bin install.man + +install.bin: + +install.man: + +clean: + -rm -f *~ *.o *.bak *.orig *.rej st?????? core core.* *.out.* \ + @ALL@ + +distclean: clean + -rm -rf autom4te.cache config.status config.log \ + config.cache depend.status Makefile tags |