aboutsummaryrefslogtreecommitdiff
path: root/.pc/cross.patch/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to '.pc/cross.patch/Makefile.common')
-rw-r--r--.pc/cross.patch/Makefile.common43
1 files changed, 0 insertions, 43 deletions
diff --git a/.pc/cross.patch/Makefile.common b/.pc/cross.patch/Makefile.common
deleted file mode 100644
index 2d00dcb..0000000
--- a/.pc/cross.patch/Makefile.common
+++ /dev/null
@@ -1,43 +0,0 @@
-ifeq (,$(TOPDIR))
-$(error TOPDIR variable must be defined)
-endif
-
-all:
-
-$(TOPDIR)/Makefile.config:
- $(error Please run $(TOPDIR)/configure first)
-
-ifneq ($(MAKECMDGOALS),clean)
-ifneq ($(MAKECMDGOALS),distclean)
-ifneq ($(MAKECMDGOALS),tar)
--include $(TOPDIR)/Makefile.config
-endif
-endif
-endif
-
-ifdef DESTDIR
-PREFIX := $(DESTDIR)/$(PREFIX)
-endif
-
-CC = gcc
-LIBS = -lX11 $(shell pkg-config --libs gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -L/usr/X11R6/lib -lXmu
-INCS = $(shell pkg-config --cflags gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0)
-CFLAGS ?= -O2 # overwriten by command line or env. variable
-CFLAGS += -Wall # always nice to have
-ifneq (,$(DEVEL))
-CFLAGS := -g -Wall
-endif
-
-# -DGTK_DISABLE_DEPRECATED does not work yet
-CFLAGS += -g -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-
-%.o: %.c
- $(CC) $(CPPFLAGS) $(CFLAGS) $(INCS) -c $<
-
-%.dep: %.c
- $(CC) $(CPPFLAGS) $(CFLAGS) $(INCS) -MM $< -o $@
-
-.PHONY: all clean distclean install uninstall
-
-distclean: clean
-install: all
bgstack15