freebsd-ports/x11-toolkits/gtk-industrial-theme/files/Makefile-gtk2
Joe Marcus Clarke 3761e0ffab Add gtk-industrial-theme, a nice-looking GTK+ theme from Ximian.
PR:		55177
Submitted by:	Frank Ruell <stoerte@dreamwarrior.net>
Inspired by:	x11-toolkits/gtk-bluecurve-theme
2003-08-02 05:03:58 +00:00

43 lines
1.5 KiB
Text

libdir = ${exec_prefix}/lib
CC = cc
CPP = cc -E
CXX = c++
CXXCPP = c++ -E
GTK2_CFLAGS = `$(PKG_CONFIG) gtk+-2.0 --cflags`
GTK2_LIBS = `$(PKG_CONFIG) gtk+-2.0 --libs`
LN_S = ln -s
PKG_CONFIG = /usr/local/bin/pkg-config
INCLUDES = $(GTK2_CFLAGS)
enginedir = /usr/X11R6/lib/gtk-2.0/2.0.0/engines
engine_LTLIBRARIES = libindustrial.la
libindustrial_la_LDFLAGS = -module -avoid-version
libindustrial_la_LIBADD = $(GTK2_LIBS)
EXTRA_DIST = bits.c
LTLIBRARIES = $(engine_LTLIBRARIES)
CPPFLAGS = -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE
LDFLAGS =
LIBS = -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib
libindustrial_la_DEPENDENCIES =
libindustrial_la_OBJECTS = industrial_rc_style.lo industrial_style.lo \
industrial_theme_main.lo
CFLAGS = -O2
LIBTOOL = libtool
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@
all: all-am
.SUFFIXES:
.SUFFIXES: .S .c .lo .o .obj .s
.c.o:
$(COMPILE) -c $<
.c.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
.s.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
.S.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
libindustrial.la: $(libindustrial_la_OBJECTS) $(libindustrial_la_DEPENDENCIES)
$(LINK) -rpath $(enginedir) $(libindustrial_la_LDFLAGS) $(libindustrial_la_OBJECTS) $(libindustrial_la_LIBADD) $(LIBS)
all-am: $(LTLIBRARIES)
.NOEXPORT: