]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/wx-console/Makefile.in
Removed unused variable.
[bacula/bacula] / bacula / src / wx-console / Makefile.in
1 #
2 #  Version $Id$
3 #
4 @MCOMMON@
5
6 srcdir =        .
7 VPATH =         .
8 .PATH:          .
9
10 # one up
11 basedir = ..
12 # top dir
13 topdir = ../..
14 # this dir relative to top dir
15 thisdir = src/wx-console
16
17 DEBUG=@DEBUG@
18
19 first_rule: all
20 dummy:
21
22 #
23 CONSSRCS = main.cpp console_thread.cpp authenticate.c console_conf.c wxbrestorepanel.cpp \
24              wxbmainframe.cpp wxbtableparser.cpp wxbtreectrl.cpp wxblistctrl.cpp
25 CONSOBJS = main.o console_thread.o authenticate.o console_conf.o wxbrestorepanel.o \
26              wxbmainframe.o wxbtableparser.o wxbtreectrl.o wxblistctrl.o
27
28 @if test "@DISTNAME@" = "cygwin" then \
29 RES = wx-console_private.res; \
30 else \
31 RES = ;\
32 fi
33
34 # these are the objects that are changed by the .configure process
35 EXTRAOBJS = @OBJLIST@
36
37 CONS_INC=
38 CONS_LIBS=
39
40 # wx-config generated by configure
41 CONS_CPPFLAGS=@WXCONS_CPPFLAGS@
42 CONS_LDFLAGS=@WXCONS_LDFLAGS@
43
44 .SUFFIXES:     .cpp .c .o
45 .PHONY:
46 .DONTCARE:
47
48 # inference rules
49 .c.o:
50         $(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) $(CONS_CPPFLAGS) $(CONS_INC) -I$(srcdir) \
51            -I$(basedir) $(DINCLUDE) $(WCFLAGS) $(CFLAGS) $<
52
53 .cpp.o:
54         $(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) $(CONS_CPPFLAGS) $(CONS_INC) -I$(srcdir) \
55            -I$(basedir) $(DINCLUDE) $(WCFLAGS) $(CFLAGS) $<
56
57
58 #-------------------------------------------------------------------------
59 all: Makefile wx-console
60         @echo "==== Make of wx-console is good ===="
61         @echo " "
62
63
64 wx-console: $(CONSOBJS) $(RES) ../lib/libbac.a
65         $(CXX) $(CONSOBJS) $(RES) -o $@ $(LIBS) -L../lib $(CONS_LDFLAGS) -lbac
66         
67 wx-console_private.res: wx-console_private.rc 
68         windres.exe -i wx-console_private.rc -I rc -o wx-console_private.res -O coff 
69
70 clean:
71         @$(RMF) $(OBJ) wx-console
72
73 distclean: clean
74         $(RMF) Makefile
75         $(RMF) -r CVS
76
77 Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
78         cd $(topdir) \
79           && CONFIG_FILES=$(thisdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
80
81 # Semi-automatic generation of dependencies:
82 # Use gcc -MM because X11 `makedepend' doesn't work on all systems
83 # and it also includes system headers.
84 # `semi'-automatic since dependencies are generated at distribution time.
85
86 depend:
87         @$(MV) Makefile Makefile.bak
88         @$(SED) "/^# DO NOT DELETE:/,$$ d" Makefile.bak > Makefile
89         @$(ECHO) "# DO NOT DELETE: nice dependency list follows" >> Makefile
90         @$(CC) -S -M $(CPPFLAGS) $(CONS_CPPFLAGS) -I$(srcdir) -I$(basedir) $(CONSSRCS) >> Makefile
91         @if test -f Makefile ; then \
92             $(RMF) Makefile.bak; \
93         else \
94            $(MV) Makefile.bak Makefile; \
95            echo -e "Something went wrong\n\a"; \
96         fi
97
98 # -----------------------------------------------------------------------
99 # DO NOT DELETE: nice dependency list follows