source: vendor/emx/current/src/pmgdb/makefile

Last change on this file was 18, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 3.4 KB
Line 
1#
2# /emx/src/pmgdb/makefile
3#
4# Copyright (c) 1996 Eberhard Mattes
5#
6# This file is part of pmgdb.
7#
8# pmgdb is free software; you can redistribute it and/or modify it
9# under the terms of the GNU General Public License as published by
10# the Free Software Foundation; either version 2, or (at your option)
11# any later version.
12#
13# pmgdb is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with pmgdb; see the file COPYING. If not, write to the
20# the Free Software Foundation, 59 Temple Place - Suite 330,
21# Boston, MA 02111-1307, USA.
22#
23
24BIN=\emx\bin\ #
25HELP=\emx\help\ #
26CC=gcc -g -O2 -Zmt -Wall
27
28OBJ=pmgdb.o pmtty.o pmtxt.o pmframe.o source.o srcfiles.o command.o \
29 breakpoi.o display.o threads.o register.o annotati.o \
30 capture.o gdbio.o pmdebug.o pmapp.o string.o
31
32default: $(BIN)pmgdb.exe $(HELP)pmgdb.hlp
33
34$(BIN)pmgdb.exe: $(OBJ) pmgdb.def pmgdb.res
35 $(CC) -o pmgdb $(OBJ) pmgdb.def -Zsmall-conv
36 emxbind -b -s -o$(BIN)pmgdb.exe -rpmgdb.res -dpmgdb.def pmgdb
37
38pmgdb.o: pmgdb.cc string.h pmapp.h pmframe.h pmtxt.h pmtty.h \
39 breakpoi.h source.h command.h pmgdb.h
40 $(CC) -c pmgdb.cc
41
42command.o: command.cc string.h pmapp.h pmframe.h pmtxt.h pmtty.h \
43 breakpoi.h display.h threads.h register.h source.h srcfiles.h \
44 annotati.h capture.h gdbio.h command.h pmdebug.h pmgdb.h help.h
45 $(CC) -c command.cc
46
47source.o: source.cc string.h pmapp.h pmframe.h pmtxt.h pmtty.h \
48 breakpoi.h display.h source.h annotati.h capture.h \
49 gdbio.h command.h pmgdb.h help.h
50 $(CC) -c source.cc
51
52srcfiles.o: srcfiles.cc string.h pmapp.h pmframe.h pmtxt.h pmtty.h \
53 breakpoi.h srcfiles.h command.h pmgdb.h help.h
54 $(CC) -c srcfiles.cc
55
56breakpoi.o: breakpoi.cc string.h pmapp.h pmframe.h pmtxt.h pmtty.h \
57 breakpoi.h srcfiles.h annotati.h capture.h gdbio.h command.h \
58 pmgdb.h help.h
59 $(CC) -c breakpoi.cc
60
61display.o: display.cc string.h pmapp.h pmframe.h pmtxt.h pmtty.h \
62 breakpoi.h display.h annotati.h capture.h gdbio.h command.h \
63 pmgdb.h help.h
64 $(CC) -c display.cc
65
66threads.o: threads.cc string.h pmapp.h pmframe.h pmtxt.h pmtty.h \
67 breakpoi.h threads.h annotati.h gdbio.h command.h \
68 pmgdb.h help.h
69 $(CC) -c threads.cc
70
71register.o: register.cc string.h pmapp.h pmframe.h pmtxt.h pmtty.h \
72 breakpoi.h register.h pmgdb.h help.h
73 $(CC) -c register.cc
74
75annotati.o: annotati.cc annotati.h
76 $(CC) -c annotati.cc
77
78capture.o: capture.cc capture.h
79 $(CC) -c capture.cc
80
81gdbio.o: gdbio.cc string.h pmapp.h pmframe.h pmtxt.h pmtty.h \
82 breakpoi.h display.h threads.h annotati.h capture.h \
83 gdbio.h pmdebug.h command.h
84 $(CC) -c gdbio.cc
85
86pmdebug.o: pmdebug.cc pmdebug.h
87 $(CC) -c pmdebug.cc
88
89pmtty.o: pmtty.cc string.h pmapp.h pmframe.h pmtxt.h pmtty.h
90 $(CC) -c pmtty.cc
91
92pmtxt.o: pmtxt.cc string.h pmapp.h pmframe.h pmtxt.h
93 $(CC) -c pmtxt.cc
94
95pmframe.o: pmframe.cc string.h pmapp.h pmframe.h
96 $(CC) -c pmframe.cc
97
98pmapp.o: pmapp.cc string.h pmapp.h
99 $(CC) -c pmapp.cc
100
101string.o: string.cc string.h
102 $(CC) -c string.cc
103
104pmgdb.res: pmgdb.rc pmgdb.h help.h
105 rc -r pmgdb.rc
106
107$(HELP)pmgdb.hlp: pmgdb.ipp pmgdb.h
108 ipfcprep pmgdb.ipp pmgdb.ipf
109 ipfc pmgdb.ipf
110 del pmgdb.ipf
111 cp pmgdb.hlp $(HELP)pmgdb.hlp
112
113clean:
114 -rm -f *.o *.exe *.res *.hlp pmgdb.ipf core pmgdb
Note: See TracBrowser for help on using the repository browser.