build: Actually compile the `blast' helper program.
[fwd] / Makefile.am
index 7de67eb..3c5ca14 100644 (file)
@@ -24,6 +24,7 @@
 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 bin_PROGRAMS            =
+noinst_PROGRAMS                 =
 man_MANS                =
 
 EXTRA_DIST              =
@@ -61,39 +62,37 @@ fw_SOURCES           =
 fw_LDADD                = $(mLib_LIBS)
 
 ## Main program.
-fw_SOURCES             += fw.c         fw.h
+fw_SOURCES             += fw.c fw.h
 
-fw_SOURCES             += chan.c       chan.h
-fw_SOURCES             += endpt.c      endpt.h
-fw_SOURCES             += source.c     source.h
-fw_SOURCES             +=              target.h
+fw_SOURCES             += chan.c
+fw_SOURCES             += endpt.c
+fw_SOURCES             += source.c
 
-fw_SOURCES             += conf.c       conf.h
-fw_SOURCES             += scan.c       scan.h
-fw_SOURCES             += fattr.c      fattr.h
+fw_SOURCES             += conf.c
+fw_SOURCES             += scan.c
+fw_SOURCES             += fattr.c
 
-fw_SOURCES             += reffd.c      reffd.h
+fw_SOURCES             += reffd.c
 
 ## Sockets.
-fw_SOURCES             += socket.c     socket.h
-fw_SOURCES             +=              addr.h
+fw_SOURCES             += socket.c
 
-fw_SOURCES             += un.c         un.h
+fw_SOURCES             += un.c
 
-fw_SOURCES             += inet.c       inet.h
-fw_SOURCES             += acl.c        acl.h
-fw_SOURCES             += identify.c   identify.h
-fw_SOURCES             += privconn.c   privconn.h
+fw_SOURCES             += inet.c
+fw_SOURCES             += acl.c
+fw_SOURCES             += identify.c
+fw_SOURCES             += privconn.c
 
 ## Files.
-fw_SOURCES             += file.c       file.h
+fw_SOURCES             += file.c
 
 ## Executables.
-fw_SOURCES             += exec.c       exec.h
-fw_SOURCES             +=              rlimits.h
+fw_SOURCES             += exec.c
+fw_SOURCES             += rlimits.h
 
 ## Documentation.
-fw_SOURCES             += mantext.c mantext.h
+fw_SOURCES             += mantext.c
 CLEANFILES             += mantext.c
 BUILT_SOURCES          += mantext.c
 
@@ -101,6 +100,13 @@ mantext.c: fw.1.in make-manpage
        $(make_manpage) c >$@.new && mv $@.new $@
 
 ###--------------------------------------------------------------------------
+### The blast tool.
+
+noinst_PROGRAMS                += blast
+blast_SOURCES           = blast.c
+blast_LDADD             = $(mLib_LIBS)
+
+###--------------------------------------------------------------------------
 ### Other infrastructure.
 
 ## Set the release number.
@@ -110,9 +116,14 @@ dist-hook:
 ###--------------------------------------------------------------------------
 ### Debian.
 
+## Main Debian files.
 EXTRA_DIST             += debian/rules
 EXTRA_DIST             += debian/changelog
 EXTRA_DIST             += debian/control
 EXTRA_DIST             += debian/copyright
 
+## Run the daemon automatically.
+EXTRA_DIST             += debian/fw.init
+EXTRA_DIST             += debian/fw.postinst
+
 ###----- That's all, folks --------------------------------------------------