1 | ################################################
|
---|
2 | #
|
---|
3 | # Makefile for class CWProgFolder
|
---|
4 | #
|
---|
5 | # (C) Chris Wohlgenuth 1999-2001
|
---|
6 | #
|
---|
7 | # E-mail: christopher.wohlgemuth@bch.siemens.de
|
---|
8 | #
|
---|
9 | # http://www.geocities.com/SiliconValley/Sector/5785/
|
---|
10 | #
|
---|
11 | #
|
---|
12 | # This class is intended for programmers and provides functions for some
|
---|
13 | # common tasks like:
|
---|
14 | # - Adding dialogs as frame controls to WPS folders
|
---|
15 | # - Showing 'About'-dialogs
|
---|
16 | # - Checking of object pointers
|
---|
17 | # - ...
|
---|
18 | #
|
---|
19 | # The DLL also includes some other functions like:
|
---|
20 | #
|
---|
21 | # - Query CD drives
|
---|
22 | # - Query audio CD tracks
|
---|
23 | # - Query audio CD track size
|
---|
24 | # - ...
|
---|
25 | #
|
---|
26 | # Use IBM VAC++ V3.00 and Gnu-make 3.74.1 to compile
|
---|
27 | #
|
---|
28 | #
|
---|
29 | #
|
---|
30 | #
|
---|
31 | ################################################
|
---|
32 |
|
---|
33 | #/*
|
---|
34 | # * This program is free software; you can redistribute it and/or modify
|
---|
35 | # * it under the terms of the GNU General Public License as published by
|
---|
36 | # * the Free Software Foundation; either version 2, or (at your option)
|
---|
37 | # * any later version.
|
---|
38 | # *
|
---|
39 | # * This program is distributed in the hope that it will be useful,
|
---|
40 | # * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
41 | # * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
42 | # * GNU General Public License for more details.
|
---|
43 | # *
|
---|
44 | # * You should have received a copy of the GNU General Public License
|
---|
45 | # * along with this program; see the file COPYING. If not, write to
|
---|
46 | # * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
---|
47 | # */
|
---|
48 |
|
---|
49 | include ../../make.inc
|
---|
50 |
|
---|
51 |
|
---|
52 | CC = icc
|
---|
53 | LIB_DIR = $d:/emx/lib
|
---|
54 | CPPFLAGS = /Ge- /Gm+ -G4 -Gl /O+ -Oc+ /C+ /Q+
|
---|
55 | INC = ../include
|
---|
56 | INC2 = ..\include
|
---|
57 | DEFS =
|
---|
58 | PROGS =
|
---|
59 | ODIR = .
|
---|
60 | CPPDIR = .
|
---|
61 | OBJECTS = progfolder.obj pframeproc.obj storewindow.obj separatorwindow.obj
|
---|
62 | DISTDIR = ../../dist
|
---|
63 | DLLDIR = ../../dist/DLL
|
---|
64 |
|
---|
65 | all: progfldr.dll
|
---|
66 |
|
---|
67 | progfldr.dll: $(OBJECTS)
|
---|
68 | cmd /C $(TOOLDIR)/create_def.cmd progfolder.def
|
---|
69 | icc -Ge- /Fe$@ /Fm$*.map $(OBJECTS) progfolder.def
|
---|
70 | rc -i $(INC2) progfolder.rc $@
|
---|
71 | mapsym $*.map
|
---|
72 | implib /NOLOGO progfldr.lib progfolder.def
|
---|
73 | mv $@ ..
|
---|
74 | mv $*.map ..
|
---|
75 | mv $*.sym ..
|
---|
76 |
|
---|
77 | progfolder.obj: progfolder.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
|
---|
78 | icc $(CPPFLAGS) -I$(INC) $<
|
---|
79 |
|
---|
80 | pframeproc.obj: pframeproc.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
|
---|
81 | icc $(CPPFLAGS) -I$(INC) $<
|
---|
82 |
|
---|
83 | storewindow.obj: storewindow.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
|
---|
84 | icc $(CPPFLAGS) -I$(INC) $<
|
---|
85 |
|
---|
86 | separatorwindow.obj: separatorwindow.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
|
---|
87 | icc $(CPPFLAGS) -I$(INC) $<
|
---|
88 |
|
---|
89 | clean:
|
---|
90 | -rm *.obj
|
---|
91 | -rm *.dll
|
---|
92 | -rm *.lib
|
---|
93 | -rm *.def
|
---|
94 |
|
---|
95 | cleaner:
|
---|
96 | -rm *.*~
|
---|
97 | -rm *.flc
|
---|
98 |
|
---|
99 | #distribution:
|
---|
100 | # -cp progfldr.dll $(DLLDIR)/progfldr.dll
|
---|
101 |
|
---|