]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/wx-console/Makefile.in
new version
[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.c console_thread.c authenticate.c console_conf.c wxbrestorepanel.c \
24              wxbmainframe.c wxbtableparser.c
25 CONSOBJS = main.o console_thread.o authenticate.o console_conf.o wxbrestorepanel.o \
26              wxbmainframe.o wxbtableparser.o
27
28 @if test "@DISTNAME@" = "cygwin" then \
29 CONSSRCS = $(CONSSRCS) wx-console_private.rc; \
30 CONSOBJS = $(CONSOBJS) wx-console_private.res; \
31 fi
32
33 # these are the objects that are changed by the .configure process
34 EXTRAOBJS = @OBJLIST@
35
36 CONS_INC=@CONS_INC@
37 CONS_LIBS=@CONS_LIBS@
38
39 # TODO: wx-config should be generated by configure
40 CONS_CPPFLAGS=@CONS_CPPFLAGS@ `wx-config --cppflags`
41 CONS_LDFLAGS=@CONS_LDFLAGS@ `wx-config --libs`
42
43 .SUFFIXES:      .c .o
44 .PHONY:
45 .DONTCARE:
46
47 # inference rules
48 .c.o:
49         $(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) $(CONS_CPPFLAGS) $(CONS_INC) -I$(srcdir) \
50            -I$(basedir) $(DINCLUDE) $(WCFLAGS) $(CFLAGS) $<
51
52 #-------------------------------------------------------------------------
53 all: Makefile wx-console
54         @echo "==== Make of wx-console is good ===="
55         @echo " "
56
57 clean:
58         @$(RMF) $(OBJ) wx-console
59
60 distclean: clean
61
62 wx-console: $(CONSOBJ) ../lib/libbac.a
63         $(CXX) $(LINKOBJ) -o wx-console $(LIBS) $(WLDFLAGS) $(CONS_LDFLAGS) -lbac
64         
65 wx-console_private.res: wx-console_private.rc 
66         windres.exe -i wx-console_private.rc -I rc -o wx-console_private.res -O coff