r4557: Added Zero Install source interface. Run this with 0launch to compile against...
[rox-filer/translations.git] / ROX-Filer / src / Makefile.in
blob0c682e05dea76526f44f84d5f20b36f91a782e36
1 SHELL = @SHELL@
2 srcdir = @srcdir@
3 VPATH = @srcdir@
4 PLATFORM_DIR = $(srcdir)/..
5 CC = @CC@
6 .SUFFIXES:
7 .SUFFIXES: .c .o
9 PKG_CONFIG = @PKG_CONFIG@
10 LIBS = @LIBS@ @LFS_LDFLAGS@ -lICE -lSM
11 #PROF = -fprofile-arcs -pg
13 ifeq (${GTKHEADERS},)
14 PKG_CONFIG_FLAGS=
15 else
16 PKG_CONFIG_FLAGS=--define-variable=gtkprefix="${GTKHEADERS}" --define-variable=glibprefix="${GLIBHEADERS}"
17 endif
19 CFLAGS = -I. -I${srcdir} ${PROF} @CFLAGS@ @LFS_CFLAGS@ \
20 `${PKG_CONFIG} ${PKG_CONFIG_FLAGS} --cflags gtk+-2.0 libxml-2.0`
21 LDFLAGS = ${PROF} @LDFLAGS@ `${PKG_CONFIG} ${PKG_CONFIG_FLAGS} --libs gtk+-2.0 libxml-2.0 | sed 's/-lpangoxft-[^ ]*//'` ${LIBS}
23 ############ Things to change for different programs
25 PROG = ROX-Filer
27 SRCS = abox.c action.c appinfo.c appmenu.c bind.c bookmarks.c \
28 bulk_rename.c cell_icon.c choices.c collection.c dir.c \
29 diritem.c display.c dnd.c dropbox.c filer.c find.c fscache.c \
30 gtksavebox.c \
31 gui_support.c i18n.c icon.c infobox.c main.c menu.c minibuffer.c\
32 modechange.c mount.c options.c panel.c pinboard.c pixmaps.c \
33 remote.c rox_gettext.c run.c sc.c session.c support.c \
34 tasklist.c toolbar.c type.c usericons.c view_collection.c \
35 view_details.c view_iface.c wrapped.c xml.c xtypes.c \
36 xdgmime.c xdgmimeglob.c xdgmimeint.c xdgmimemagic.c xdgmimeparent.c xdgmimealias.c xdgmimecache.c
38 OBJECTS = abox.o action.o appinfo.o appmenu.o bind.o bookmarks.o \
39 bulk_rename.o cell_icon.o choices.o collection.o dir.o \
40 diritem.o display.o dnd.o dropbox.o filer.o find.o fscache.o \
41 gtksavebox.o \
42 gui_support.o i18n.o icon.o infobox.o main.o menu.o minibuffer.o\
43 modechange.o mount.o options.o panel.o pinboard.o pixmaps.o \
44 remote.o rox_gettext.o run.o sc.o session.o support.o \
45 tasklist.o toolbar.o type.o usericons.o view_collection.o \
46 view_details.o view_iface.o wrapped.o xml.o xtypes.o \
47 xdgmime.o xdgmimeglob.o xdgmimeint.o xdgmimemagic.o xdgmimeparent.o xdgmimealias.o xdgmimecache.o
49 ############ Things to keep the same
51 ${PROG}: ${OBJECTS}
52 ${CC} -o "${PROG}" ${OBJECTS} ${LDFLAGS}
53 mv "${PROG}" "${PLATFORM_DIR}"
54 -(cd "${PLATFORM_DIR}" && \
55 objcopy --only-keep-debug ROX-Filer ROX-Filer.dbg && \
56 strip ROX-Filer && \
57 objcopy --add-gnu-debuglink=ROX-Filer.dbg ROX-Filer)
59 clean:
60 rm -f *.o Makefile.bak
62 depend:
63 makedepend -- ${CFLAGS} -- ${SRCS}
65 Makefile: Makefile.in config.status
66 ./config.status
68 config.h: config.h.in
69 ./config.status
71 config.status: configure
72 APP_DIR="$(srcdir)/.." $(srcdir)/configure
74 configure: configure.in
75 cd $(srcdir) && autoconf