Changed name from AutoStart to XDGStart.
[AutoStart.git] / src / Makefile.in
blobe8d8d1290f8b458063c2722f944ab93befdbd36b
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@
12 CFLAGS = -I. -I$(srcdir) @CFLAGS@ `$(PKG_CONFIG) --cflags gtk+-2.0`
13 LDFLAGS = @LDFLAGS@ `$(PKG_CONFIG) --libs gtk+-2.0` ${LIBS}
15 ############ Things to change for different programs
17 PROG = XDGStart
19 SRCS = dialogs.c main.c xdgautostart.c xxdgautostart.c
21 OBJECTS = dialogs.o main.o xdgautostart.o xxdgautostart.o
23 ############ Things to keep the same
25 $(PROG): $(OBJECTS)
26 $(CC) -o "$(PROG)" $(OBJECTS) $(LDFLAGS)
27 mv "$(PROG)" "$(PLATFORM_DIR)"
28 -(cd "$(PLATFORM_DIR)" && \
29 objcopy --only-keep-debug $(PROG) $(PROG).dbg && \
30 strip $(PROG) && \
31 objcopy --add-gnu-debuglink=$(PROG).dbg $(PROG))
33 clean:
34 rm -f *.o Makefile.bak
36 depend:
37 makedepend -- $(CFLAGS) -- $(SRCS)
39 Makefile: Makefile.in config.status
40 ./config.status
42 config.h: config.h.in
43 ./config.status
45 config.status: configure
46 APP_DIR="$(srcdir)/.." $(srcdir)/configure
48 configure: configure.in
49 cd $(srcdir) && autoconf