projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c60df0b
)
If using gcc, use -Wno-unused-macros when compiling sbr/dtime.o.
author
David Levine
<levinedl@acm.org>
Thu, 26 Jan 2012 01:44:30 +0000
(19:44 -0600)
committer
David Levine
<levinedl@acm.org>
Thu, 26 Jan 2012 01:44:30 +0000
(19:44 -0600)
.gitignore
patch
|
blob
|
history
Makefile.am
patch
|
blob
|
history
diff --git
a/.gitignore
b/.gitignore
index
f00adc1
..
b5766db
100644
(file)
--- a/
.gitignore
+++ b/
.gitignore
@@
-22,6
+22,7
@@
/missing
/mts/libmts.a
/sbr/dtimep.c
/missing
/mts/libmts.a
/sbr/dtimep.c
+/sbr/libdtimep.a
/sbr/libmh.a
/sbr/sigmsg.h
/uip/ali
/sbr/libmh.a
/sbr/sigmsg.h
/uip/ali
diff --git
a/Makefile.am
b/Makefile.am
index
f7b8661
..
1e326b3
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-14,7
+14,7
@@
ACLOCAL_AMFLAGS = -I m4
## LDADD is included in the program-specific LDADD since we want to add
## to this list of libraries, not replace it.
##
## LDADD is included in the program-specific LDADD since we want to add
## to this list of libraries, not replace it.
##
-LDADD = sbr/libmh.a
+LDADD = sbr/libmh.a sbr/libdtimep.a
##
## These are used to create the default mhn.defaults config file
##
## These are used to create the default mhn.defaults config file
@@
-72,7
+72,7
@@
auxexec_PROGRAMS = uip/ap uip/conflict uip/dp uip/fmtdump uip/mhl uip/post \
## Internal libraries that we create as part of the build process
## but do not install
##
## Internal libraries that we create as part of the build process
## but do not install
##
-noinst_LIBRARIES = sbr/libmh.a mts/libmts.a
+noinst_LIBRARIES = sbr/libmh.a sbr/libdtimep.a mts/libmts.a
##
## These are all of our header files. Right now we don't install any of
##
## These are all of our header files. Right now we don't install any of
@@
-390,7
+390,7
@@
sbr_libmh_a_SOURCES = sbr/addrsbr.c sbr/ambigsw.c sbr/atooi.c sbr/brkstring.c \
sbr/context_replace.c sbr/context_save.c \
sbr/copy.c sbr/copyip.c sbr/cpydata.c \
sbr/cpydgst.c sbr/crawl_folders.c sbr/discard.c \
sbr/context_replace.c sbr/context_save.c \
sbr/copy.c sbr/copyip.c sbr/cpydata.c \
sbr/cpydgst.c sbr/crawl_folders.c sbr/discard.c \
- sbr/done.c sbr/dtime.c sbr/dtimep.l \
+ sbr/done.c sbr/dtime.c \
sbr/error.c sbr/ext_hook.c sbr/fdcompare.c \
sbr/folder_addmsg.c sbr/folder_delmsgs.c \
sbr/folder_free.c sbr/folder_pack.c \
sbr/error.c sbr/ext_hook.c sbr/fdcompare.c \
sbr/folder_addmsg.c sbr/folder_delmsgs.c \
sbr/folder_free.c sbr/folder_pack.c \
@@
-424,6
+424,9
@@
sbr_libmh_a_CPPFLAGS = -I./sbr -DNMHETCDIR='"$(sysconfdir)"' \
-DDEFAULT_EDITOR='"$(default_editor)"' \
-DDEFAULT_PAGER='"$(default_pager)"'
-DDEFAULT_EDITOR='"$(default_editor)"' \
-DDEFAULT_PAGER='"$(default_pager)"'
+sbr_libdtimep_a_SOURCES = sbr/dtimep.l
+sbr_libdtimep_a_CFLAGS = $(sbr_libmh_a_CPPFLAGS) $(DISABLE_UNUSED_MACROS_WARNING)
+
mts_libmts_a_SOURCES = mts/smtp/hosts.c mts/smtp/smtp.c
##
mts_libmts_a_SOURCES = mts/smtp/hosts.c mts/smtp/smtp.c
##