mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
Starting to use automake... mostly stubbed now
This commit is contained in:
0
guacamole/libguac/AUTHORS
Normal file
0
guacamole/libguac/AUTHORS
Normal file
0
guacamole/libguac/COPYING
Normal file
0
guacamole/libguac/COPYING
Normal file
0
guacamole/libguac/ChangeLog
Normal file
0
guacamole/libguac/ChangeLog
Normal file
0
guacamole/libguac/INSTALL
Normal file
0
guacamole/libguac/INSTALL
Normal file
@@ -1,38 +0,0 @@
|
|||||||
|
|
||||||
CFLAGS+= -fPIC -pedantic -Wall -Werror -Iinclude
|
|
||||||
LDFLAGS=-lpng -luuid
|
|
||||||
|
|
||||||
.PHONY: clean doc
|
|
||||||
|
|
||||||
all: libguac.so
|
|
||||||
|
|
||||||
doc:
|
|
||||||
doxygen
|
|
||||||
|
|
||||||
clean-doc:
|
|
||||||
$(RM) -R doc
|
|
||||||
|
|
||||||
libguac.so: client.o guacio.o protocol.o clientreg.o uuidtree.o
|
|
||||||
$(CC) -shared $(LDFLAGS) -Wl,-soname,libguac.so.0 -o libguac.so client.o protocol.o guacio.o clientreg.o uuidtree.o
|
|
||||||
|
|
||||||
client.o: client.c include/client.h include/guacio.h
|
|
||||||
$(CC) $(CFLAGS) -c client.c
|
|
||||||
|
|
||||||
clientreg.o: clientreg.c include/uuidtree.h include/client.h
|
|
||||||
$(CC) $(CFLAGS) -c clientreg.c
|
|
||||||
|
|
||||||
uuidtree.o: uuidtree.c include/uuidtree.h
|
|
||||||
$(CC) $(CFLAGS) -c uuidtree.c
|
|
||||||
|
|
||||||
protocol.o: protocol.c include/protocol.h include/guacio.h
|
|
||||||
$(CC) $(CFLAGS) -c protocol.c
|
|
||||||
|
|
||||||
guacio.o: guacio.c include/guacio.h
|
|
||||||
$(CC) $(CFLAGS) -c guacio.c
|
|
||||||
|
|
||||||
clean:
|
|
||||||
$(RM) *.o *.so
|
|
||||||
|
|
||||||
distclean: clean
|
|
||||||
$(RM) *~
|
|
||||||
|
|
8
guacamole/libguac/Makefile.am
Normal file
8
guacamole/libguac/Makefile.am
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
AUTOMAKE_OPTIONS = gnu
|
||||||
|
lib_LTLIBRARIES = libguac.la
|
||||||
|
|
||||||
|
libguac_la_SOURCES = client.c clientreg.c guacio.c protocol.c uuidtree.c
|
||||||
|
include_HEADERS = include/client.h include/guacio.h include/protocol.h include/uuidtree.h
|
||||||
|
|
||||||
|
libguac_la_LDFLAGS = -version-info 0:0:0
|
||||||
|
|
0
guacamole/libguac/NEWS
Normal file
0
guacamole/libguac/NEWS
Normal file
0
guacamole/libguac/README
Normal file
0
guacamole/libguac/README
Normal file
28
guacamole/libguac/configure.in
Normal file
28
guacamole/libguac/configure.in
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# -*- Autoconf -*-
|
||||||
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
|
AC_INIT(client.c)
|
||||||
|
AM_INIT_AUTOMAKE(libguac, 0.0.1)
|
||||||
|
|
||||||
|
# Checks for programs.
|
||||||
|
AC_PROG_CC
|
||||||
|
AC_PROG_LIBTOOL
|
||||||
|
|
||||||
|
# Checks for libraries.
|
||||||
|
AC_CHECK_LIB([png], [png_write_png])
|
||||||
|
AC_CHECK_LIB([uuid], [uuid_generate])
|
||||||
|
|
||||||
|
# Checks for header files.
|
||||||
|
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/socket.h sys/time.h syslog.h unistd.h])
|
||||||
|
|
||||||
|
# Checks for typedefs, structures, and compiler characteristics.
|
||||||
|
AC_TYPE_SIZE_T
|
||||||
|
AC_TYPE_SSIZE_T
|
||||||
|
|
||||||
|
# Checks for library functions.
|
||||||
|
AC_FUNC_MALLOC
|
||||||
|
AC_FUNC_REALLOC
|
||||||
|
AC_CHECK_FUNCS([gettimeofday memmove memset select strdup])
|
||||||
|
|
||||||
|
AC_CONFIG_FILES([Makefile])
|
||||||
|
AC_OUTPUT
|
Reference in New Issue
Block a user