mirror of
https://github.com/lxsang/ant-http
synced 2024-11-17 17:08:20 +01:00
add Makefile.am
This commit is contained in:
parent
985597cb3c
commit
1305c6268e
2
.gitignore
vendored
2
.gitignore
vendored
@ -71,4 +71,4 @@ config.ini.tpl
|
||||
configure
|
||||
aclocal.m4
|
||||
ltmain.sh
|
||||
Makefile.*
|
||||
Makefile.in
|
47
Makefile.am
Normal file
47
Makefile.am
Normal file
@ -0,0 +1,47 @@
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
|
||||
|
||||
# check for system
|
||||
if LINUX
|
||||
AM_CPPFLAGS = -Wl,--no-as-needed
|
||||
else
|
||||
AM_CPPFLAGS = -Wl,-undefined,dynamic_lookup
|
||||
endif
|
||||
|
||||
|
||||
AM_CPPFLAGS += -W -Wall -g -std=c99
|
||||
|
||||
lib_LTLIBRARIES = libantd.la
|
||||
libantd_la_SOURCES = lib/ini.c \
|
||||
lib/handle.c \
|
||||
lib/dictionary.c \
|
||||
lib/base64.c \
|
||||
lib/utils.c \
|
||||
lib/ws.c \
|
||||
lib/sha1.c \
|
||||
lib/list.c \
|
||||
lib/scheduler.c\
|
||||
lib/plugin.c
|
||||
pkginclude_HEADERS = lib/ini.h \
|
||||
lib/handle.h \
|
||||
lib/dictionary.h \
|
||||
lib/base64.h \
|
||||
lib/utils.h \
|
||||
lib/ws.h \
|
||||
lib/sha1.h \
|
||||
lib/list.h \
|
||||
lib/scheduler.h \
|
||||
lib/plugin.h
|
||||
|
||||
# check for db
|
||||
if DB
|
||||
libantd_la_SOURCES += lib/dbhelper.c
|
||||
pkginclude_HEADERS += lib/dbhelper.h
|
||||
endif
|
||||
|
||||
# bin
|
||||
bin_PROGRAMS = antd
|
||||
# lib source files
|
||||
antd_SOURCES = plugin_manager.c http_server.c httpd.c
|
||||
antd_LDADD = libantd.la
|
Loading…
Reference in New Issue
Block a user