summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar mszulecki2007-02-21 22:40:39 +0000
committerGravatar mszulecki2007-02-21 22:40:39 +0000
commit86ad182945bb11c653dc1c407d8745f47b29427d (patch)
tree1b502e50c4d58b4aa8b60aa8761c2674b2e23c05
parentf205584d9b8deaf8db0b102cafafdcf5d78a9886 (diff)
downloaddskel-86ad182945bb11c653dc1c407d8745f47b29427d.tar.gz
dskel-86ad182945bb11c653dc1c407d8745f47b29427d.tar.bz2
Add shared object rules and add phobos check lib note.
git-svn-id: http://svn.sukimashita.com/repos/dskel/trunk@7 4281df72-ff29-0410-8fee-2d9ac0c5f5a7
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.am5
2 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 01a7375..21c7cd5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,6 +23,8 @@ fi
AC_SUBST(GDC)
+dnl TODO: Check for Phobos Library
+
dnl TODO: Check for duit GTK+ D Bindings
AC_SUBST(DEPS_CFLAGS)
AC_SUBST(DEPS_LIBS)
diff --git a/src/Makefile.am b/src/Makefile.am
index 10ed9b5..48a7307 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -9,4 +9,7 @@ helloworld_LINK = $(GDC) -o helloworld
AM_CPPFLAGS = $(DEPS_CFLAGS)
.d.o:
- $(GDC) -c -o $@ $<
+ $(GDC) $(DFLAGS) -c -o $@ $<
+.d.so:
+ $(GDC) $(DFLAGS) -c -shared -fPIC -o $@ $<
+