diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2008-09-27 17:52:05 +0000 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2008-09-27 17:52:05 +0000 |
commit | 6b1b9863d8fccfe09c2f72c68e1ebfeea54efbe8 (patch) | |
tree | 0c4e761c5b5aad7010c210a4519a2a72760af55d /src/GNUmakefile | |
parent | eedc9cd68aef078e4584e43d8055d70e1fa07351 (diff) | |
download | nagios-plugin-curl-6b1b9863d8fccfe09c2f72c68e1ebfeea54efbe8.tar.gz nagios-plugin-curl-6b1b9863d8fccfe09c2f72c68e1ebfeea54efbe8.tar.bz2 |
- added first runnig version
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r-- | src/GNUmakefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile new file mode 100644 index 0000000..f28d8b4 --- /dev/null +++ b/src/GNUmakefile @@ -0,0 +1,38 @@ +TOPDIR = .. + +SUBDIRS = + +INCLUDE_DIRS = \ + -I. `curl-config --cflags` + +LDFLAGS_DIR = + +LIBS_DIR = \ + `curl-config --libs` + +BINS = \ + check_curl + +OBJS = \ + curlhelper.o \ + cmdline.o + +-include $(TOPDIR)/makefiles/sub.mk + +# ABa: currently a special rule for cmdline.c as gengetopt is not +# completly fixed yet +check_curl.d : cmdline.h +cmdline.c : check_curl.ggo + gengetopt --unamed-opts --include-getopt --conf-parser -i $< + +cmdline.o : cmdline.c cmdline.h + $(CC) -c -o $@ $< + +local_all: cmdline.h + +local_clean: + +local_distclean: + -@rm cmdline.c cmdline.h + +local_test: |