| 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) progfolder.def
|
|---|
| 68 | icc -Ge- /Fe$@ /Fm$*.map $(OBJECTS) progfolder.def
|
|---|
| 69 | rc -i $(INC2) progfolder.rc $@
|
|---|
| 70 | mapsym $*.map
|
|---|
| 71 | implib /NOLOGO progfldr.lib progfolder.def
|
|---|
| 72 | mv $@ ..
|
|---|
| 73 | mv $*.map ..
|
|---|
| 74 | mv $*.sym ..
|
|---|
| 75 |
|
|---|
| 76 | progfolder.obj: progfolder.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
|
|---|
| 77 | icc $(CPPFLAGS) -I$(INC) $<
|
|---|
| 78 |
|
|---|
| 79 | pframeproc.obj: pframeproc.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
|
|---|
| 80 | icc $(CPPFLAGS) -I$(INC) $<
|
|---|
| 81 |
|
|---|
| 82 | storewindow.obj: storewindow.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
|
|---|
| 83 | icc $(CPPFLAGS) -I$(INC) $<
|
|---|
| 84 |
|
|---|
| 85 | separatorwindow.obj: separatorwindow.cpp $(INC)/progfolder.hh $(INC)/progfolder.h
|
|---|
| 86 | icc $(CPPFLAGS) -I$(INC) $<
|
|---|
| 87 |
|
|---|
| 88 | clean:
|
|---|
| 89 | -rm *.obj
|
|---|
| 90 | -rm *.dll
|
|---|
| 91 | -rm *.lib
|
|---|
| 92 |
|
|---|
| 93 | cleaner:
|
|---|
| 94 | -rm *.*~
|
|---|
| 95 | -rm *.flc
|
|---|
| 96 |
|
|---|
| 97 | #distribution:
|
|---|
| 98 | # -cp progfldr.dll $(DLLDIR)/progfldr.dll
|
|---|
| 99 |
|
|---|