aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-08-21 16:51:41 -0500
committerTed Gould <ted@gould.cx>2012-08-21 16:51:41 -0500
commit0be46b1a52e930f90dfcd36f6b7fbb970bde7d88 (patch)
treefa7e6e340e69c638b2a6d402849fcc676d190e38
parent718f39acbbacf859cb9f02a653447435edfe1e17 (diff)
downloadlibpam-freerdp2-0be46b1a52e930f90dfcd36f6b7fbb970bde7d88.tar.gz
libpam-freerdp2-0be46b1a52e930f90dfcd36f6b7fbb970bde7d88.tar.bz2
libpam-freerdp2-0be46b1a52e930f90dfcd36f6b7fbb970bde7d88.zip
Building ourselves a little binary
-rw-r--r--.bzrignore1
-rw-r--r--src/Makefile.am10
-rw-r--r--src/freerdp-auth-check.c8
3 files changed, 19 insertions, 0 deletions
diff --git a/.bzrignore b/.bzrignore
index aa1cdf5..2e03d57 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -4,3 +4,4 @@ src/pam_freerdp.la
src/pam_freerdp_la-pam-freerdp.lo
src/pam_freerdp_la-pam-freerdp.o
src/pam-freerdp.la
+freerdp-auth-check
diff --git a/src/Makefile.am b/src/Makefile.am
index 701b9ff..f7c06f8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -15,3 +15,13 @@ pam_freerdp_la_LIBADD = \
pam_freerdp_la_CFLAGS = \
-Wall -Werror
+
+pkglibexec_PROGRAMS = \
+ freerdp-auth-check
+
+freerdp_auth_check_SOURCES = \
+ freerdp-auth-check.c
+freerdp_auth_check_CFLAGS = \
+ $(FREERDP_CFLAGS)
+freerdp_auth_check_LDADD = \
+ $(FREERDP_LIBS)
diff --git a/src/freerdp-auth-check.c b/src/freerdp-auth-check.c
new file mode 100644
index 0000000..309be4c
--- /dev/null
+++ b/src/freerdp-auth-check.c
@@ -0,0 +1,8 @@
+
+int
+main (int argc, char * argv[])
+{
+
+
+ return -1;
+}