diff options
author | Adam Tkac <atkac@redhat.com> | 2008-03-22 11:20:54 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2008-03-22 11:20:54 +0000 |
commit | fded0784456d6fb106d084d961ebbf5e4227c6a6 (patch) | |
tree | 54ba7d062bc775e57c5b7050d3853abcb8ce0672 /unix/boilerplate.mk | |
parent | 2b92f2f3b6f57dcc61a59d1fb2adf4ea46120705 (diff) | |
download | tigervnc-fded0784456d6fb106d084d961ebbf5e4227c6a6.tar.gz tigervnc-fded0784456d6fb106d084d961ebbf5e4227c6a6.zip |
After discussion with Constantin reverted 2433, 2434, 2436, 2437 and 2438
(build automation and i18n changes). Latest server changes (2439 and 2440)
are OK.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2442 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/boilerplate.mk')
-rw-r--r-- | unix/boilerplate.mk | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/unix/boilerplate.mk b/unix/boilerplate.mk new file mode 100644 index 00000000..38f376ed --- /dev/null +++ b/unix/boilerplate.mk @@ -0,0 +1,36 @@ + +all:: + @subdirs="$(SUBDIRS)"; for d in $$subdirs; do (cd $$d; $(MAKE) $@) || exit 1; done + +clean:: + @subdirs="$(SUBDIRS)"; for d in $$subdirs; do (cd $$d; $(MAKE) $@) || exit 1; done + +clean:: + rm -f $(program) $(library) *.o + +SHELL = @SHELL@ +top_srcdir = @top_srcdir@ +top_builddir = @top_builddir@ +@SET_MAKE@ +CC = @CC@ +CFLAGS = @CFLAGS@ $(DIR_CFLAGS) +CCLD = $(CC) +CXX = @CXX@ +CXXFLAGS = @CXXFLAGS@ +CXXLD = $(CXX) +CPPFLAGS = @CPPFLAGS@ +DEFS = @DEFS@ +ALL_CPPFLAGS = $(CPPFLAGS) $(DEFS) $(DIR_CPPFLAGS) +LIBS = @LIBS@ +LDFLAGS = @LDFLAGS@ +RANLIB = @RANLIB@ +AR = ar cq + +.SUFFIXES: +.SUFFIXES: .cxx .c .o + +.c.o: + $(CC) $(ALL_CPPFLAGS) $(CFLAGS) -o $@ -c $< + +.cxx.o: + $(CXX) $(ALL_CPPFLAGS) $(CXXFLAGS) -o $@ -c $< |