mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 21:10:13 +01:00
f2e4cb1afe
Signed-off-by: Janos SUTO <sj@acts.hu>
71 lines
2.2 KiB
Makefile
71 lines
2.2 KiB
Makefile
SHELL = @SHELL@
|
|
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
includedir = @includedir@
|
|
libdir = @libdir@
|
|
libexecdir = @libexecdir@
|
|
srcdir = @srcdir@
|
|
sysconfdir = @sysconfdir@
|
|
mandir = @mandir@
|
|
datarootdir = @datarootdir@
|
|
localstatedir = @localstatedir@
|
|
|
|
CC = @CC@
|
|
CFLAGS = @CFLAGS@ @CPPFLAGS@
|
|
DEFS = @defs@
|
|
INCDIR = -I. -I.. -I../.. -I../../src -I../src @INCDIR@ @sql_includes@
|
|
LIBDIR = -L. @LIBDIR@ @LDFLAGS@ -L../src
|
|
LIBS = @LIBS@ @sql_libs@
|
|
OBJS = common.o
|
|
RUNNING_USER = @RUNNING_USER@
|
|
RUNNING_GROUP = `@id_bin@ -gn $(RUNNING_USER)`
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
all: $(OBJS) check_parser_utils check_rules check_digest check_mydomains check_parser check_decoder check_hash check_misc check_attachments smtp
|
|
|
|
check_parser_utils: check_parser_utils.c ../src/libpiler.a
|
|
$(CC) $(CFLAGS) $(INCDIR) $(DEFS) -o $@ $< -lpiler $(LIBS) $(LIBDIR)
|
|
|
|
check_rules: check_rules.c ../src/libpiler.a
|
|
$(CC) $(CFLAGS) $(INCDIR) $(DEFS) -o $@ $< -lpiler $(LIBS) $(LIBDIR)
|
|
|
|
check_digest: check_digest.c ../src/libpiler.a
|
|
$(CC) $(CFLAGS) $(INCDIR) $(DEFS) -o $@ $< $(OBJS) -lpiler $(LIBS) $(LIBDIR)
|
|
|
|
check_mydomains: check_mydomains.c ../src/libpiler.a
|
|
$(CC) $(CFLAGS) $(INCDIR) $(DEFS) -o $@ $< -lpiler $(LIBS) $(LIBDIR)
|
|
|
|
check_parser: check_parser.c ../src/libpiler.a
|
|
$(CC) $(CFLAGS) $(INCDIR) $(DEFS) -o $@ $< $(OBJS) -lpiler $(LIBS) $(LIBDIR)
|
|
|
|
check_decoder: check_decoder.c ../src/libpiler.a
|
|
$(CC) $(CFLAGS) $(INCDIR) $(DEFS) -o $@ $< -lpiler $(LIBS) $(LIBDIR)
|
|
|
|
check_hash: check_hash.c ../src/libpiler.a
|
|
$(CC) $(CFLAGS) $(INCDIR) $(DEFS) -o $@ $< -lpiler $(LIBS) $(LIBDIR)
|
|
|
|
check_misc: check_misc.c ../src/libpiler.a
|
|
$(CC) $(CFLAGS) $(INCDIR) $(DEFS) -o $@ $< -lpiler $(LIBS) $(LIBDIR)
|
|
|
|
check_attachments: check_attachments.c ../src/libpiler.a
|
|
$(CC) $(CFLAGS) $(INCDIR) $(DEFS) -o $@ $< -lpiler $(LIBS) $(LIBDIR)
|
|
|
|
smtp: smtp.c ../src/libpiler.a
|
|
$(CC) $(CFLAGS) $(INCDIR) $(DEFS) -o $@ $< -lpiler $(LIBS) $(LIBDIR)
|
|
|
|
%.o: $(srcdir)/%.c
|
|
$(CC) $(CFLAGS) $(INCDIR) $(DEFS) -c $< -o $@
|
|
|
|
install:
|
|
@echo
|
|
|
|
clean:
|
|
rm -f check_parser_utils check_rules check_digest check_mydomains check_parser check_decoder check_hash check_misc check_attachments smtp *.o
|
|
|
|
distclean: clean
|
|
rm -f Makefile
|