]>
Commit | Line | Data |
---|---|---|
93afd047 | 1 | ############################################################################### |
93afd047 | 2 | # # |
70df8302 | 3 | # IPFire.org - A linux based firewall # |
63c0ec8f | 4 | # Copyright (C) 2007-2021 IPFire Team <info@ipfire.org> # |
70df8302 MT |
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 |
b7d60471 | 30 | TARGET = $(DIR_INFO)/$(THISAPP) |
93afd047 | 31 | |
78d06086 MT |
32 | # https://pci-ids.ucw.cz/v2.2/pci.ids |
33 | # http://www.linux-usb.org/usb.ids | |
34 | ||
93afd047 MT |
35 | ############################################################################### |
36 | # Top-level Rules | |
37 | ############################################################################### | |
38 | ||
ee78a5ef | 39 | objects = |
93afd047 MT |
40 | |
41 | install : $(TARGET) | |
42 | ||
ee78a5ef | 43 | check : |
93afd047 | 44 | |
ee78a5ef | 45 | download : |
93afd047 | 46 | |
ee78a5ef | 47 | md5 : |
93afd047 MT |
48 | |
49 | ############################################################################### | |
50 | # Installation Details | |
51 | ############################################################################### | |
52 | ||
53 | $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) | |
54 | @$(PREBUILD) | |
93afd047 | 55 | -mkdir -p -m 755 /usr/share/hwdata |
ee78a5ef | 56 | install -m 644 $(DIR_SRC)/src/hwdata/*.ids /usr/share/hwdata |
93afd047 | 57 | @$(POSTBUILD) |