From: Nicolas Boichat Date: Thu, 15 Apr 2004 11:57:42 +0000 (+0000) Subject: Allows makefile to be generated by configure. X-Git-Tag: Release-1.34.1~51 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a76c2f588bcbb6030a505a63ee9230fc0a8718e6;p=bacula%2Fbacula Allows makefile to be generated by configure. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1202 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/wx-console/Makefile.in b/bacula/src/wx-console/Makefile.in new file mode 100644 index 0000000000..41207617a4 --- /dev/null +++ b/bacula/src/wx-console/Makefile.in @@ -0,0 +1,66 @@ +# +# Version $Id$ +# +@MCOMMON@ + +srcdir = . +VPATH = . +.PATH: . + +# one up +basedir = .. +# top dir +topdir = ../.. +# this dir relative to top dir +thisdir = src/wx-console + +DEBUG=@DEBUG@ + +first_rule: all +dummy: + +# +CONSSRCS = main.c console_thread.c authenticate.c console_conf.c wxbrestorepanel.c \ + wxbmainframe.c wxbtableparser.c +CONSOBJS = main.o console_thread.o authenticate.o console_conf.o wxbrestorepanel.o \ + wxbmainframe.o wxbtableparser.o + +@if test "@DISTNAME@" = "cygwin" then \ +CONSSRCS = $(CONSSRCS) wx-console_private.rc; \ +CONSOBJS = $(CONSOBJS) wx-console_private.res; \ +fi + +# these are the objects that are changed by the .configure process +EXTRAOBJS = @OBJLIST@ + +CONS_INC=@CONS_INC@ +CONS_LIBS=@CONS_LIBS@ + +# TODO: wx-config should be generated by configure +CONS_CPPFLAGS=@CONS_CPPFLAGS@ `wx-config --cppflags` +CONS_LDFLAGS=@CONS_LDFLAGS@ `wx-config --libs` + +.SUFFIXES: .c .o +.PHONY: +.DONTCARE: + +# inference rules +.c.o: + $(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) $(CONS_CPPFLAGS) $(CONS_INC) -I$(srcdir) \ + -I$(basedir) $(DINCLUDE) $(WCFLAGS) $(CFLAGS) $< + +#------------------------------------------------------------------------- +all: Makefile wx-console + @echo "==== Make of wx-console is good ====" + @echo " " + +clean: + @$(RMF) $(OBJ) wx-console + +distclean: clean + +wx-console: $(CONSOBJ) ../lib/libbac.a + $(CXX) $(LINKOBJ) -o wx-console $(LIBS) $(WLDFLAGS) $(CONS_LDFLAGS) -lbac + +wx-console_private.res: wx-console_private.rc + windres.exe -i wx-console_private.rc -I rc -o wx-console_private.res -O coff \ No newline at end of file