]>
Commit | Line | Data |
---|---|---|
93afd047 | 1 | ############################################################################### |
93afd047 | 2 | # # |
70df8302 MT |
3 | # IPFire.org - A linux based firewall # |
4 | # Copyright (C) 2007 Michael Tremer & Christian Schmidt # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
93afd047 | 7 | # it under the terms of the GNU General Public License as published by # |
70df8302 | 8 | # the Free Software Foundation, either version 3 of the License, or # |
93afd047 MT |
9 | # (at your option) any later version. # |
10 | # # | |
70df8302 | 11 | # This program is distributed in the hope that it will be useful, # |
93afd047 MT |
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. # | |
15 | # # | |
16 | # You should have received a copy of the GNU General Public License # | |
70df8302 | 17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # |
93afd047 MT |
18 | # # |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include Config | |
26 | ||
ee78a5ef | 27 | VER = ipfire |
93afd047 | 28 | |
ee78a5ef | 29 | THISAPP = hwdata |
93afd047 MT |
30 | ifeq "$(LFS_PASS)" "install" |
31 | TARGET = $(DIR_INFO)/$(THISAPP)-install | |
32 | else | |
33 | TARGET = $(DIR_INFO)/$(THISAPP) | |
34 | endif | |
35 | ||
93afd047 MT |
36 | ############################################################################### |
37 | # Top-level Rules | |
38 | ############################################################################### | |
39 | ||
ee78a5ef | 40 | objects = |
93afd047 MT |
41 | |
42 | install : $(TARGET) | |
43 | ||
ee78a5ef | 44 | check : |
93afd047 | 45 | |
ee78a5ef | 46 | download : |
93afd047 | 47 | |
ee78a5ef | 48 | md5 : |
93afd047 MT |
49 | |
50 | ############################################################################### | |
51 | # Installation Details | |
52 | ############################################################################### | |
53 | ||
54 | $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) | |
55 | @$(PREBUILD) | |
93afd047 MT |
56 | ifeq "$(LFS_PASS)" "install" |
57 | -mkdir -p -m 755 /install/initrd/usr/share/hwdata | |
ee78a5ef | 58 | install -m 644 $(DIR_SRC)/src/hwdata/*.ids /install/initrd/usr/share/hwdata |
93afd047 MT |
59 | else |
60 | -mkdir -p -m 755 /usr/share/hwdata | |
ee78a5ef | 61 | install -m 644 $(DIR_SRC)/src/hwdata/*.ids /usr/share/hwdata |
93afd047 | 62 | endif |
93afd047 | 63 | @$(POSTBUILD) |