]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/console/Makefile
Fix some trivial errors and implemented the restore of IRIX xattrs.
[bacula/bacula] / bacula / src / win32 / console / Makefile
1 #
2 # Makefile for win32 bacula executables
3 # Using MinGW cross-compiler on GNU/Linux
4 #
5 #  Written by Robert Nelson, June 2006
6 #
7
8 include ../Makefile.inc
9
10 INCLUDES = \
11         $(INCLUDE_BACULA) \
12         $(INCLUDE_PTHREADS) \
13         $(INCLUDE_OPENSSL)
14
15 DEFINES = \
16         -DUSING_DLL \
17         $(HAVES)
18
19 vpath %.c $(MAINDIR)/src/console
20 vpath %.cpp $(MAINDIR)/src/console
21
22 ##########################################################################
23
24 CONSOLE_OBJS = \
25         $(OBJDIR)/authenticate.o \
26         $(OBJDIR)/console.o \
27         $(OBJDIR)/console_conf.o
28
29 ALL_OBJS = $(CONSOLE_OBJS)
30
31 CONSOLE_LIBS = $(LIBS_NETWORK) 
32
33 ######################################################################
34
35 # Targets
36
37 .PHONY: all clean
38
39 all: $(BINDIR)/bconsole.exe
40
41 clean:
42         @echo "Cleaning `pwd`"
43         $(call clean_obj,$(ALL_OBJS))
44         $(call clean_exe,$(BINDIR)/bconsole.exe)
45         $(ECHO_CMD)rm -rf $(OBJDIRS)
46
47 #
48 # Rules
49 #
50
51 $(BINDIR)/bconsole.exe: $(CONSOLE_OBJS) $(LIBS_BACULA)
52         $(call link_conapp,$(CONSOLE_LIBS))
53
54 include ../Makefile.rules