X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=src%2FMakefile.am;h=ec7fb21b012efa773f80a3a93e3019b75a0be4ba;hb=586aa8e4a407bf11df9504a78904aa401edd239a;hp=e31c39463e4f30824660944c681d4b91b0fbdd7c;hpb=f6585ff1b5abc38ba4fd107311967963fbd0fe98;p=aweather diff --git a/src/Makefile.am b/src/Makefile.am index e31c394..ec7fb21 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -12,18 +12,16 @@ aweather_SOURCES = main.c \ aweather-gui.c aweather-gui.h \ aweather-location.c aweather-location.h aweather_CPPFLAGS = \ - -DHTMLDIR="\"$(dots)$(htmldir)\"" \ - -DICONDIR="\"$(dots)$(datadir)/icons\"" \ - -DPKGDATADIR="\"$(dots)$(pkgdatadir)\"" \ - -DPLUGINSDIR="\"$(dots)$(pkglibdir)\"" + -DHTMLDIR="\"$(DOTS)$(htmldir)\"" \ + -DICONDIR="\"$(DOTS)$(datadir)/icons\"" \ + -DPKGDATADIR="\"$(DOTS)$(pkgdatadir)\"" \ + -DPLUGINSDIR="\"$(DOTS)$(pkglibdir)\"" aweather_LDADD = $(GRITS_LIBS) wsr88ddec = wsr88ddec.c wsr88ddec_LDADD = $(GLIB_LIBS) -lbz2 if SYS_WIN -dots = .. - wsr88ddec_LDFLAGS = -mwindows aweather_SOURCES += resource.rc @@ -36,6 +34,11 @@ aweather_dbg_CPPFLAGS = $(aweather_CPPFLAGS) aweather_dbg_LDADD = $(aweather_LDADD) endif +if SYS_MAC +aweather_CPPFLAGS += $(MAC_CFLAGS) +aweather_LDADD += $(MAC_LIBS) +endif + .rc.o: ../data/icons/48x48/aweather.ico $(RC) -o $@ $<