source: trunk/src/helpers/makefile

Last change on this file was 261, checked in by pr, 21 years ago

XWP bug 583

  • Property svn:eol-style set to CRLF
  • Property svn:keywords set to Author Date Id Revision
File size: 2.9 KB
RevLine 
[9]1#
[249]2# See make\readme.txt about an introduction to the make system introduced
3# in the CVS trunk on 2003-01-28.
[9]4#
[249]5# Copyright (C) 1998-2003 Ulrich M”ller.
6# This file is part of the XWorkplace source package.
7# XWorkplace is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published
9# by the Free Software Foundation, in version 2 as it comes in the
10# "COPYING" file of the XWorkplace main distribution.
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
[9]15#
16
[249]17# ***************************************************************************
18# *
19# * 1) include generic setup definitions (compiler options etc.)
20# *
21# ***************************************************************************
[9]22
[249]23!include $(PROJECT_BASE_DIR)\config.in
24!include $(PROJECT_BASE_DIR)\make\setup.in
[9]25
[249]26# ***************************************************************************
27# *
28# * 2) include mode-specific compiler inference rules
29# *
30# ***************************************************************************
[9]31
[249]32!ifndef CC_HELPERS
33CC_HELPERS = error!
[209]34!endif
35
[249]36!ifndef NOINCLUDEDEPEND
37!ifndef OUTPUTDIR_HELPERS
38!error OUTPUTDIR_HELPERS is not defined.
[209]39!endif
40!endif
41
[249]42CC = $(CC_HELPERS)
43OUTPUTDIR = $(OUTPUTDIR_HELPERS)
[209]44
[249]45!include $(MAKE_INCLUDE_DIR)\_sub_compile.in
[245]46
[249]47# ***************************************************************************
48# *
49# * 3) list objects to be built
50# *
51# ***************************************************************************
[245]52
[249]53!include helpers_pre.in
[209]54
[249]55# ***************************************************************************
56# *
57# * 4) define specific stuff for linker include
58# *
59# ***************************************************************************
[137]60
[249]61# ***************************************************************************
62# *
63# * 5) link executable
64# *
65# ***************************************************************************
[137]66
[249]67ALLTARGET = $(OUTPUTDIR)\helpers.lib
[209]68
[249]69# ***************************************************************************
70# *
71# * 6) define main target
72# *
73# ***************************************************************************
[243]74
[249]75!include $(MAKE_INCLUDE_DIR)\targets.in
[137]76
[249]77$(OUTPUTDIR)\helpers.lib: $(OBJS)
78 - del $@
79 ilib /nol /nob $@ @<<$(TEMP)\ilib.lnk
80+$(OBJS: =&^
81);
[261]82<<
[137]83
[249]84# ***************************************************************************
85# *
86# * explicit targets
87# *
88# ***************************************************************************
[137]89
[249]90cp: $(OUTPUTDIR)\helpers_cp.lib
[209]91
[249]92$(OUTPUTDIR)\helpers_cp.lib: $(CPOBJS)
93 - del $@
94 ilib /nol /nob $@ @<<$(TEMP)\ilib.lnk
95+$(CPOBJS: =&^
96);
[261]97<<
[137]98
[209]99
Note: See TracBrowser for help on using the repository browser.