git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create /sys directory if it doesn't exist already.
[libguestfs.git]
/
haskell
/
Makefile.am
diff --git
a/haskell/Makefile.am
b/haskell/Makefile.am
index
2524617
..
d8a06f3
100644
(file)
--- a/
haskell/Makefile.am
+++ b/
haskell/Makefile.am
@@
-30,15
+30,16
@@
if HAVE_HASKELL
TESTS_ENVIRONMENT = \
LD_LIBRARY_PATH=$(top_builddir)/src/.libs \
LIBGUESTFS_PATH=$(top_builddir)/appliance \
TESTS_ENVIRONMENT = \
LD_LIBRARY_PATH=$(top_builddir)/src/.libs \
LIBGUESTFS_PATH=$(top_builddir)/appliance \
+ TMPDIR=$(top_builddir) \
$(VG)
$(VG)
-TESTS = run-bindtests Guestfs005Load Guestfs010
Launch Guestfs050LVCreate
+TESTS = run-bindtests Guestfs005Load Guestfs010
Basic
check_DATA = Bindtests
GHCFLAGS = -I$(top_builddir)/src -L$(top_builddir)/src/.libs
check_DATA = Bindtests
GHCFLAGS = -I$(top_builddir)/src -L$(top_builddir)/src/.libs
-all_targets = Bindtests Guestfs005Load Guestfs010
Launch Guestfs050LVCreate
+all_targets = Bindtests Guestfs005Load Guestfs010
Basic
$(all_targets): $(top_builddir)/src/libguestfs.la
all: $(all_targets)
$(all_targets): $(top_builddir)/src/libguestfs.la
all: $(all_targets)
@@
-52,12
+53,9
@@
Bindtests: Bindtests.hs Guestfs.o
Guestfs005Load: Guestfs005Load.hs Guestfs.o
$(GHC) $(GHCFLAGS) -main-is $(shell basename $@) --make -o $@ $< -lguestfs
Guestfs005Load: Guestfs005Load.hs Guestfs.o
$(GHC) $(GHCFLAGS) -main-is $(shell basename $@) --make -o $@ $< -lguestfs
-Guestfs010
Launch: Guestfs010Launch
.hs Guestfs.o
+Guestfs010
Basic: Guestfs010Basic
.hs Guestfs.o
$(GHC) $(GHCFLAGS) -main-is $(shell basename $@) --make -o $@ $< -lguestfs
$(GHC) $(GHCFLAGS) -main-is $(shell basename $@) --make -o $@ $< -lguestfs
-Guestfs050LVCreate: Guestfs050LVCreate.hs Guestfs.o
- $(GHC) $(GHCFLAGS) -main-is $(shell basename $@) --make -o $@ $< -lguestfs
-
-CLEANFILES = $(all_targets) *~ Guestfs.o
+CLEANFILES = $(all_targets) *~ *.hi *.o
endif
endif