Fix a potential crash in html parsing code. How come it was never reported ?
[beagle.git] / bludgeon / Makefile.am
blob4e9d40ef7b7b5f0e004b1acfba0a45c73dee021f
2 CSC = $(MCS) -debug
4 LOCAL_ASSEMBLIES =                      \
5         ../Util/Util.dll                \
6         ../BeagleClient/Beagle.dll
8 ASSEMBLIES =                            \
9         $(BEAGLED_LIBS)                 \
10         $(SHARPZIPLIB_LIBS)             \
11         $(LOCAL_ASSEMBLIES:%=-r:%)      \
12         -r:Mono.Posix
14 WRAPPER_IN = bludgeon.in
15 WRAPPER_SED = sed                                       \
16         -e "s|\@prefix\@|$(prefix)|g"                   \
17         -e "s|\@pkglibdir\@|$(pkglibdir)|g"             \
18         -e "s|\@libdir\@|$(libdir)|g"                   \
19         -e "s|\@bindir\@|$(bindir)|g"                   \
20         -e "s|\@sbindir\@|$(sbindir)|g"                 \
21         -e "s|\@sysconfdir\@|$(sysconfdir)|g"           \
22         -e "s|\@localstatedir\@|$(localstatedir)|g"     \
23         -e "s|\@gacprefix\@|$(GAC_PREFIX)|g"            \
24         -e "s|\@bash\@|$(BASH)|"
26 WRAPPER = bludgeon
28 TARGET = Bludgeon.exe
30 CSFILES =                               \
31         $(srcdir)/Log.cs                \
32         $(srcdir)/Token.cs              \
33         $(srcdir)/EventTracker.cs       \
34         $(srcdir)/Action.cs             \
35                                         \
36         $(srcdir)/FileSystemObject.cs   \
37         $(srcdir)/Bzip2FileObject.cs    \
38         $(srcdir)/DirectoryObject.cs    \
39         $(srcdir)/FileObject.cs         \
40         $(srcdir)/GzipFileObject.cs     \
41         $(srcdir)/TarFileObject.cs      \
42         $(srcdir)/TextFileObject.cs     \
43         $(srcdir)/ZipFileObject.cs      \
44                                         \
45         $(srcdir)/TreeBuilder.cs        \
46         $(srcdir)/QueryFu.cs            \
47         $(srcdir)/SanityCheck.cs        \
48                                         \
49         $(srcdir)/IHammer.cs            \
50         $(srcdir)/HammerAttribute.cs    \
51         $(srcdir)/Toolbox.cs            \
52         $(srcdir)/TestBasic.cs          \
53                                         \
54         $(srcdir)/Daemon.cs             \
55         $(srcdir)/Abuse.cs              \
56         $(srcdir)/Bludgeon.cs
58 $(TARGET): $(CSFILES) $(LOCAL_ASSEMBLIES)
59         $(CSC) -out:$@ $(CSFLAGS) $(CSFILES) $(ASSEMBLIES)
61 $(WRAPPER) : $(WRAPPER_IN)
62         $(WRAPPER_SED) -e "s|\@target\@|$(TARGET)|g" < $(srcdir)/$(WRAPPER_IN) > $@
63         chmod +x $(WRAPPER)
65 noinst_SCRIPTS =                        \
66         $(WRAPPER)
68 all: $(TARGET) $(WRAPPER)
70 # don't install anything
71 # install-data-local: $(TARGET)
72 #       $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
73 #       $(INSTALL_DATA) $(TARGET) $(DESTDIR)$(pkglibdir)
75 #uninstall-local:
76 #       cd $(DESTDIR)$(pkglibdir) && rm -f $(TARGET)
78 EXTRA_DIST =                            \
79         $(WRAPPER_IN)                   \
80         $(CSFILES)                      \
81         beagled.dummy
83 CLEANFILES =                            \
84         $(TARGET)                       \
85         $(TARGET:%=%.mdb)               \
86         $(WRAPPER)