More libraries
authorJoachim Breitner <mail@joachim-breitner.de>
Mon, 7 Dec 2009 23:57:11 +0000 (00:57 +0100)
committerJoachim Breitner <mail@joachim-breitner.de>
Tue, 8 Dec 2009 00:04:00 +0000 (01:04 +0100)
Makefile.am
configure.ac

index c2cfe23..96b5baf 100644 (file)
@@ -2,10 +2,20 @@ AUTOMAKE_OPTIONS = foreign
 ACLOCAL_AMFLAGS = -I m4
 
 CFLAGS = -Wall -pedantic
-include_HEADERS = unicode-names.h
 
-INCLUDES = @XFT_CFLAGS@
+INCLUDES = -Ihacks -Iutils @XFT_CFLAGS@ @X11_CFLAGS@ @FC_CFLAGS@ @XMU_CFLAGS@ @XT_CFLAGS@
 
 bin_PROGRAMS = unicode
-unicode_SOURCES = unicode.c
-unicode_LDADD = @XFT_LIBS@
+unicode_SOURCES = \
+       unicode.c \
+       unicode-names.h \
+       version.h \
+       hacks/screenhack.c \
+       utils/visual.c \
+       utils/yarandom.c \
+       utils/resources.c \
+       utils/usleep.c \
+       hacks/fps.c \
+       hacks/*.h \
+       utils/*.h
+unicode_LDADD = @XFT_LIBS@ @X11_LIBS@ @FC_LIBS@ @XMU_LIBS@ @XT_LIBS@
index cc945c4..773b13d 100644 (file)
@@ -19,6 +19,14 @@ PKG_CHECK_MODULES(X11, x11)
 AC_SUBST(X11_CFLAGS)
 AC_SUBST(X11_LIBS)
 
+PKG_CHECK_MODULES(XMU, xmu)
+AC_SUBST(XMU_CFLAGS)
+AC_SUBST(XMU_LIBS)
+
+PKG_CHECK_MODULES(XT, xt)
+AC_SUBST(XT_CFLAGS)
+AC_SUBST(XT_LIBS)
+
 PKG_CHECK_MODULES(XFT, xft)
 AC_SUBST(XFT_CFLAGS)
 AC_SUBST(XFT_LIBS)