diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2005-09-01 17:46:39 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-01 17:46:39 +0000 |
commit | a06baa77957b94afd763e2f2881e03baf9b7cfcc (patch) | |
tree | b5fb7bf86309ac9ad7e58de49749fef643062cef /packages/gpe-today/gpe-today-0.09/makefile.patch | |
parent | ea899cfb752cf00b2f194d64c76fdfdecfb1f6c9 (diff) | |
parent | 32e17c17bfda2f7a289b4d4d9058bec7903e4a19 (diff) |
merge of 29134267458b518b87fa720d106c0188db1b6131
and 296ac2a5b3ca43f1af1caec04d2643a3970aecef
Diffstat (limited to 'packages/gpe-today/gpe-today-0.09/makefile.patch')
-rw-r--r-- | packages/gpe-today/gpe-today-0.09/makefile.patch | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/packages/gpe-today/gpe-today-0.09/makefile.patch b/packages/gpe-today/gpe-today-0.09/makefile.patch new file mode 100644 index 0000000000..6f405a6d7f --- /dev/null +++ b/packages/gpe-today/gpe-today-0.09/makefile.patch @@ -0,0 +1,65 @@ +--- /tmp/Makefile 2005-09-01 17:07:30.218823872 +0200 ++++ gpe-today-0.09/Makefile 2005-09-01 17:07:32.698446912 +0200 +@@ -1,7 +1,7 @@ + PACKAGE = gpe-today + PREFIX = /usr/local + VERSION = 0.09 +-CVSBUILD = no ++CVSBUILD =no + #DEBUG = yes + #EFENCE = yes + +@@ -9,28 +9,27 @@ + + MEMBERS = main todo calendar date xsettings + +-GTKCFLAGS = `pkg-config --cflags gtk+-2.0` +-GTKLDFLAGS += `pkg-config --libs gtk+-2.0` +- +-CPPFLAGS = -I../libgpewidget -I../libeventdb -I../libtododb -I../libxsettings -I../libxsettings-client -D_GNU_SOURCE +- + ifeq ($(EFENCE),yes) +-LDFLAGS = -lefence ++PACKAGE_LDFLAGS = -lefence + endif + + ifeq ($(DEBUG),yes) +-CFLAGS = -g ++package_CFLAGS = -g + else +-CFLAGS = -Os -fomit-frame-pointer ++PACKAGE_CFLAGS = -Os -fomit-frame-pointer + endif + +-CFLAGS += -Wall $(GTKCFLAGS) +-LDFLAGS += $(GTKLDFLAGS) -L/usr/local/lib -L../libeventdb -leventdb -L../libtododb -ltododb -L../libxsettings -L../libxsettings-client -lXsettings-client -Wl,-rpath-link,../libxsettings -Wl,-rpath-link,../libgpepimc -Wl,-rpath-link,../libdisplaymigration +-CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" +-#CFLAGS += -MD +- + .SUFFIXES: .d + ++ifeq ($(CVSBUILD),yes) ++PACKAGE_CPPFLAGS += -I../libeventdb -I../libtododb -I../libxsettings -I../libxsettings-client -I../libdisplaymigration -I../libgpepimc ++PACKAGE_LDFLAGS += -L../libeventdb -L../libtododb -L../libxsettings-client -Wl,-rpath-link,../libxsettings -L../libgpepimc ++endif ++PACKAGE_CPPFLAGS += $(STANDARD_CPPFLAGS) ++PACKAGE_CFLAGS += $(STANDARD_CFLAGS) $(GPECFLAGS) ++PACKAGE_LDFLAGS += $(STANDARD_LDFLAGS) $(GPELIBS) -leventdb -ltododb -lXsettings-client -lsqlite -lgpepimc ++ ++ + OBJS = $(patsubst %,%.o,$(MEMBERS)) + DEPS = $(patsubst %,%.d,$(MEMBERS)) + SOURCES = $(patsubst %,%.c,$(MEMBERS)) +@@ -43,10 +42,10 @@ + BUILD = build + endif + +-all: $(PACKAGE) all-mo ++all: $(PACKAGE) + + $(PACKAGE): $(OBJS) +- $(CC) -o $@ $^ -L../libgpewidget -lgpewidget -lsqlite $(LDFLAGS) ++ $(CC) -o $@ $^ $(LDFLAGS) $(PACKAGE_LDFLAGS) + + install-program: all $(PACKAGE).desktop + for i in $(PIXMAPS); do install -D -m 644 pixmaps/$$i $(DESTDIR)$(PREFIX)/share/$(PACKAGE)/pixmaps/$$i; done |