summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e544408)
Pick up config file directory from autoconf sysconfdir variable setting.
DBTYPE = @DBTYPE@
#
LIBS = @LIBS@
DBTYPE = @DBTYPE@
#
LIBS = @LIBS@
PROGS = add lookup gpgwww onak splitkeys
CORE_OBJS = armor.o charfuncs.o decodekey.o getcgi.o hash.o keydb_$(DBTYPE).o \
PROGS = add lookup gpgwww onak splitkeys
CORE_OBJS = armor.o charfuncs.o decodekey.o getcgi.o hash.o keydb_$(DBTYPE).o \
$(CC) $(LDFLAGS) -o onak onak.o merge.o cleankey.o \
$(CORE_OBJS) $(LIBS)
$(CC) $(LDFLAGS) -o onak onak.o merge.o cleankey.o \
$(CORE_OBJS) $(LIBS)
+onak-conf.o: onak-conf.c onak-conf.h
+ $(CC) $(CFLAGS) -DCONFIGFILE=\"@sysconfdir@/onak.conf\" -c onak-conf.c
+
clean:
$(RM) -f $(PROGS) $(OBJS) Makefile.bak testparse maxpath *.core core \
gpgwww.o add.o lookup.o main.o maxpath.o onak.o sixdegrees \
clean:
$(RM) -f $(PROGS) $(OBJS) Makefile.bak testparse maxpath *.core core \
gpgwww.o add.o lookup.o main.o maxpath.o onak.o sixdegrees \
* Copyright 2002 Project Purple
*/
* Copyright 2002 Project Purple
*/
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#define __ONAK_CONF_H_
#define VERSION "0.2.1"
#define __ONAK_CONF_H_
#define VERSION "0.2.1"
-#define CONFIGFILE "/home/noodles/projects/onak/onak.conf"
/*
* struct onak_config - Runtime configuration for onak.
/*
* struct onak_config - Runtime configuration for onak.