From 3587b10283526f70b3215292573519e19b012130 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 5 Oct 2010 08:36:38 +0200 Subject: Autotoolize. --- lib/examples/Makefile | 15 --------------- lib/examples/Makefile.am | 8 ++++++++ 2 files changed, 8 insertions(+), 15 deletions(-) delete mode 100644 lib/examples/Makefile create mode 100644 lib/examples/Makefile.am (limited to 'lib/examples') diff --git a/lib/examples/Makefile b/lib/examples/Makefile deleted file mode 100644 index cf3441b..0000000 --- a/lib/examples/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -SPECIAL = -#SPECIAL += -DUSE_REQUEST_OBJECT -SPECIAL += -DUSE_CONFIG_FILE - -CFLAGS = -Wall -g -I ../include $(SPECIAL) - -HFILES = ../include/radsec/radsec.h ../include/radsec/radsec-impl.h - -all: client-blocking - -client-blocking: client-blocking.c ../libradsec.a $(HFILES) - $(CC) $(CFLAGS) -o $@ $< -lconfuse -L /usr/lib/freeradius -lfreeradius-radius -L .. -lradsec -L /usr/local/lib -levent_core - -clean: - -rm *.o *.gch client-blocking diff --git a/lib/examples/Makefile.am b/lib/examples/Makefile.am new file mode 100644 index 0000000..c869070 --- /dev/null +++ b/lib/examples/Makefile.am @@ -0,0 +1,8 @@ +AUTOMAKE_OPTIONS = foreign + +INCLUDES = -I$(top_srcdir)/include + +bin_PROGRAMS = client +client_SOURCES = client-blocking.c +client_LDADD = ../libradsec.la +client_CFLAGS = $(CFLAGS) -DUSE_CONFIG_FILE -- cgit v1.1